deeper

A command for expanding the latest saved project decision into a detailed explanation. It can cover the idea, how it works, alternative implementations, and reference choices.

In plain words
What is it for?
Use it to explain the most recent decision, or a decision identified by a name or ID, in greater depth.
Why use it?
It turns a short decision record into enough context for someone to understand the reasoning and implementation options.

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/agoldian/claudenv/deeper
Clone the repo
git clone --depth 1 https://github.com/AGoldian/claudenv

Made for: Claude Code.

Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 531 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.00024 $0.00531
Opus 5 $0.00012 $0.00266
Sonnet 5 $0.00005 $0.00106
Haiku 4.5 $0.00002 $0.00053

Measured 2d ago against content hash adec1e85d291, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

deeper 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.

scaffold/global/.claude/commands/deeper.md · 56 lines

What it actually says

/deeper — Подробное объяснение последнего решения

Развернуть последнее (или указанное в $ARGUMENTS) принятое vibe-decision в полный формат.

Step 1 — Find the target decision

If $ARGUMENTS is empty:

  1. Run claudenv decisions list --limit 1 (Bash) — get the most recent decision id
  2. Run claudenv decisions show <id> to load its frontmatter

If $ARGUMENTS is a topic slug or id:

  1. Run claudenv decisions show $ARGUMENTS to load it
  2. If not found — fall back to claudenv decisions search "$ARGUMENTS" and pick the top match

If nothing matches:

Не нашёл недавнего решения. Сначала сделай нетривиальный выбор — vibe-decisions залогирует его. Потом вызови /deeper.

Stop here.

Step 2 — Expand into the deep dive format

Follow ~/.claude/skills/vibe-decisions/deep-dive-template.md exactly:

  1. Концептуально (3-5 lines) — what it is, what problem it solves, name 1-2 alternatives
  2. Как работает (5-10 lines, optional code sketch) — simplified model + key invariants
  3. 2-3 варианта реализации — for each: code sketch + when-suits / when-doesn't
  4. Канон — 2-4 references, first from ~/.claudenv/memories/canon/index.yaml by topic; if no match, WebSearch and propose claudenv canon add afterward

Step 3 — Update the decision file

Edit the original decision file to set:

deep_dive_done: yes
sources_consulted: [<urls and canon ids you cited>]

Preserve the __VIBE_DECISION__ marker on the last line.

Style

  • User's language
  • Concrete to the actual task, not generic textbook
  • If a sketch is shorter than prose — use the sketch
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 · 56 lines · 24 tokens per session scan A adec1e85d291

Subscribe to this mod's changes

deeper is a command published in the GitHub repository AGoldian/claudenv (10 stars, last pushed 2mo ago), licensed MIT. It adds 24 tokens to every session and 531 once invoked, about $0.0001 per session on Opus 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.