decide

decide is a command for Claude Code from coleam00/Archon. It costs 0 tokens per session (1,265 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 · 23,701 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,265 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.01265
Opus 5.5 $0.00000 $0.00506
Sonnet 5.5 $0.00000 $0.00253
Haiku 4.5 $0.00000 $0.00127

Measured today against content hash 7af85b2aa1d6, 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 today.

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, and the checkout must be exactly as you found it when you finish.

The repository: $INPUTS.repo_host/$INPUTS.repo_path. 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.
  • $ARTIFACTS_DIR/drain/discovery-decisions.md: every decision made so far, one section per key, with its outcome, reason, the runs that found it, and any question asked with the maintainer's answer. This is your memory. Search it before deciding anything.
  • 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 $INPUTS.policy_defaults. A project's file replaces the default whole: when it exists, do not read the default.
  • 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. Never check out, switch, reset or edit anything. 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.
  2. Check memory. A key in discovery-decisions.md that describes the same defect is the same discovery, however differently it is worded. Use its key.
  3. Search the tracker, read-only: open and recently closed issues and pull requests that may already cover it. On GitHub, gh issue list --repo $INPUTS.repo_host/$INPUTS.repo_path --state all --search "<terms>" and gh pr list with the same flags. Read an issue and its comments (gh issue view <n> --comments with the same --repo) 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.
  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. Related defects that one change would fix may share one filed issue the same way.
  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. today 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 (23,701 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,265 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.