Agent skill

Autodecision

by harshilmathur in harshilmathur/autodecision

Auto-Decision Engine: iterative decision simulation using autoresearch principles and a persona council.

MITAuto-check passedResearch & Science

Install Autodecision

skills CLI
$ npx skills add harshilmathur/autodecision --skill autodecision -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install harshilmathur/autodecision autodecision --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/harshilmathur/autodecision.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/autodecision .claude/skills/autodecision && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
autodecision
GitHub stars
102
Token cost
~2.8k tokens
SKILL.md length
1,209 words
Files
36 (incl. scripts, references)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Auto-Decision Engine: iterative decision simulation using autoresearch principles and a persona council.

  • Works in 12 steps: NEVER simulate in a vacuum. Phase 1… → Phase 1.5 (ELICIT) runs after GROUND,… → Each persona runs as a SEPARATE Agent… → …
  • Tasks that involve Autonomous loops
  • SKILL.md covers How this skill is organized, Command Routing, Non-Negotiable Rules and References
  • Tasks that involve Peer review

What it does

Autodecision is an agent skill from harshilmathur/autodecision. Auto-Decision Engine: iterative decision simulation using autoresearch principles and a persona council. Decomposes decisions, generates competing hypotheses, simulates first/second-order effects with probabilities, critiques via anonymized peer review, and iterates until insights stabilize mechanically. The output is a possibility map — hypotheses, effects, council disagreements, adversarial scenarios, assumptions — with a recommendation synthesized at the end, not as the product.

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 37 other files, including scripts and reference files (for example `references/assumption-library-spec.md`, `references/brief-schema.json` and `references/effects-chain-spec.md`).

It sits in Research & Science, covering Autonomous loops and Peer review. The repository describes itself as: A decision operating system for high-stakes choices — business, strategy, career. Simulates disagreement, stress-tests assumptions, and converges on what actually holds up… The licence is MIT.

When your agent uses it

  • Tasks that involve Autonomous loops
  • Tasks that involve Peer review

Example prompts

  • “/autodecision”

Requirements

  • Python 3

Workflow steps

12 steps, taken from the first numbered list in SKILL.md.

  1. NEVER simulate in a vacuum. Phase 1 (GROUND) is mandatory. If WebSearch yields nothing, mark the run UNGROUNDED in the brief header — do…
  2. Phase 1.5 (ELICIT) runs after GROUND, before the loop, unless --skip-elicit. The single biggest quality lever — never default-off.
  3. Each persona runs as a SEPARATE Agent subagent. Genuine context-window independence. Sequential authoring in one context destroys…
  4. The main conversation IS the orchestrator. Walk the phases yourself. Spawn agents for parallelizable tasks (5 personas, critique +…
  5. The 5 canonical personas are the default. Optimist, Pessimist, Competitor, Regulator, Customer. ELICIT may modify (rename, specify a…
  6. Every effect carries a stable effect_id, a probability, a probability_range, and explicit assumption keys. The Judge compares by ID across…
  7. Persona disagreement IS the uncertainty signal. The probability range is the data — never average it away.
  8. Generate 2nd-order effects for ALL 1st-order effects. No probability gate. Tail risks matter most.
  9. Anonymize during peer review. Personas review "Analysis A", "Analysis B" — never by name. Mapping randomized per iteration.
  10. The Decision Brief is for humans. Never emit snake_case, never backtick raw effect_ids in prose. Use the description field. See…
  11. Phase 8.5 (VALIDATE-BRIEF) is mandatory for full/medium/revise/quick. It means literally invoking scripts/validate-brief.py against the…
  12. Stop when the Judge says so. Max iterations configurable (default 2, up to 5). The iteration folders ARE the memory — read previous…

What it can do on your machine

Read from SKILL.md and the folder at commit 967678a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Autodecision loads about 2.8k tokens when it runs, and up to ~80k if it reads all its reference files. Until then it costs about 125 tokens; SKILL.md has 1,209 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~125
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~80k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from harshilmathur/autodecision at commit 967678a, republished under its MIT licence (© harshilmathur). 1,209 words, ~2,753 tokens.

Download SKILL.mdSave it as .claude/skills/autodecision/SKILL.md (or your agent's skills folder). This skill also uses 35 other files; get the full folder from GitHub.
name
autodecision
description
Auto-Decision Engine: iterative decision simulation using autoresearch principles and a persona council. Decomposes decisions, generates competing hypotheses, simulates first/second-order effects with probabilities, critiques via anonymized peer review, and iterates until insights stabilize mechanically. The output is a possibility map — hypotheses, effects, council disagreements, adversarial scenarios, assumptions — with a recommendation synthesized at the end, not as the product.
triggers
/autodecision, /autodecision:quick, /autodecision:compare, /autodecision:revise, /autodecision:challenge, /autodecision:summarize, /autodecision:publish…

Auto-Decision Engine

Iterative decision simulation. Spend compute to think better. Five persona analysts as independent subagents, anonymized peer review, mechanical convergence — until the answer is robust.

The output is a possibility map: every hypothesis, every first/second-order effect, every council disagreement, every adversarial scenario, every assumption that must hold. The recommendation is one synthesis of that map, written at the end of the brief — never the product, never compressed into the lead.

How this skill is organized

SKILL.md (this file) is the entry point and contract — the rules below are non-negotiable. The full loop protocol lives in references/engine-protocol.md; per-phase protocols live in references/phases/*.md; canonical structure for the brief lives in references/brief-schema.json. The references table at the bottom is the single source of truth for where to read each thing.

Command Routing

triggers: (frontmatter above) is the canonical list. Each routes to a per-command protocol file:

  • /autodecision <decision> (default 2 iterations) → execute references/engine-protocol.md end-to-end
  • /autodecision --iterations N <decision> → 1 = medium (council, no convergence), 2 = full default, 3-5 = deep
  • /autodecision --context file1 [file2 ...] <decision> → attach context documents (Claude Code only). Files are extracted, tagged [D#], and threaded through the full pipeline. See references/phases/scope.md "Context File Extraction".
  • /autodecision:quick <decision> → references/engine-protocol.md "Quick Mode Protocol" section
  • /autodecision:compare "A" vs "B" → quick mode on both, then side-by-side comparison
  • /autodecision:revise {slug} "{change}" → references/phases/revise.md
  • /autodecision:challenge "{action}" → references/phases/challenge.md (adversary-only, ~5 min)
  • /autodecision:summarize {slug} → compress an existing brief to one page
  • /autodecision:publish {slug} [--summary] → references/phases/publish.md
  • /autodecision:plan → Phase 0 (SCOPE) interactive only
  • /autodecision:review → read past runs, compare predictions vs outcomes
  • /autodecision:export → bundle journal + assumptions + briefs into portable archive

Non-Negotiable Rules

  1. NEVER simulate in a vacuum. Phase 1 (GROUND) is mandatory. If WebSearch yields nothing, mark the run UNGROUNDED in the brief header — do not proceed silently.

  2. Phase 1.5 (ELICIT) runs after GROUND, before the loop, unless --skip-elicit. The single biggest quality lever — never default-off.

  3. Each persona runs as a SEPARATE Agent subagent. Genuine context-window independence. Sequential authoring in one context destroys diversity. Non-negotiable.

  4. The main conversation IS the orchestrator. Walk the phases yourself. Spawn agents for parallelizable tasks (5 personas, critique + adversary). NEVER spawn one agent to "run the loop" — that agent can't spawn grandchildren and the council collapses. See engine-protocol.md "Orchestration Model."

  5. The 5 canonical personas are the default. Optimist, Pessimist, Competitor, Regulator, Customer. ELICIT may modify (rename, specify a competitor), add (e.g., "Investor" for fundraising), or remove (e.g., Regulator when irrelevant) personas. Custom personas follow the same structure: optimization objective, blind spot, contrarian question, no-hedging rule. Names defined in references/persona-council.md "Canonical Persona Names."

  6. Every effect carries a stable effect_id, a probability, a probability_range, and explicit assumption keys. The Judge compares by ID across iterations — descriptions drift, IDs don't. No implicit assumptions. Assumption keys are as stable as effect_ids: iteration 2+ personas receive the full all_assumptions map from iter-1's effects-chains.json and MUST reuse keys verbatim for conceptually-identical assumptions. Renaming market_has_demand to market_demand_exists between iterations fakes instability and breaks the Judge's assumption_stability metric. See phases/simulate.md "Assumption Key Stability."

  7. Persona disagreement IS the uncertainty signal. The probability range is the data — never average it away.

  8. Generate 2nd-order effects for ALL 1st-order effects. No probability gate. Tail risks matter most.

  9. Anonymize during peer review. Personas review "Analysis A", "Analysis B" — never by name. Mapping randomized per iteration.

  10. The Decision Brief is for humans. Never emit snake_case, never backtick raw effect_ids in prose. Use the description field. See references/phases/decide.md.

  11. Phase 8.5 (VALIDATE-BRIEF) is mandatory for full/medium/revise/quick. It means literally invoking scripts/validate-brief.py against the schema. Writing a custom inline Python validation script (checking for your own invented section headers, declaring "13/13 passed" against a list you authored) IS NOT Phase 8.5. It is self-certification. Self-certification against invented headers is a HARD protocol violation — it silently lets a structurally broken brief ship. If the named script cannot run (e.g., python3 missing), fall back to the Step 5.5 self-check in phases/decide.md and emit the structural-self-check footer. Do NOT roll your own validator. On HARD_FAIL, re-prompt DECIDE once; if still failing, prepend VALIDATION_FAILED and continue. See references/phases/validate-brief.md.

    Writer must not invent section headers. The brief's H2 structure is defined by references/brief-schema.json and is MANDATORY. Inventing headers like ## Context, ## Decision tilt, ## The possibility map, ## Methodology, ## Analysis Approach (any header not in the schema) is a HARD_FAIL, even if it reads well. Improving readability is the schema's job, not the writer's. Do Step 4a's pre-write checklist before composing a single line.

  12. Stop when the Judge says so. Max iterations configurable (default 2, up to 5). The iteration folders ARE the memory — read previous iteration's convergence-summary.md (≤500 tokens) before starting the next, never the full JSON.

  13. Subagent nesting. If /autodecision runs inside another agent, the Agent tool may be unavailable. STOP and ask the user (full protocol in engine-protocol.md). Never silently degrade.

  14. Read references/engine-protocol.md BEFORE starting any phase. This is not "on demand" — it is the first file you read after SKILL.md. If you have not read engine-protocol.md in this conversation, stop and read it now. The protocol defines the loop structure, file writes, and orchestration model. Without it, you will write a one-shot memo instead of running the actual loop.

  15. Intermediate files are mandatory — no brief without a loop. Before Phase 8 (DECIDE) can start, the run directory MUST contain: config.json (Phase 0), ground-data.md (Phase 1), at least one iteration-{N}/effects-chains.json (Phase 3), and convergence-log.json (Phase 7). If these files do not exist, the loop did not run. Do NOT write a brief from memory or from the context file alone. Go back and run the missing phases. A Decision Brief without upstream data files is fabricated, not analyzed.

  16. The Decision Brief has exactly 16 H2 sections in full mode. They are, in order: ## Executive Summary, ## Data Foundation, ## Hypotheses Explored, ## Effects Map, ## Council Dynamics, ## Minority-View Winners (optional), ## Stable Insights, ## Fragile Insights, ## Adversarial Scenarios, ## Key Assumptions, ## Convergence Log, ## Recommendation, ## Appendix A: Decision Timeline, ## Appendix B: Complete Effects Map, ## Appendix C: Quick Mode vs Full Loop Comparison (optional), ## Sources. Writing a brief with different section names — "Evidence Summary", "Options Considered", "Adversary Findings", "Sensitivity Analysis", "Persona Council Results", "Critique Findings" — is a HARD_FAIL. These are NOT schema headers. Use the exact headers above.

Show full SKILL.md (185 more words)Show less

References

Read on-demand as each phase begins. Each phase file opens with a self-describing metadata block (phase number, when it runs, what it reads, what it writes, what gates it has) — always read that block first.

ReferenceFile
Full loop protocolreferences/engine-protocol.md
Progress tracker templates (per mode)references/progress-templates.md
Persona definitions + canonical names + subagent protocolreferences/persona-council.md
Shared persona prompt preamblereferences/persona-preamble.md
Effects chain JSON specreferences/effects-chain-spec.md
Phase 0: Scopereferences/phases/scope.md
Phase 1: Groundreferences/phases/ground.md
Phase 1.5: Elicitreferences/phases/elicit.md
Phase 2: Hypothesizereferences/phases/hypothesize.md
Phase 2.5: Clarifyreferences/phases/clarify.md (iter-1 only; skippable with --skip-clarify)
Phase 3: Simulatereferences/phases/simulate.md
Phase 4: Critiquereferences/phases/critique.md
Phase 5: Adversaryreferences/phases/adversary.md
Phase 6: Sensitivityreferences/phases/sensitivity.md
Phase 7: Convergereferences/phases/converge.md
Phase 8: Decidereferences/phases/decide.md
Phase 8.5: Validate Briefreferences/phases/validate-brief.md
Revise protocolreferences/phases/revise.md
Challenge protocolreferences/phases/challenge.md
Publish protocolreferences/phases/publish.md
Output validation rules (canonical)references/validation.md
Decision Brief template (human view)references/output-format.md
Decision Brief schema (canonical structure)references/brief-schema.json
Decision journal specreferences/journal-spec.md
Assumption library specreferences/assumption-library-spec.md
Templatesreferences/templates/{pricing,expansion,build-vs-buy,hiring}.md

If anything in this file conflicts with references/engine-protocol.md, the protocol file wins — it is canonical for loop mechanics. This file is the entry-point contract; the protocol file is the manual.

© harshilmathur, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 35 other files (scripts, references) in .claude/skills/autodecision of harshilmathur/autodecision.

  • SKILL.md
  • references/assumption-library-spec.md
  • references/brief-schema.json
  • references/effects-chain-spec.md
  • references/engine-protocol.md
  • references/journal-spec.md
  • references/output-format.md
  • references/persona-council.md
  • references/persona-preamble.md
  • references/phases/adversary.md
  • references/phases/challenge.md
  • references/phases/clarify.md
  • references/phases/converge.md
  • references/phases/critique.md
  • references/phases/decide.md
  • references/phases/deck.md
  • references/phases/elicit.md
  • references/phases/ground.md
  • references/phases/hypothesize.md
  • … and 17 more

Open the folder on GitHubat commit 967678a

Compare with similar skills

Autodecision next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Autodecision compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Autodecision this skillharshilmathur/autodecision102—~2.8kAutomated safety check: PassMIT
Integrity Forensicswanshuiyin/Auto-claude-code-research-in-sleep17k—~4.2kAutomated safety check: NotesMIT
Peer Review Loophashgraph-online/awesome-codex-plugins1.2k—~2.3kAutomated safety check: PassApache-2.0
Paper PlanningEvoScientist/EvoSkills4753 repos~2.4kAutomated safety check: PassApache-2.0
Research Writing SkillzLanqing/codex-claude-academic-skills4.6k—~1.1kAutomated safety check: PassMIT
Auto Review Loopappleweiping/WEIPING_WIKI119—~843Automated safety check: PassMIT

Similar skills

  • Integrity Forensics

    wanshuiyin/Auto-claude-code-research-in-sleep

    Run the Anti-Autoresearch integrity-forensics sweep (span-anchored evidence ledger → GPT auditors propose findings → a rules-only reporter that lists every proposal with what the auditor said about…

    17k GitHub stars~4.2k tokensUpdated yesterday
    Research & ScienceAuto-check: notes
  • Peer Review Loop

    hashgraph-online/awesome-codex-plugins

    Peer Review Ralph Loop — combines Cavekit kits with a Ralph Loop and true cross-model peer review using Codex (OpenAI).

    1.2k GitHub stars~2.3k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Paper Planning

    EvoScientist/EvoSkills

    Guides pre-writing planning for academic papers with 4 structured steps: story design (task-challenge-insight-contribution-advantage), experiment planning (comparisons + ablations), figure design…

    475 GitHub starsUsed in 3 repos~2.4k tokens
    Research & ScienceAuto-check passed
  • Research Writing Skill

    zLanqing/codex-claude-academic-skills

    Chinese-first research paper writing, revision, polishing, section drafting, rebuttal, peer-review response, thesis prose improvement, and manuscript argument planning.

    4.6k GitHub stars~1.1k tokensUpdated 4 mo ago
    Research & ScienceAuto-check passed
  • Auto Review Loop

    appleweiping/WEIPING_WIKI

    Multi-agent paper review loop simulating top-venue peer review.

    119 GitHub stars~843 tokensUpdated 1 mo ago
    Research & ScienceAuto-check passed
  • Scholarpeer Econ

    franklee16/academic-research-skills

    Multi-agent peer review simulation for finance/economics manuscripts.

    223 GitHub stars~2k tokensUpdated 20 days ago
    Research & ScienceAuto-check: notes

Questions about Autodecision

What does Autodecision do?

Auto-Decision Engine: iterative decision simulation using autoresearch principles and a persona council. Autodecision is an agent skill from harshilmathur/autodecision. Auto-Decision Engine: iterative decision simulation using autoresearch principles and a persona council.

When should I use Autodecision?

Autodecision fits situations like: tasks that involve Autonomous loops; tasks that involve Peer review.

How do I install Autodecision in Claude Code?

Run `npx skills add harshilmathur/autodecision --skill autodecision -a claude-code`. Or copy the skill folder (.claude/skills/autodecision in harshilmathur/autodecision) into .claude/skills/autodecision in your project. Claude Code loads it when a task matches its description.

How do I install Autodecision in Codex?

Run `npx skills add harshilmathur/autodecision --skill autodecision -a codex`. Or copy the skill folder (.claude/skills/autodecision in harshilmathur/autodecision) into .agents/skills/autodecision in your project. Codex loads it when a task matches its description.

Can I use Autodecision in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add harshilmathur/autodecision --skill autodecision -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/autodecision, .gemini/skills/autodecision, .github/skills/autodecision and .opencode/skills/autodecision in your project.

What does Autodecision need to run?

SKILL.md names no scripts, command-line tools or credentials: Autodecision is instructions for the agent only. Our summary lists: Python 3.

Does Autodecision access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Autodecision safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Autodecision use?

Autodecision is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Autodecision use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 78k tokens, read only when the agent opens those files.

What are the alternatives to Autodecision?

Skills that share tags, products or a category with Autodecision: Integrity Forensics (wanshuiyin/Auto-claude-code-research-in-sleep, 17k stars), Peer Review Loop (hashgraph-online/awesome-codex-plugins, 1.2k stars), Paper Planning (EvoScientist/EvoSkills, 475 stars) and Research Writing Skill (zLanqing/codex-claude-academic-skills, 4.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Autodecision?

harshilmathur (a GitHub user) maintains it in harshilmathur/autodecision, which has 102 GitHub stars. The repository was last updated on May 6, 2026.

Source: harshilmathur/autodecision on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.