decide

A command for recording a product or project decision in a structured file. It gathers related evidence, strategy notes, hypotheses, stakeholders, and earlier decisions before preparing the record for product-manager approval.

In plain words
What is it for?
Use it to document a decision such as choosing what to ship, record why it was made, link it to a hypothesis, and note whether it replaces or depends on an earlier decision.
Why use it?
It prevents important decisions from being based on scattered notes or losing their supporting evidence. It also links the decision to related assumptions and past decisions.

Command for Claude Code

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.

agentmods
npx agentmods add commands/phuryn/pm-brain/decide
Clone the repo
git clone --depth 1 https://github.com/phuryn/pm-brain

Made for: Claude Code.

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 765 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00765
Opus 5 $0.00000 $0.00382
Sonnet 5 $0.00000 $0.00153
Haiku 4.5 $0.00000 $0.00076

Measured 2d ago against content hash 8cc8aee3ba1e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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.

.claude/skills/pm-brain/scaffold/.claude/commands/decide.md · 40 lines

How it starts

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

/decide

Log a decision. Drafts a complete decision file from the existing evidence trail and surfaces it for PM sign-off.

Input

A decision slug (/decide ship-weekly-digest) or a one-line decision framing (/decide "kill auto-categorize, ship receipt-matching instead"). If a hypothesis is being resolved by the decision, include or infer its slug: /decide ship-weekly-digest --resolves H-V1.

Loads

  • decisions/_SCHEMA.md — load before writing the decision file
  • hypotheses/<slug>.md for any hypothesis the decision resolves (the decision MUST link back to it)
  • knowledge/strategy.md — priorities, non-goals, tensions (does this decision honor strategy? create new tension?)
  • Recent ingestion/ and source/ referenced as evidence (every Evidence row in the decision file needs a provenance tag pointing at a real artifact)
  • stakeholders/<slug>.md for any stakeholder named in the decision (Naomi confirmed Q3, Helena flagged budget, etc.)
  • decisions/INDEX.md to check for prior decisions this one supersedes or depends on

Updates

  • decisions/YYYY-MM-DD-<slug>.md — created with the full schema: status (pending or decided), context, decision, evidence rows (each tagged), explicitly NOT doing, stakeholders signed off, reversal condition (observable + specific), remaining ambiguities. Drafted, not committed.
  • decisions/INDEX.md — add under ## Pending if status: pending, otherwise under ## Recently decided
  • hypotheses/<slug>.md — if the decision resolves a hypothesis, mark that hypothesis promoted (if decision validates it) or demoted (if decision goes the other way), with a Resolution row linking to the new decision file
  • hypotheses/INDEX.md — reflect the hypothesis status change

Hard constraints:

  • COUNT-THE-TAGS before saving — every Evidence row + every "Explicitly NOT doing" row carries a provenance tag from the enum in hypotheses/_SCHEMA.md. Orphan rows fail the audit.
  • Reversal condition is mandatory and observable. "If things change" / "if market shifts" / "if we get pushback" are not acceptable. The condition must name a specific, measurable signal (a metric crossing a threshold, a stakeholder explicitly withdrawing support, a competitor shipping a specific feature). The audit check all_decisions_have_reversal_condition rejects vague reversal conditions.
  • Commentary, gaps, and "things we don't yet know" go under ## Remaining ambiguities, NOT under ## Evidence. Aggregation/meta rows ("N=3 customers, mixed sentiment") are not evidence — they go under Remaining ambiguities too.
  • Default to status: pending unless the PM explicitly said "this is decided." Pending invites stakeholder sign-off; decided implies the choice has been made and is being recorded for the audit trail.

Read the full file on GitHub · 40 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. 2d ago First seen · 40 lines · 0 tokens per session scan A 8cc8aee3ba1e

Subscribe to this mod's changes

decide is a command published in the GitHub repository phuryn/pm-brain (537 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 765 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-08-30.