decision

decision is a command for Claude Code from jungjaehoon-lifegamez/MAMA. It costs 12 tokens per session (760 once invoked), scanned A, original, MIT.

A command for saving a decision or insight to MAMA, a long-term memory system for coding-agent work.

In plain words
What is it for?
Use it to record a topic, decision, reasoning, confidence level, outcome, and known limitations.
Why use it?
It preserves the reasoning behind important choices so they can be found and understood later.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the mama plugin — 2 skills, 5 commands, 2 agents, 1 MCP server shipped together

Good fit Use it to record a topic, decision, reasoning, confidence level, outcome, and known limitations.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jungjaehoon-lifegamez/mama/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.

Clone the repo
git clone --depth 1 https://github.com/jungjaehoon-lifegamez/MAMA

Made for: Claude Code.

Or install mama, the plugin that ships this one along with the rest of its 2 skills, 5 commands, 2 agents, 1 MCP server.

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/commands/jungjaehoon-lifegamez/mama/decision/github.svg)](https://agentmods.dev/commands/jungjaehoon-lifegamez/mama/decision)
Your own site
<a href="https://agentmods.dev/commands/jungjaehoon-lifegamez/mama/decision"><img src="https://agentmods.dev/badge/commands/jungjaehoon-lifegamez/mama/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/commands/jungjaehoon-lifegamez/mama/decision"><img src="https://agentmods.dev/badge/commands/jungjaehoon-lifegamez/mama/decision.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 760 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.00012 $0.00760
Opus 5.5 $0.00005 $0.00304
Sonnet 5.5 $0.00002 $0.00152
Haiku 4.5 $0.00001 $0.00076

Measured 26d ago against content hash 15dd6b3e54b5, 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 26d 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.

packages/claude-code-plugin/commands/decision.md · 79 lines

How it starts

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

Save Decision to MAMA Memory

You are helping the user save a decision to MAMA (Memory-Augmented MCP Assistant).

User Arguments: $ARGUMENTS

Instructions

  1. Parse the user's input to extract:

    • topic (required): Decision topic identifier (e.g., 'auth_strategy', 'database_choice')
    • decision (required): What was decided (e.g., 'Use JWT with refresh tokens')
    • reasoning (required): Why this decision was made
    • confidence (optional): 0.0-1.0, default 0.5
    • outcome (optional): 'pending', 'success', 'failure', 'partial', 'superseded', default 'pending'
    • stated_by_user: true when the user stated this decision, which is the case when they ran this command with it; false only when you are recording your own insight
    • failure_reason (optional): Why this decision failed (if outcome='failure')
    • limitation (optional): Known limitations of this decision
  2. Use the MCP tool to save the decision:

    • First search related decisions with mcp__plugin_mama_mama__search. If the new decision builds on, debates or combines one, pass links: [{id, relation, reason}]; if it replaces one, pass replaces: [{id, reason}]. Nothing is linked for you, and the reasoning text is not parsed.
    • Call mcp__plugin_mama_mama__save with type='decision', stated_by_user and the parsed parameters
    • The tool will return a decision_id
  3. Format the response as markdown:

    ✅ Decision Saved Successfully
    
    **Decision ID:** `{decision_id}`
    **Topic:** `{topic}`
    
    Search for this decision later:
    `/mama:search {topic}`
    

Example Usage

/mama:decision auth_strategy "Use JWT with refresh tokens" "Provides better security than sessions" --confidence=0.9 --outcome=success

Error Handling

If required fields are missing, show this help:

Usage: /mama:decision <topic> <decision> <reasoning> [options]

Required:
  topic       Decision topic (e.g., 'auth_strategy')
  decision    What was decided
  reasoning   Why this decision was made

Optional:
  --confidence=N    Confidence 0.0-1.0 (default: 0.5)
  --outcome=X       pending|success|failure|partial|superseded (default: pending)

Examples:
  /mama:decision auth "Use JWT" "Better security" --confidence=0.9
  /mama:decision database "Use PostgreSQL" "Better for our use case" --outcome=success

Read the full file on GitHub · 79 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. 26d ago Changed · +5 lines 15dd6b3e54b5
  2. 1mo ago First seen · 74 lines · 12 tokens per session scan A 25066aa75c1a

Subscribe to this mod's changes

decision is a command published in the GitHub repository jungjaehoon-lifegamez/MAMA (14 stars, last pushed 10d ago), licensed MIT. It adds 12 tokens to every session and 760 once invoked, about $0.0000 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-30.