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.
/plugin marketplace add tonone-ai/tonone/plugin install engineering-teamWrote 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.
[](https://agentmods.dev/skills/tonone-ai/tonone/apex-decisions)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
whymust carry the reason, not restate the decision.
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.
- 19d ago Changed · +2 lines 69db06f90366
- 20d ago First seen · 116 lines · 62 tokens per session scan A 4567a8e6d348
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.
apex-decisions compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| apex-decisionstonone-ai/tonone | Skill | 84 | 2d ago | MIT | A | 62 | Claude Code |
| contextlukasrepublic/agentic-foundry | Skill | 0 | 23d ago | MIT | A | 74 | Claude Code |
| learn-distilllukasrepublic/agentic-foundry | Skill | 0 | 23d ago | MIT | A | 77 | Claude Code |
| g-resumeonlygian/G-Forge | Skill | 4 | 1mo ago | GPL-3.0 | A | 128 | Claude Code |
| agents-skills-feedback-loopvasilyu1983/AI-Agents-public | Skill | 101 | 1mo ago | MIT | A | 35 | Claude Code, Codex |
| dev-context-multi-repovasilyu1983/AI-Agents-public | Skill | 101 | 1mo ago | MIT | A | 36 | Claude Code |
| memory-synckochetkov-ma/claude-brewcode | Skill | 41 | 7d ago | MIT | A | 37 | Codex |