thoughtbox:decision
Skill64 starsChanged 5 months agoMITView on GitHub
Structure decisions with parallel hypothesis exploration and knowledge graph persistence. Triggers on: "decide", "choose between", "which approach", "compare options", "evaluate alternatives", "tradeoff analysis".
In this repository102 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- assumptionsSkill
- capture-learningSkill
- Codex-opus-4-6-promptingSkill
- Codex-promptSkill
- mcp-code-modeSkill
- deploy-team-hubSkill
- diagramSkill
- distillSkill
- effect-tsSkill
- escalateSkill
- evalSkill
- experimentSkill
- hddSkill
- hub-auditSkill
- hub-collabSkill
- implementSkill
- knowledgeSkill
- peer-notebook-delivery-guardSkill
- research-taskSkill
- session-reviewSkill
- source-command-hdd-decideSkill
- source-command-hdd-hddSkill
- source-command-hdd-researchSkill
- source-command-hdd-stage-adrSkill
- source-command-hdd-validateSkill
- statusSkill
- supabaseSkill
- synthesizeSkill
- tasteSkill
- teamSkill
- test-suiteSkill
- theseus-protocolSkill
- thoughtbox:debugSkill
- thoughtbox:evolutionSkill
- thoughtbox:knowledge-querySkill
- thoughtbox:onboardSkill
- thoughtbox:refactorSkill
- thoughtbox:researchSkill
- thoughtbox:session-reviewSkill
- thoughtbox-teamSkill
- ulc-loopSkill
- ulysses-protocolSkill
- workflow-brainstormingSkill
- workflow-ideationSkill
- workflow-reflectionSkill
- workflow-revisionSkill
- workflows-compoundSkill
- workflowSkill
- workflows-planSkill
- workflows-reviewSkill
- workflows-workSkill
- workflow-tournamentSkill
- assumptionsSkill
- capture-learningSkill
- claude-opus-4-6-promptingSkill
- claude-promptSkill
- mcp-code-modeSkill
- deploy-team-hubSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Use Thoughtbox branching to evaluate: $ARGUMENTS
- Very specific: line 16
Create a session titled Decision: [topic].
- Distinctive: line 49
Use external tools (Grep, Read, web search) to gather real evidence rather than reasoning from memory alone.
- Distinctive: line 94
Create a knowledge entity for the decision:
- Distinctive: line 111
Create relations to relevant existing entities (components, services, specs) that the decision affects.
- Distinctive: line 113
Add an observation with the full rationale so future sessions can recover the reasoning without replaying the branch exploration.
- Distinctive: line 118
If the decision is architectural — meaning it constrains future implementation choices, crosses module boundaries, or is expensive to …
- Very specific: line 122
Run the hdd skill to stage an ADR in .adr/staging/.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Use Thoughtbox branching to evaluate: $ARGUMENTS
Phase 1: Frame the Decision
- Create a session titled
Decision: [topic]. - Record thought 1: state the decision clearly.
- What are we choosing between?
- What constraints apply?
- What does success look like?
- Identify 2-4 distinct options (if not already provided by the user).
Phase 2: Branch and Explore
For each option, create a branch from thought 1 using branchFromThought
and branchId. Within each branch, gather evidence, assess pros/cons,
and identify risks using reasoning thoughts.
async () => {
await tb.thought({
thought: "Option A: PostgreSQL — ACID compliance, mature ecosystem, strong JSON support via jsonb",
thoughtType: "reasoning",
nextThoughtNeeded: true,
thoughtNumber: 2,
totalThoughts: 15,
branchFromThought: 1,
branchId: "postgresql"
});
}Each branch should contain at minimum:
- Evidence: concrete facts supporting or undermining the option
- Pros/cons: structured assessment against the stated constraints
- Risks: what could go wrong, how recoverable is it
- Dependencies: what else changes if we pick this option
Use external tools (Grep, Read, web search) to gather real evidence rather than reasoning from memory alone.
Phase 3: Cross-Verify
Compare branches pairwise:
- Where do options agree? (shared strengths indicate low-risk ground)
- Where do they contradict? (genuine tradeoffs to weigh)
- Which criteria does each option win on?
- Are any options strictly dominated? (worse on every axis — eliminate)
Record cross-verification as a reasoning thought on the main trunk
(no branchId), referencing the branch thoughts by number.
See thoughtbox://guidance/parallel-verification for the parallel
exploration pattern.
Phase 4: Converge
Record a decision_frame thought with confidence and options. Exactly
one option must be selected: true.
async () => {
await tb.thought({
thought: "PostgreSQL wins: ACID required for financial data, jsonb handles semi-structured needs, team has existing expertise",
thoughtType: "decision_frame",
confidence: "high",
options: [
{ label: "PostgreSQL", selected: true, reason: "ACID + jsonb + team expertise" },
{ label: "MongoDB", selected: false, reason: "Better schema flexibility but ACID trade-off unacceptable" },
{ label: "DynamoDB", selected: false, reason: "Vendor lock-in, team unfamiliar" }
],
nextThoughtNeeded: false,
thoughtNumber: 15,
totalThoughts: 15
});
}State the rationale in one clear sentence. If confidence is low or
medium, explain what additional information would raise it.
Phase 5: Persist
- Create a knowledge entity for the decision:
async () => { await tb.knowledgeGraph({ operation: "create_entities", entities: [{ name: "Decision: [topic]", entityType: "Insight", observations: [ "Chose [option] because [rationale]", "Rejected [option] because [reason]", "Key constraint: [constraint that drove the decision]" ] }] }); } - Create relations to relevant existing entities (components, services, specs) that the decision affects.
- Add an observation with the full rationale so future sessions can recover the reasoning without replaying the branch exploration.
When to Bridge to an ADR
If the decision is architectural — meaning it constrains future implementation choices, crosses module boundaries, or is expensive to reverse — bridge to a formal Architecture Decision Record:
- Run the
hddskill to stage an ADR in.adr/staging/. - Reference the Thoughtbox session ID in the ADR's context section.
- The decision_frame thought becomes the ADR's decision; the branch exploration becomes the ADR's considered alternatives.
Non-architectural decisions (library choice within a module, naming conventions, test strategy for a single feature) stay in the knowledge graph without an ADR.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

