Agent Skillsnearai/ironclaw › decision-capture

decision-capture

GitHub

自动识别对话中的关键决策,记录其背景、备选方案及理由,并持久化存储。支持关联后续承诺与结果追踪,将口头决策转化为可检索的结构化知识,确保决策可追溯和复盘。

skills/decision-capture/SKILL.md nearai/ironclaw

触发场景

用户明确表达选择或决定(如'我们决定...') 用户要求记录或归档某个决策 对话中出现明确的取舍行为

安装

npx skills add nearai/ironclaw --skill decision-capture -g -y
更多选项

不安装直接使用

npx skills use nearai/ironclaw@decision-capture

指定 Agent (Claude Code)

npx skills add nearai/ironclaw --skill decision-capture -a claude-code -g -y

安装 repo 全部 skill

npx skills add nearai/ironclaw --all -g -y

预览 repo 内 skill

npx skills add nearai/ironclaw --list

SKILL.md

Frontmatter
{
    "name": "decision-capture",
    "version": "0.2.0",
    "activation": {
        "tags": [
            "commitments",
            "decision-making"
        ],
        "keywords": [
            "decided",
            "decision",
            "chose",
            "going with",
            "settled on",
            "picked",
            "landed on",
            "went with",
            "finalized",
            "agreed on",
            "opted for",
            "concluded",
            "confirmed",
            "final answer",
            "made the call",
            "ruling",
            "verdict",
            "record decision"
        ],
        "patterns": [
            "(?i)(we|I|team) (decided|chose|went with|picked|settled on|landed on|opted for)",
            "(?i)let's go with",
            "(?i)the (decision|call|verdict) is",
            "(?i)record (this|that) decision",
            "(?i)(instead of|replaced|switched to|migrated to)"
        ],
        "exclude_keywords": [
            "undecided",
            "considering",
            "thinking about",
            "tentative",
            "maybe"
        ],
        "max_context_tokens": 1200
    },
    "description": "Detect decisions in conversation and record them with rationale, alternatives, and outcome tracking."
}

Decision Capture

When a decision is detected in conversation, record it in the commitments workspace. Decisions are durable knowledge — they explain why a path was chosen and enable outcome tracking over time.

Detection

Look for explicit decision language:

  • "We decided to..." / "I'm going with..." / "Let's do X"
  • "The call is..." / "We settled on..."
  • "I chose X over Y because..."

Do NOT capture:

  • Brainstorming or hypotheticals: "maybe we should...", "what if we..."
  • Preferences without commitment: "I think X is better"
  • Questions: "should we go with X?"

When uncertain, ask: "Was that a decision, or still thinking it through?"

Recording

This skill is only successful if the decision is actually persisted. Do not just summarize or acknowledge the decision.

Execution order is mandatory:

  1. Call memory_write for projects/commitments/decisions/<date>-<slug>.md
  2. If applicable, call memory_write for a follow-on commitment in projects/commitments/open/
  3. If applicable, call memory_write for context/intel/<slug>.md
  4. Only then confirm to the user what was recorded

Never say a decision was "captured", "recorded", or "saved" unless the corresponding memory_write call succeeded.

Write to projects/commitments/decisions/<date>-<slug>.md via memory_write:

---
type: decision
decided_at: <today YYYY-MM-DD>
context: <topic-slug>
participants: [<who was involved>]
confidence: <high if explicit, medium if inferred>
reversible: <true|false>
outcome: null
outcome_positive: null
tags: [<relevant tags>]
---
# <What was decided>

## Context
<Why this decision was needed — 1-2 sentences.>

## Options considered
1. **<Option A>** — <brief pros/cons>
2. **<Option B>** — <brief pros/cons>

## Rationale
<Why this option was chosen.>

## Outcome
<To be filled in later when outcome is known.>

Follow-through

  1. If the decision creates an obligation (e.g., "we decided to migrate by Q2"), also create a commitment in projects/commitments/open/ following the commitment schema.
  2. Write an intelligence MemoryDoc to context/intel/<slug>.md with a brief summary: "Decided X on . Rationale: ." This makes the decision searchable as durable knowledge.

For explicit requests like "record this decision", "log this decision", or "note the decision", default to doing all required writes immediately rather than asking a follow-up question unless the content is genuinely ambiguous.

Outcome tracking

The triage mission checks for decisions older than 7 days without an outcome. It prompts: "You decided <X> <N> days ago. How did it turn out?" When the user provides an outcome, update the decision file's outcome and outcome_positive fields.

Confirmation

After the write(s) succeed, briefly confirm:

  • where the decision was written
  • whether any follow-on commitment was created
  • one-line summary of the rationale

版本历史

  • 5380a32 当前 2026-08-20 07:09

同 Skill 集合

.claude/skills/architecture-video/SKILL.md
.claude/skills/ironclaw-reborn-architecture-review/SKILL.md
.claude/skills/ironclaw-reborn-orientation/SKILL.md
.claude/skills/ironclaw-reborn-skill-maintainer/SKILL.md
.claude/skills/ironclaw-reborn-testing/SKILL.md
.claude/skills/mintlify-docs/SKILL.md
.claude/skills/railway-test/SKILL.md
.claude/skills/reborn-extension-surfaces/SKILL.md
.claude/skills/reborn-feature/SKILL.md
.claude/skills/thermo-nuclear-code-quality-review/SKILL.md
docs/internal/archived-skills/ceo-setup/SKILL.md
docs/internal/archived-skills/code-review/SKILL.md
docs/internal/archived-skills/commitment-setup/SKILL.md
docs/internal/archived-skills/content-creator-setup/SKILL.md
docs/internal/archived-skills/developer-setup/SKILL.md
docs/internal/archived-skills/github-workflow/SKILL.md
docs/internal/archived-skills/github/SKILL.md
docs/internal/archived-skills/linear/SKILL.md
docs/internal/archived-skills/llm-council/SKILL.md
docs/internal/archived-skills/local-test/SKILL.md
docs/internal/archived-skills/new-project/SKILL.md
docs/internal/archived-skills/parallel-pr-review/SKILL.md
docs/internal/archived-skills/plan-mode/SKILL.md
docs/internal/archived-skills/portfolio/SKILL.md
docs/internal/archived-skills/project-setup/SKILL.md
docs/internal/archived-skills/trader-setup/SKILL.md
docs/internal/archived-skills/web-ui-test/SKILL.md
skills/coding/SKILL.md
skills/commitment-digest/SKILL.md
skills/commitment-triage/SKILL.md
skills/delegation-tracker/SKILL.md
skills/delegation/SKILL.md
skills/idea-parking/SKILL.md
skills/product-prioritization/SKILL.md
skills/qa-review/SKILL.md
skills/review-checklist/SKILL.md
skills/review-readiness/SKILL.md
skills/routine-advisor/SKILL.md
skills/security-review/SKILL.md
skills/tech-debt-tracker/SKILL.md
skills/commit/SKILL.md

元信息

文件数
0
版本
0280dd1
Hash
089ad425
收录时间
2026-08-20 07:09

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-09 18:42
浙ICP备14020137号-1 $访客地图$