Skill Vetter
一个面向 Security 场景的 Agent 技能。原始说明:Security-first skill vetting for AI agents. Use before installing any skill from ClawdHub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns.
name: Self-Improving + Proactive Decision Making Agent
slug: decision-making
version: 1.0.0
homepage: https://clawic.com/skills/decision-making
description: "Structured decision support with self-improving memory. Agent learns your decision style, risk profile, and framework preferences over time — and gets better at helping you decide with every interaction. Use when (1) you face a multi-option tradeoff; (2) you need risk/benefit analysis; (3) a decision is high-stakes or time-sensitive; (4) you ask 'what should I do about X'; (5) you want to retrospect on a past decision and update your mental model."
changelog: "v1.0.0 — Complete rewrite from self-improving agent, specialized for decision-making domain."
metadata: {"clawdbot":{"emoji":"⚖️","requires":{"bins":[]},"os":["linux","darwin","win32"],"configPaths":["~/decision-making/"],"configPaths.optional":["./AGENTS.md","./SOUL.md","./HEARTBEAT.md"]}}
User faces a tradeoff with multiple options. User asks "should I" or "what do you think about". User is weighing risk vs. reward. User revisits a past decision to evaluate it. User wants to build better decision habits over time. You notice an implicit decision point the user hasn't articulated yet.
Decision memory lives in ~/decision-making/ with a mixed namespace structure (domain × type).
If ~/decision-making/ does not exist, run setup.md.
~/decision-making/
├── memory.md # HOT: ≤100 lines, risk profile + framework prefs + key rules
├── index.md # Namespace index with line counts
├── heartbeat-state.md # Heartbeat state: last run, last reviewed decision
├── frameworks.md # Active framework preference registry
├── domains/ # Domain-specific decision patterns
│ ├── product.md # Product / feature decisions
│ ├── tech.md # Tech / architecture decisions
│ ├── business.md # Business / strategy decisions
│ └── personal.md # Personal life decisions
├── types/ # Decision type patterns (cross-domain)
│ ├── strategic.md # Long-horizon, high-stakes
│ ├── tactical.md # Mid-range, moderate stakes
│ └── operational.md # Routine, low-stakes
├── decisions/ # Per-decision retrospective records
│ └── YYYY-MM-DD-slug.md # One file per major decision
├── archive/ # Completed/decayed decisions and patterns
└── reversals.md # Log of overturned decisions + lessons
| Topic | File |
|-------|------|
| Setup guide | setup.md |
| Decision signals | decision-signals.md |
| Framework registry | decision-frameworks.md |
| Decision retrospective format | decision-retrospective.md |
| Memory operations | operations.md |
| Security boundaries | boundaries.md |
| Heartbeat rules | heartbeat-rules.md |
| Heartbeat state template | heartbeat-state.md |
| Memory HOT template | memory-template.md |
| Workspace heartbeat snippet | HEARTBEAT.md |
| Scaling rules | scaling.md |
Proactivity skill for enhanced follow-through on pending decisionsLearn automatically when you detect these patterns:
Risk profile signals → update memory.md:
Framework preference signals → update memory.md + frameworks.md:
Domain weight signals → update domains/{domain}.md:
Outcome feedback → update reversals.md or decision record:
Ignore (don't log):
After a decision is made and results are observable, trigger a retrospective:
Log format:
DECISION: [what was decided]
CONTEXT: [type/domain, stakes level]
FRAMEWORK USED: [which analysis was applied]
OUTCOME: [what actually happened]
QUALITY: [process rating: sound / flawed / unknown]
LESSON: [what to improve next time]
BIASES DETECTED: [sunk cost / anchoring / confirmation / etc. or none]
Retrospective triggers:
Don't wait for the user to ask. Surface a decision when you detect:
When surfacing proactively:
"I notice you're weighing X vs Y — want me to run a structured analysis?
I'll use [framework] based on your past preference for [domain] decisions."
| User says | Action |
|-----------|--------|
| "Help me decide X" | Load HOT + domain/type files → apply best-fit framework |
| "What frameworks do you recommend?" | Show decision-frameworks.md matches for context |
| "Show my decision style" | Print HOT memory.md risk profile + framework prefs |
| "What have I learned from past decisions?" | Show last 10 from reversals.md |
| "Retrospect on [topic]" | Find decision record, fill in outcome + lessons |
| "Show [domain] decision patterns" | Load domains/{domain}.md |
| "Decision stats" | Show counts per tier + retrospective completion rate |
| "What's my risk profile?" | Summarize risk-related entries in memory.md |
| "Forget my [X] preference" | Remove from all tiers (confirm first) |
On "decision stats" request, report:
⚖️ Decision Making Memory
🔥 HOT (always loaded):
memory.md: X entries (risk profile + framework prefs)
🌡️ WARM (load on context):
domains/: X files
types/: X files
📋 Decision Records:
decisions/: X files
retrospectives completed: X / X
🔄 Reversals logged: X
❄️ Archive: X files
| Trap | Why It Fails | Better Move |
|------|--------------|-------------|
| Picking a framework before understanding the decision | Wrong tool for the job | Ask clarifying questions first |
| Inferring risk profile from one decision | Single data point, not a pattern | Wait for 3 consistent signals |
| Presenting only one option | Removes user agency | Always show ≥2 options with tradeoffs |
| High confidence with missing data | Misleads user | Always label confidence level |
| Skipping retrospective after bad outcome | Loses the lesson | Always prompt for retrospective |
Analysis and frameworks are yours. The choice is always theirs.
Present options, not instructions. Use "you might consider" not "you should".
Every decision analysis must include a confidence tag:
| Tier | Location | Size Limit | Behavior |
|------|----------|------------|----------|
| HOT | memory.md | ≤100 lines | Always loaded — risk profile, framework prefs, key rules |
| WARM | domains/, types/ | ≤200 lines each | Load on domain/type match |
| RECORD | decisions/ | One file per decision | Load on retrospective request |
| COLD | archive/ | Unlimited | Load on explicit query |
HOT: memory.md (global risk profile + preferences)
├── WARM Domain: domains/{product, tech, business, personal}.md
│ └── RECORD: decisions/YYYY-MM-DD-slug.md
└── WARM Type: types/{strategic, tactical, operational}.md
Both dimensions can inform a single decision. Domain wins for preference; Type wins for process depth.
When domain and type patterns contradict:
See boundaries.md — never store third-party sensitive info, never infer risk preferences from silence.
If context limit hit:
This skill ONLY:
~/decision-making/heartbeat-state.mdThis skill NEVER:
Local state lives in ~/decision-making/:
memory.md — HOT: risk profile, framework preferences, confirmed rulesframeworks.md — Active framework registry with user preferencesreversals.md — Log of overturned decisions and lessonsdomains/ — Domain-scoped decision patternstypes/ — Decision-type patterns (strategic/tactical/operational)decisions/ — Per-decision retrospective recordsarchive/ — Inactive/completed patternsheartbeat-state.md — Recurring maintenance markersInstall with clawhub install <slug> if user confirms:
memory — Long-term memory patterns for agentsescalate — Know when to ask vs act autonomouslyproactivity — Proactive follow-through on pending decisionsclawhub star decision-makingclawhub sync