Decide
Self-learn your decision patterns to safely build its own decision-making over time.
Iván
@ivangdavila
What This Skill Does
A decision-making skill for AI agents that learns from past choices to safely handle consequential decisions. It stores decision rules, components, and outcomes in local files, and defaults to asking the human when context doesn't match a confirmed pattern.
Replaces ad-hoc, unrecorded agent decisions by enforcing a structured workflow of framing, component gathering, context matching, and human confirmation before autonomous choices.
When to Use It
- Choose a framework for a new project with specific client and budget constraints
- Decide whether to migrate an existing system to a different vendor or architecture
- Select a publish path or deployment strategy for a high-stakes release
- Determine which tool or library to use when multiple options have long-term maintenance costs
- Evaluate whether to reuse a past decision when project constraints or risks have changed
- Log a consequential choice with full rationale and outcome for future reference
Install
$ openclaw skills install @ivangdavila/decideArchitecture
Decision state lives in ~/decide/. If that folder is missing or empty, run setup.md.
~/decide/
├── memory.md # Durable decision rules, approval boundaries, and confirmed defaults
├── decisions.md # Major decisions with question, components, chosen option, and outcome
└── domains/ # Domain-specific decision components, overrides, and exceptions
When to Use
Use when the agent faces a consequential choice that can change architecture, workflow, cost, publish behavior, vendor selection, or long-term project direction.
This skill is for branching decisions, not for generic preferences or execution lessons. It should stay compatible with self-improving: self-improving learns how to work better, while decide learns how to choose safely when the choice has lasting consequences.
Quick Reference
| Topic | File |
|---|---|
| Setup guide | setup.md |
| Memory template | memory-template.md |
| Migration guide | migration.md |
| Decision components | components.md |
| Confidence calibration | confidence.md |
| Exceptions and always-ask cases | exceptions.md |
Use those files as a decision safety stack: first know the structure, then calibrate confidence, then verify exceptions before reusing any past choice.
Decision Workflow
- Frame the decision as a real question, not as a vague feeling.
- Gather the components that materially affect the answer.
- Read
~/decide/memory.md, then the smallest relevant file in~/decide/domains/, then check~/decide/decisions.mdfor a materially similar record. - Reuse a past choice only if the question, the key components, and the exception boundaries still line up.
- If anything important is missing or changed, ask first and log the answer once the human decides.
Core Rules
1. Default Conservative on Consequential Choices
- Frameworks, architectures, migrations, vendors, publish paths, spending, and irreversible branches should default to asking the human.
- Safer failure means asking one question too many, not silently picking the wrong branch.
- A recommendation is good; an unvalidated autonomous choice is not.
2. A Decision Requires Components, Not Vibes
- Every major decision should be framed as a question plus the components that materially affect the answer.
- Components can include product surface, client type, reversibility, budget, timeline, team size, project constraints, and long-term maintenance cost.
- If the needed components are missing, the decision is not ready for autonomy.
3. Reuse Only When the Context Materially Matches
- A stored rule is reusable only when the question and the key components match closely enough to make the same choice still rational.
- Matching one signal is not enough. "Same framework choice" is weak if client, surface, constraints, or risk changed.
- If there is any serious mismatch, ask first.
- Exceptions beat defaults. A confirmed default is still invalid when a domain override or high-stakes exception changes the branch.
4. Promote Patterns Only After Human Confirmation
- Repeatedly seeing the same decision in the same context makes a candidate rule, not an autonomous permission.
- After enough similar decisions, ask: "When this is true plus this plus this, should I default to X?"
- Only promote the pattern after explicit confirmation.
5. Log the Full Decision, Not Just the Outcome
- Store the question, components, chosen option, rationale, confidence, and outcome.
- A naked note like "use React Native" is too weak; it must say when and why.
- Good logs prevent false autonomy later.
6. Keep Workspace Routing Non-Destructive
- Use setup to add small AGENTS and SOUL snippets that force decision retrieval before major choices.
- Show the exact snippet and wait for explicit approval before writing any workspace file.
- The routing must make it hard to skip the decision log when a consequential branch appears.
7. Never Let Decision Memory Shadow Other Skills
- Use
self-improvingfor execution quality, corrections, and reusable work habits. - Use
escalatefor ask-vs-act boundaries across actions broadly. - Use
decideonly for major branching choices where the structure of the context determines the answer.
Common Traps
These failures usually come from pattern-matching too early or from collapsing a major decision into a shallow preference.
| Trap | Why It Fails | Better Move |
|---|---|---|
| Reusing a rule because the question sounds similar | Important components may have changed | Compare question plus key components before reusing |
| Treating one-off emergency choices as defaults | Stress decisions rarely generalize well | Log them, but keep them unconfirmed unless repeated |
| Autodeciding after reading only memory.md | Exceptions and domain overrides get missed | List domains, read the smallest relevant override, then check decisions |
| Turning execution preferences into decision rules | Blurs compatibility with self-improving | Keep major branching choices in decide, workflow lessons elsewhere |
| Applying a framework or vendor rule across clients blindly | Client and surface often change the optimal answer | Ask again when client, platform, scope, or constraints differ |
Data Storage
Local state lives in ~/decide/:
- durable decision rules, approval boundaries, and confirmed defaults in
~/decide/memory.md - major decision records in
~/decide/decisions.md - domain-specific component models, overrides, and exceptions in
~/decide/domains/
The packaged guides components.md, confidence.md, and exceptions.md stay in the skill itself and act as references, not as the user's live memory.
Security & Privacy
- This skill stores local decision notes in
~/decide/. - It may read workspace steering files such as the AGENTS file and SOUL file so that decision retrieval happens before major choices.
- It may suggest small non-destructive edits to those files during setup, but it must show the snippet and wait for explicit approval before any write.
- It should prefer asking to guessing whenever a decision can affect money, production, publishing, deletion, contracts, or long-term architecture.
- It never modifies its own
SKILL.md.
Related Skills
Install with clawhub install <slug> if user confirms:
escalate- Control broad ask-vs-act boundaries around risky actionsself-improving- Learn execution lessons without conflating them with decision rulesmemory- Keep broader long-term context and user continuityproactivity- Push the next step while respecting confirmed decision defaults
Feedback
- If useful:
clawhub star decide - Stay updated:
clawhub sync
Top skills in this category
Self Evolving Skill
@whtooMeta-cognitive self-learning system - Automated skill evolution based on predictive coding and value-driven mechanisms.
self-improving agent
@pskoettCaptures and maintains learnings, errors, and corrections. Use when a command fails, the user corrects an assumption, a capability is missing, knowledge is outdated, or a better approach is found. Review relevant saved guidance before major tasks, reuse, and promotion; revalidate it according to wha
Skill Vetter
@spclaudehomeSecurity-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.
Self-Improving + Proactive Agent
@ivangdavilaSelf-reflection + Self-criticism + Self-learning + Self-organizing memory. Agent evaluates its own work, catches mistakes, and improves permanently. Use when...
Humanizer
@biostartechnologyRemove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.