← Back to Skills Marketplace
harrylabsj

Decision Journal

by haidong · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ Security Clean
320
Downloads
0
Stars
2
Active Installs
3
Versions
Install in OpenClaw
/install decision-journal
Description
Record, track, and analyze personal or professional decisions with structured reflection. Use when the user wants to (1) document a decision they're making o...
README (SKILL.md)

Decision Journal

⚠️ 免责声明:本工具仅用于个人或职业决策的记录、回顾与反思,不构成心理咨询、医疗建议、法律意见、投资建议或其他专业判断。涉及情绪危机、自伤/伤人风险、医疗、法律或高风险投资时,应立即寻求相应专业人士或当地紧急支持资源。

A structured system for capturing, organizing, and learning from decisions.

Quick Start

Record a New Decision

/decision "Should I take the new job offer?"
- Context: Current role stable but stagnant, new offer 30% higher pay but more travel
- Options: (1) Stay, negotiate raise (2) Accept new role (3) Decline and keep looking
- Decision: Accept new role
- Reasoning: Growth opportunity outweighs lifestyle impact; can reassess in 6 months
- Expected outcome: Higher salary, new skills, possible travel fatigue
- Review date: 2025-09-15

Review Past Decisions

/decision review
/decision review --last 5
/decision review --tag career --status pending

Capability Boundaries

Tier 1: Currently Supported (Core)

  • record and store structured decisions with context, options, reasoning
  • review past decisions and capture outcomes/lessons
  • list and filter decisions by tag, status, date
  • basic statistics and pattern analysis
  • export decision data for personal review (JSON/Markdown/CSV)
  • review reminders and due date tracking

Tier 2: Ready with Light Engineering

  • calendar integration for review reminders
  • advanced pattern detection across decisions
  • decision quality scoring algorithms
  • backup/sync across devices

Tier 3: Explicitly Not Supported

  • mental health counseling, diagnosis, or crisis support
  • telling the user which life choice is objectively "best"
  • medical, legal, investment, or other licensed professional advice
  • handling self-harm, suicide, violence risk, or acute mental health emergencies inside the normal workflow

If the user is actually asking for emotional stabilization, crisis support, or psychological guidance, do not force this skill. Route to a more appropriate support flow instead.

High-Risk Escalation

⚠️ Stop the normal decision-journal flow immediately if the user expresses any of the following:

  • self-harm or suicide thoughts
  • intent to harm other people
  • overwhelming despair or inability to stay safe
  • obvious acute mental-health crisis that makes structured reflection inappropriate

Use a direct response like:

⚠️ 重要提示:现在不适合继续做普通决策记录。若你有伤害自己或他人的想法,或已难以保证自身安全,请立即联系身边可信任的人,并尽快联系当地急救、医院急诊、心理危机干预热线或持证专业人士。

Then keep the tone calm, direct, and serious. Do not continue normal prompts such as options, reasoning, or review dates until safety is addressed.

Core Concepts

Each decision entry captures:

Field Purpose
Situation What prompted the decision
Options Alternatives considered
Decision What was chosen
Reasoning Why this choice was made
Expected Anticipated outcomes
Review Date When to evaluate results
Outcome Actual results (added later)
Lessons Insights gained

Commands

/decision \x3Ctitle>

Record a new decision interactively or with inline details.

Options:

  • --tag \x3Ctag>: Categorize (career, finance, health, relationships, etc.)
  • --importance \x3C1-5>: Significance level
  • --reversible \x3Cyes/no>: Whether decision can be undone
  • --review \x3Cdate>: When to evaluate outcomes

/decision list

Show recent decisions with status.

Filters:

  • --tag \x3Ctag>: Filter by category
  • --status \x3Cpending/completed/review>: Filter by status
  • --last \x3Cn>: Show last N decisions
  • --since \x3Cdate>: From date onward

/decision review \x3Cid>

Review and update a specific decision with outcomes.

/decision analyze

Analyze decision patterns and quality over time.

Reports:

  • --timeframe \x3Cperiod>: Analysis period (30d, 90d, 1y, all)
  • --tag \x3Ctag>: Analyze specific category
  • --type \x3Caccuracy/speed/patterns>: Report type

/decision export

Export decision history to various formats.

Formats:

  • --format markdown: Readable document
  • --format json: Structured data
  • --format csv: Spreadsheet compatible

Storage

Decisions are stored in:

~/.openclaw/decisions/
├── decisions.jsonl     # Append-only decision log
├── reviews.jsonl       # Review records
├── patterns.json       # Extracted patterns
├── index.json          # Searchable index
└── templates/
    ├── default.md      # Standard decision template
    ├── quick.md        # Minimal template
    └── strategic.md    # Complex decision template

Workflow Patterns

Pattern 1: Capture in the Moment

When facing a decision, quickly log the key elements before deciding:

/decision "Which vendor to choose for project X?"
- Vendor A: Cheaper, less proven
- Vendor B: 20% more expensive, strong track record
- Vendor C: New entrant, innovative approach

[After deliberation]
Decision: Vendor B
Reason: Risk mitigation worth the premium for critical project
Review: 2025-06-01

Pattern 2: Scheduled Review

Set review dates for important decisions:

/decision review --due
# Shows all decisions where review date has passed
# Update with actual outcomes and lessons

Pattern 3: Decision Pre-mortem

Before committing, imagine the decision failed:

/decision "Pre-mortem: Project launch failed"
- What went wrong? Market timing off
- What signals did we miss? Competitor moved faster
- What would we do differently? Earlier soft launch

Now: Adjust plan based on these insights

Decision Quality Framework

When reviewing decisions, assess:

  1. Process Quality

    • Did I consider enough options?
    • Did I gather relevant information?
    • Did I account for biases?
  2. Outcome Quality

    • Did the expected outcomes materialize?
    • Were there unexpected consequences?
    • Am I satisfied with the result?
  3. Learning Value

    • What would I do differently?
    • What patterns emerge across decisions?
    • How has my decision-making improved?

Integration

With Calendar

Link review dates to calendar reminders:

/decision "Should I invest in X?"
--review 2025-12-01
--calendar-reminder "Review investment decision"

With Notes

Reference related notes or documents:

/decision "Office relocation decision"
--reference [[meeting-notes/2025-03-01]]
--reference [[budget-analysis-q1]]

Templates

See templates/ for decision frameworks:

  • WRAP (Widen options, Reality-test, Attain distance, Prepare)
  • 10-10-10 (How will I feel in 10 min/10 months/10 years?)
  • Pros/Cons/Consequences (Weighted analysis)
  • Decision Matrix (Criteria-based scoring)

For detailed template usage, see references/templates.md.

Analysis & Insights

The skill can generate reports on:

  • Decision velocity: How quickly you decide
  • Decision types: What you decide most often
  • Outcome accuracy: Expected vs. actual results
  • Bias patterns: Overconfidence, sunk cost, etc.
  • Improvement trends: Decision quality over time

For analysis methodology, see references/analysis.md.

CLI Usage

The skill provides a CLI tool decision:

# Add a new decision
decision add "Title" --situation "..." --options "A|B|C" --decision "A" --review 2025-06-01

# List decisions
decision list --last 10 --tag career

# Review a decision
decision review \x3Cid> --outcome "..." --lessons "..." --satisfaction 4

# Analyze patterns
decision analyze --timeframe 90d

# Export data
decision export --format markdown --output decisions.md

# Check for pending reviews
decision remind
Usage Guidance
This skill appears to be what it says: a local decision journal implemented in Node.js that saves entries under ~/.openclaw/decisions and performs local analysis. It does not request API keys, access unrelated system files, or contact external services. Before installing or running: (1) be aware all decision text and outcomes are stored unencrypted in your home directory—do not record secrets or highly sensitive information unless you accept local plaintext storage; (2) verify you are comfortable running Node.js code from this source (it has no external dependencies and is readable); (3) if you need stronger privacy, consider encrypting the storage directory or running the tool in an isolated environment; (4) the CLI expects Node >= 18 if you plan to use the command-line. No other red flags were found.
Capability Analysis
Type: OpenClaw Skill Name: decision-journal Version: 1.0.2 The decision-journal skill is a well-structured tool designed for recording, tracking, and analyzing personal or professional decisions. It stores data locally in the user's home directory (~/.openclaw/decisions/) using standard JSONL and JSON formats. The codebase (src/storage.js, scripts/cli.js) contains no network activity, credential theft, or unauthorized execution patterns. Furthermore, the SKILL.md instructions include responsible safety escalations for mental health crises and lack any malicious prompt-injection attempts to subvert the agent's behavior.
Capability Assessment
Purpose & Capability
Name/description (decision journaling, review, analysis) matches the included files and behavior. The CLI, models, storage, reminder, and analysis code implement the described features and store data locally. No unrelated services, binaries, or credentials are requested.
Instruction Scope
SKILL.md describes local recording, review, analysis, and reminders; the code follows these instructions and only accesses local files under the documented storage path (~/.openclaw/decisions). The skill also contains appropriate high-risk escalation text for mental-health crises. It does not read unrelated system files or environment variables.
Install Mechanism
There is no formal install spec in the registry entry (instruction-only), but the package includes runnable Node.js code (scripts/cli.js and src/*). No network downloads, repositories, or external installers are used. Users should note the code expects Node >= 18 and provides a CLI; installing/running it will write files to disk.
Credentials
The skill requests no environment variables or credentials. It uses the OS home directory (os.homedir()) for storage, which is proportionate to a local journaling tool.
Persistence & Privilege
The skill writes and rewrites files under ~/.openclaw/decisions (decisions.jsonl, reviews.jsonl, patterns.json, index.json). This is expected for a journaling tool, but note that data is stored locally in plaintext JSON/JSONL (append-only logs and index). The skill is not always-enabled and does not modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install decision-journal
  3. After installation, invoke the skill by name or use /decision-journal
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
Refined safety boundaries, capability layering, and CLI structure updates.
v1.0.1
- Updated trigger phrases in the skill description for clarity and removed non-English triggers. - No changes to feature set or user workflow; documentation only.
v1.0.0
Initial release: decision logging, review reminders, and pattern analysis.
Metadata
Slug decision-journal
Version 1.0.2
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 3
Frequently Asked Questions

What is Decision Journal?

Record, track, and analyze personal or professional decisions with structured reflection. Use when the user wants to (1) document a decision they're making o... It is an AI Agent Skill for Claude Code / OpenClaw, with 320 downloads so far.

How do I install Decision Journal?

Run "/install decision-journal" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Decision Journal free?

Yes, Decision Journal is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Decision Journal support?

Decision Journal is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Decision Journal?

It is built and maintained by haidong (@harrylabsj); the current version is v1.0.2.

💬 Comments