decide

decide is a command for Claude Code from coleam00/Archon. It costs 0 tokens per session (1,434 once invoked), scanned A, original, MIT.

A decision step for discoveries made during completed coding runs, such as defects or gaps outside the original change. It reviews the evidence and records what should happen to each discovery.

In plain words
What is it for?
Use it to accept, defer, reject, or otherwise decide the follow-up for reported discoveries using run artifacts and maintainer answers.
Why use it?
It prevents findings from being lost, duplicated, or acted on without considering their evidence and earlier decisions.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to accept, defer, reject, or otherwise decide the follow-up for reported discoveries using run artifacts and maintainer answers.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/coleam00/archon/decide
About the project

Archon is a workflow engine for AI coding agents that turns development processes into YAML-defined sequences with phases, validation gates, and artifacts. Developers use it to run repeatable processes such as planning, implementation, testing, code review, and pull-request creation across projects. The catalogue entries provide commands, agents, skills, hooks, instructions, and settings for working with Archon.

coleam00/Archon · 24,038 stars · on GitHub · archon.diy

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/coleam00/Archon

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for decide

README.md
[![agentmods](https://agentmods.dev/badge/commands/coleam00/archon/decide/github.svg)](https://agentmods.dev/commands/coleam00/archon/decide)
Your own site
<a href="https://agentmods.dev/commands/coleam00/archon/decide"><img src="https://agentmods.dev/badge/commands/coleam00/archon/decide/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for decide

Your own site · 80×15
<a href="https://agentmods.dev/commands/coleam00/archon/decide"><img src="https://agentmods.dev/badge/commands/coleam00/archon/decide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,434 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01434
Opus 5.5 $0.00000 $0.00574
Sonnet 5.5 $0.00000 $0.00287
Haiku 4.5 $0.00000 $0.00143

Measured 20d ago against content hash 549bbc89cbdb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

decide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.archon/workflows/sdlc/discoveries/commands/decide.md · 43 lines

How it starts

The opening of the file, as written. The whole thing — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Decide Each Discovery

Finished runs recorded discoveries: defects and gaps they proved outside their own change. Decide what becomes of each one, once. You judge and author; the next node performs exactly the writes you declare and nothing else. You write nothing to the tracker, the repository or the state store yourself.

The repository: $INPUTS.repo. The base commit every claim is checked against: $INPUTS.base_sha.

Read first

  • $ARTIFACTS_DIR/drain/queue.json: the queued runs and their undecided records. Each record has a ref of the form <run-id>:<ref>, a title, a claim and its evidence. reviewed: true means the run's review certified it; false is a raw record no review judged. Each run's artifacts directory holds the run's own report, discoveries.md and anything the evidence cites; open them when a record needs its context. Each run's questions are what an earlier pass asked a maintainer about its records, with the answer once there is one.
  • The project's direction document, where it has one: at the root, in a config directory such as .archon/, or wherever its steering files point.
  • The SDLC policy files this decision names, at .archon/sdlc/policy/, falling back to the pack's defaults. This decision names discoveries.md, triage.md and rulings.md; the pack's defaults are in $PACK_DIR/.shared/policy/. Read the default first, then the project's file when it exists: the project's file adds to the default, and where the two conflict, the project's line wins.
  • The project's engineering.md and architecture.md, only when a decision depends on what they rule.

Decide every record

For every record in the queue:

  1. Verify the claim at the base. Read the code the evidence cites with git show $INPUTS.base_sha:<path> and git grep <pattern> $INPUTS.base_sha. A record's file:line evidence was true when its run wrote it; the base may have moved since. Do not run tests or probes: a claim you cannot settle by reading is unverified. A claim that does not hold at the base may be about an open pull request's change, such as code it adds or a guard it removes: look for that pull request with workitem.search (step 3) before you drop the claim as fixed or unverified.
  2. Apply earlier answers. A question in the run's questions that has an answer decides the refs it covers: follow the answer rather than asking again.
  3. Search the tracker, read-only: open and recently closed issues and pull requests that may already cover it. Use the Archon CLI, whose argv is the JSON string array in $ARCHON_CLI_COMMAND, as <argv...> forge <op> --json --data '<request>', with <repo> = {"host":…,"path":…}, $INPUTS.repo split at its first /. workitem.search takes {"repo":<repo>,"text":"<terms>","state":"any"}, with "kind":"pr" or "issue" to search one kind, and answers the most recently updated matches; truncated says more matched, and how the terms match is the forge's own search, so try more than one wording. A failed search is not an empty one: report it, and never repeat it through another tool. Read an issue and its comments (workitem.view with {"ref":{"repo":<repo>,"number":<n>}}, workitem.comments with {"subject":{"kind":"issue","ref":…}}) before you say it covers a record or that nothing does: the evidence an issue already holds is often in a comment, not its body. An issue this workflow filed starts with the marker <!-- archon-discovery <key> -->; one that describes the same defect is the same discovery, however differently it is worded.
  4. Merge duplicates. Records from different runs, or several records in one run, that describe one defect are one decision: list every one of their refs under it. The policy says when separate defects may share one filed issue.
  5. Decide under the policy.

Read the full file on GitHub · 43 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 20d ago Changed 549bbc89cbdb
  2. 21d ago Changed 030b03f14b76
  3. 22d ago Changed · +8 lines 6dfdd1ac9472
  4. 24d ago Changed 19937478ef26
  5. 1mo ago Changed · -8 lines 850e452ead51
  6. 1mo ago First seen · 43 lines · 0 tokens per session scan A 7af85b2aa1d6

Subscribe to this mod's changes

decide is a command published in the GitHub repository coleam00/Archon (24,038 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,434 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-17.

Related

decide compared with commands from other repositories

decide next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
decidecoleam00/ArchonCommand24ktodayMITA0Claude Code
fix-issuescan1357/oh-my-piCommand40ktodayMITA0Claude Code
review-prscan1357/oh-my-piCommand40ktodayMITA0Claude Code
triagecan1357/oh-my-piCommand40ktodayMITA0Claude Code
releasecan1357/oh-my-piCommand40ktodayMITA0Claude Code
cleanupcan1357/oh-my-piCommand40ktodayMITA0Claude Code
hatch3r-workflowhatch3r/hatch3rCommand262mo agoMITA42Claude Code