decision-layer

decision-layer is a skill for Claude Code from VincentHHY/big-picture. It costs 96 tokens per session (712 once invoked), scanned B, original, MIT.

A session-only response style that explains decisions in plain language while placing code details below a clear boundary. It starts off disabled and can be enabled with a command or a message option.

In plain words
What is it for?
Use it when discussing trade-offs, plans, or other decisions without mixing in code, file paths, and line numbers. It also helps control when this response style is active.
Why use it?
It keeps implementation details from obscuring the choices a user needs to review and approve. It also makes the setting explicit for the current session.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: reads .claude/ paths.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the decision-layer plugin — 1 skill, 3 hooks shipped together

Good fit Use it when discussing trade-offs, plans, or other decisions without mixing in code, file paths, and line numbers. It also helps control when this response style is active.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add VincentHHY/big-picture
Claude Code
/plugin install decision-layer

Made for: Claude Code.

Or install decision-layer, the plugin that ships this one along with the rest of its 1 skill, 3 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-layer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/vincenthhy/big-picture/decision-layer"><img src="https://agentmods.dev/badge/skills/vincenthhy/big-picture/decision-layer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 712 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00096 $0.00712
Opus 5 $0.00048 $0.00356
Sonnet 5 $0.00019 $0.00142
Haiku 4.5 $0.00010 $0.00071

Measured 5d ago against content hash 9332752bb040, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

decision-layer scanned grade B with 1 finding 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 5d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

`"outputStyle": "decision-layer:Plain"` into `~/.claude/settings.json`, which covers every
plugins/decision-layer/skills/decision-layer/SKILL.md · 59 lines

How it starts

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

Decision layer

Typing /decision-layer arms it already — a hook fires before this file loads. Nothing more to do. Just confirm the boundary is on for this session and carry on with the work.

If the skill was triggered by plain words rather than the typed command, no arming event fired. Arm it by hand:

bash "${CLAUDE_PLUGIN_ROOT}/hooks/decision-layer-mode.sh" --arm

If the output style is not selected, arming does nothing. The session-start hook already says so on screen when that happens. The fix is /decision-layer setup: it writes "outputStyle": "decision-layer:Plain" into ~/.claude/settings.json, which covers every project and every surface. The terminal's /config picker covers only the project it was run in, and neither the VS Code extension nor the desktop app has a picker at all. The style is read at session start either way, so it lands on the next session. The selection is remembered, and the boundary still starts off in every new session because the hook owns that part.

Turning it off

  • /decision-layer off — off for the session.
  • --impl-off on the first or last line of an ordinary message — same thing, handled by the hook, so it works mid-run when the user is busy and not reading carefully.
  • --impl on the first or last line of a message — off for that one reply only, then back on automatically. Also handled by the hook, so there is nothing to detect.

Only those two lines count, and only a switch standing there as a word of its own. Quoting one mid-message — pasting a transcript, or this file — is not typing one and changes nothing.

A plain request for code — "show me that function", "what does the error say" — also drops the boundary for that reply. That one is a judgement call, not a hook.

Why the arming matters

Arming is what makes the mode survive. Without the flag file, the rules in the output style are inert: they are written conditionally and apply only to a turn the hook has marked. The flag is keyed by session id, so a new session always starts with the boundary off.

Read the full file on GitHub · 59 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago Changed 9332752bb040
  2. 9d ago First seen · 59 lines · 96 tokens per session scan B f12efd2032cc

Subscribe to this mod's changes

decision-layer is a skill published in the GitHub repository VincentHHY/big-picture (22 stars, last pushed 8d ago), licensed MIT. It adds 96 tokens to every session and 712 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.