> ⚠️ 免责声明:本工具仅用于个人或职业决策的记录、回顾与反思,不构成心理咨询、医疗建议、法律意见、投资建议或其他专业判断。涉及情绪危机、自伤/伤人风险、医疗、法律或高风险投资时,应立即寻求相应专业人士或当地紧急支持资源。
A structured system for capturing, organizing, and learning from decisions.
/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
/decision review
/decision review --last 5
/decision review --tag career --status pending
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.
⚠️ Stop the normal decision-journal flow immediately if the user expresses any of the following:
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.
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 |
/decision Record a new decision interactively or with inline details.
Options:
--tag : Categorize (career, finance, health, relationships, etc.)--importance <1-5>: Significance level--reversible : Whether decision can be undone--review : When to evaluate outcomes/decision listShow recent decisions with status.
Filters:
--tag : Filter by category--status : Filter by status--last : Show last N decisions--since : From date onward/decision review Review and update a specific decision with outcomes.
/decision analyzeAnalyze decision patterns and quality over time.
Reports:
--timeframe : Analysis period (30d, 90d, 1y, all)--tag : Analyze specific category--type : Report type/decision exportExport decision history to various formats.
Formats:
--format markdown: Readable document--format json: Structured data--format csv: Spreadsheet compatibleDecisions 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
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
Set review dates for important decisions:
/decision review --due
# Shows all decisions where review date has passed
# Update with actual outcomes and lessons
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
When reviewing decisions, assess:
Link review dates to calendar reminders:
/decision "Should I invest in X?"
--review 2025-12-01
--calendar-reminder "Review investment decision"
Reference related notes or documents:
/decision "Office relocation decision"
--reference [[meeting-notes/2025-03-01]]
--reference [[budget-analysis-q1]]
See templates/ for decision frameworks:
For detailed template usage, see references/templates.md.
The skill can generate reports on:
For analysis methodology, see references/analysis.md.
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 <id> --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
共 1 个版本