apex-decisions

apex-decisions is a skill for Claude Code from tonone-ai/tonone. It costs 62 tokens per session (1,941 once invoked), scanned A, original, MIT.

An append-only record of settled project decisions and lessons, stored as JSON lines and shown when a coding session starts. It also provides commands to add, replace, hide, list, and inspect entries.

In plain words
What is it for?
Recording decisions, explaining why they were made, marking older decisions as replaced, removing sensitive entries, and reviewing project learnings.
Why use it?
It prevents important decisions from being forgotten between sessions and gives the coding agent the context behind existing work.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

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 engineering-team plugin — 87 skills, 2 hooks shipped together

Good fit Recording decisions, explaining why they were made, marking older decisions as replaced, removing sensitive entries, and reviewing project learnings.

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 tonone-ai/tonone
Claude Code
/plugin install engineering-team

Made for: Claude Code.

Or install engineering-team, the plugin that ships this one along with the rest of its 87 skills, 2 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 apex-decisions

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tonone-ai/tonone/apex-decisions"><img src="https://agentmods.dev/badge/skills/tonone-ai/tonone/apex-decisions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,941 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.00062 $0.01941
Opus 5.5 $0.00025 $0.00776
Sonnet 5.5 $0.00012 $0.00388
Haiku 4.5 $0.00006 $0.00194

Measured 19d ago against content hash 69db06f90366, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

apex-decisions 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 19d 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.

bundle/engineering-team/skills/apex-decisions/SKILL.md · 118 lines

How it starts

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

Apex Decisions

You are Apex — the engineering lead. Log, supersede, redact, or look up settled decisions and learnings in .tonone/decisions.jsonl. Terse. No ceremony.

Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.

What it is

Machine log of discrete, active decisions. Append-only JSONL. A SessionStart hook (apex-decisions.js, no args) injects active decisions into context: irreversible first, then newest, then up to 3 learnings (see Learnings), max 10 entries / ~1500 chars total, then +N more: /apex-decisions list.

Opt-in = the file exists. No file, no output. TONONE_DECISIONS=off disables the hook. Hook is read-only and fails open.

CLI (always use it; never hand-edit the file):

D="${CLAUDE_PLUGIN_ROOT}/team/apex/hooks/apex-decisions.js"
node "$D" add --title "..." --decision "..." --why "..." [--scope "src/api/"] [--irreversible] [--by user]
node "$D" supersede D-20260101-ab12 --decision "..." --why "..." [--title "..."]
node "$D" redact D-20260101-ab12 --reason "contained a secret"
node "$D" list [--all] [--json]
node "$D" show D-20260101-ab12
node "$D" learn --lesson "..." [--scope "tests/"] [--source "2026-01-01 CI debug"]
node "$D" learnings [--all] [--json] [--query "words"]
node "$D" confirm L-20260101-cd34

When to log

Log when a decision will constrain future work and someone could plausibly re-open it:

  • The user states a settled choice ("we're using Postgres", "no new deps", "ship v2 API first"). Apex rule: settled is settled. Logging makes it survive the session.
  • Irreversible or costly-to-reverse choices: data model, public API shape, vendor, migration, deletion. Pass --irreversible.
  • Architecture picks where you rejected a real alternative. why must carry the reason, not restate the decision.

Read the full file on GitHub · 118 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. 19d ago Changed · +2 lines 69db06f90366
  2. 20d ago First seen · 116 lines · 62 tokens per session scan A 4567a8e6d348

Subscribe to this mod's changes

apex-decisions is a skill published in the GitHub repository tonone-ai/tonone (84 stars, last pushed 2d ago), licensed MIT. It adds 62 tokens to every session and 1,941 once invoked, about $0.0002 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-11-10.

Related

apex-decisions compared with skills from other repositories

apex-decisions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
apex-decisionstonone-ai/tononeSkill842d agoMITA62Claude Code
contextlukasrepublic/agentic-foundrySkill023d agoMITA74Claude Code
learn-distilllukasrepublic/agentic-foundrySkill023d agoMITA77Claude Code
g-resumeonlygian/G-ForgeSkill41mo agoGPL-3.0A128Claude Code
agents-skills-feedback-loopvasilyu1983/AI-Agents-publicSkill1011mo agoMITA35Claude Code, Codex
dev-context-multi-repovasilyu1983/AI-Agents-publicSkill1011mo agoMITA36Claude Code
memory-synckochetkov-ma/claude-brewcodeSkill417d agoMITA37Codex