decision

decision is a skill for Claude Code from zimalabs/code-decisions. It costs 23 tokens per session (904 once invoked), scanned A, original, MIT.

A single command interface for recording, searching, and managing team decisions.

In plain words
What is it for?
It can capture a choice with its reason, search stored decisions, and handle tasks such as editing, undoing, dismissing, reviewing, enriching, and viewing history.
Why use it?
It helps distinguish a decision someone is making from a request to find an existing decision, while keeping both workflows in one place.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the decisions plugin — 1 skill, 5 hooks shipped together

Good fit It can capture a choice with its reason, search stored decisions, and handle tasks such as editing, undoing, dismissing, reviewing, enriching, and viewing history.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zimalabs/code-decisions/decision
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.

Any agent
npx skills add zimalabs/code-decisions --skill decision
Clone the repo
git clone --depth 1 https://github.com/zimalabs/code-decisions

Made for: Claude Code.

Or install decisions, the plugin that ships this one along with the rest of its 1 skill, 5 hooks.

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 decision

README.md
[![agentmods](https://agentmods.dev/badge/skills/zimalabs/code-decisions/decision/github.svg)](https://agentmods.dev/skills/zimalabs/code-decisions/decision)
Your own site
<a href="https://agentmods.dev/skills/zimalabs/code-decisions/decision"><img src="https://agentmods.dev/badge/skills/zimalabs/code-decisions/decision/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 decision

Your own site · 80×15
<a href="https://agentmods.dev/skills/zimalabs/code-decisions/decision"><img src="https://agentmods.dev/badge/skills/zimalabs/code-decisions/decision.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 904 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.00023 $0.00904
Opus 5.5 $0.00009 $0.00362
Sonnet 5.5 $0.00005 $0.00181
Haiku 4.5 $0.00002 $0.00090

Measured 3mo ago against content hash 68855066eb21, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

decision 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 3mo 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.

src/skills/decision/SKILL.md · 70 lines

How it starts

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

/decision

Parse $ARGUMENTS to determine intent and route to the appropriate action.

CLI Usage

The SessionStart hook injects a Decision CLI: ... line into conversation context with the correct PYTHONPATH prefix. Always use that exact prefix when running CLI commands. For brevity, this document writes python3 -m decision <command> — prepend the injected PYTHONPATH="..." when executing.

Intent Detection

Explicit subcommands take priority — /decision search <query> and /decision capture <statement> bypass intent detection entirely.

Search (default): questions, keywords, lookups, --tags, --stats, --coverage, or anything ambiguous. Capture: declarative statement with both a choice and a reason ("chose X because Y", "going with X instead of Y"). Without a reason, prefer search — the user may be looking up an existing decision. Manage: admin verbs — edit, undo, dismiss, debug, review, enrich, tree, tour, history, help. No arguments: show brief status with python3 -m decision stats --json and suggest quick actions.

  1. Check pre-seeded results first — a hook runs FTS5 search automatically when /decision <keywords> is invoked. If results exist in conversation context, present them directly.
  2. If pre-seeded results are empty or insufficient: use Grep to search .claude/decisions/ files for keywords, then Read matching files to present results. This avoids permission prompts. Only fall back to python3 -m decision search <keywords> via CLI if native tools fail.
  3. Flags: --tags → python3 -m decision tags, --stats → python3 -m decision stats, --coverage → python3 -m decision coverage

Capture

  1. Search existing decisions first — if one covers the same topic, edit it in place instead of creating a new file.
  2. Write directly to .claude/decisions/{slug}.md following the decision template (injected at session start). The content-validation hook will reject and guide you if anything is wrong.
  3. Confirm briefly:

Read the full file on GitHub · 70 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. 3mo ago First seen · 70 lines · 23 tokens per session scan A 68855066eb21

Subscribe to this mod's changes

decision is a skill published in the GitHub repository zimalabs/code-decisions (5 stars, last pushed 4mo ago), licensed MIT. It adds 23 tokens to every session and 904 once invoked, about $0.0001 per session on Opus 5.5. 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-31.

Related

decision compared with skills from other repositories

decision next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
decisionzimalabs/code-decisionsSkill54mo agoMITA23Claude Code
captain-recallramarahmanda/tsubasaSkill119d agoMITA65Claude Code
captain-injectramarahmanda/tsubasaSkill119d agoMITA85Claude Code
memory-recallzilliztech/memsearchSkill3.0kyesterdayMITA38Claude Code, Codex
wenlan-handoffwenlan-app/wenlanSkill502todayApache-2.0A46Claude Code, Codex
compact-adviserkunchenguid/compact-adviserSkill2364d agoMITA77Claude Code, Codex
recallAgentToolkit/altk-evolveSkill1434d agoApache-2.0A42Claude Code