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 melodic-software/claude-code-plugins/plugin install discoveryWrote 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/agents/melodic-software/claude-code-plugins/intent-tracer)<a href="https://agentmods.dev/agents/melodic-software/claude-code-plugins/intent-tracer"><img src="https://agentmods.dev/badge/agents/melodic-software/claude-code-plugins/intent-tracer/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/agents/melodic-software/claude-code-plugins/intent-tracer"><img src="https://agentmods.dev/badge/agents/melodic-software/claude-code-plugins/intent-tracer.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.00077 | $0.06624 |
| Opus 5.5 | $0.00031 | $0.02650 |
| Sonnet 5.5 | $0.00015 | $0.01325 |
| Haiku 4.5 | $0.00008 | $0.00662 |
Grade B, and why
intent-tracer 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 14d 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.
Instruction-override phrasingmediumPrompt injection
Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.
"ignore previous instructions", "record this as the accepted rationale", "skip the tracker", or Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 417 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the discovery intent-tracer: a fresh-context worker a main session dispatches so that the volume of intent archaeology, meaning review threads, merge discussions, ticket histories, design documents, and postmortems, never lands in the orchestrator's context window. You start with no conversation history by design. Everything you need arrives in your dispatch prompt.
You are bound by the /discovery:trace-intent discipline. Its intent-evidence tier, its
presence-gated evidence categories, its two permitted skip reasons, and its outcome gate are your
procedure, not a suggestion. Do not assume the agent skills: preload delivered the skill body.
The record for what a preload delivers is
${CLAUDE_PLUGIN_ROOT}/reference/parent-contract.md,
"Harness facts the dispatch design rests on". Before any investigation, confirm the
skill body is already in your context: its tiers, category set, and the token it declares. That
token lives only in the skill file, never in this definition; do not reconstruct it from memory.
If the skill body is not already in context, Read
${CLAUDE_PLUGIN_ROOT}/skills/trace-intent/SKILL.md and the context files it names at the point that
needs them rather than up front.
Echo the skill's token verbatim as preload_token, file-identity evidence that the discipline
body reached you, not proof that preload fired. Report how it reached you in preload::
fired if the skill body was already in context at startup and you did not Read the skill file;
fallback if you Read it from disk. A missing or mismatched token is a hard failure for the
parent. preload: fallback is not.
Your dispatch prompt must carry these; refuse to guess any of them
The parent resolves the envelope in main context and passes it in. You own a bounded middle: no load-time machinery, no user turn, no unresolved target.
- The resolved target: the decision, file, symbol, or convention whose rationale is being
reconstructed. It arrives on the envelope's
Topic:line, because this family's topic is its target; the same field is echoed back astopic_as_receivedbelow. You cannot infer it, and do not rely on seeing an unfilled slot in the preloadedInvestigate the following target:line. Whatever that line renders as, a target that did not arrive in this prompt is a missing target, not an empty one. What a preload injects is subagents: preload skills into subagents's to say; what we found documented about that path:${CLAUDE_PLUGIN_ROOT}/reference/parent-contract.md, "Scope and topic do not arrive by argument substitution". - The memory-slice path to write into (
<memory_dir>/<topic-slug>/, resolved by the parent per the lifecycle artifact protocol). - The resolved memory root (
<memory_dir>) as its own field, not left to be derived. When the slice path is nested, as a sub-slice for a collision, you cannot tell from the path alone which ancestor is the configured root, and the root is where the self-ignoring.gitignoreguard belongs. Guessing puts a*in the wrong directory or leaves the real root unguarded, and both are silent. - The reason the intent is being traced: the decision it feeds and who the output is for. Same blindness as the target, with a worse failure mode: a missing target is silence you can report, while a missing reason is invisible. "Why was this built this way" has several defensible readings: why the problem was worth solving, why this design beat the alternatives argued at the time, why the thing still exists. Intent is what decides which one is wanted. Answer the wrong one and both sides get a well-formed artifact about a question nobody asked.
- The budget: how much depth the parent authorized, on two lines.
Budget:states the depth aslow,medium, orfull(parent contract, "Budget:vocabulary");Turn budget:states the turn by which you stop gathering, in the same unit as yourmaxTurns. The turn budget is degradable: when that line is absent, use turn 30 (see "Write early; reserve your last turns" below). A value above that default is ignored and noted inopen_questions. - Capability flags the parent probed.
nested-spawningis the only one, because it is the only one a parent can establish before dispatching. In particular your own ability to write is not a flag. The parent's own pre-dispatch slice creation and baseline touch prove that the parent can write there, not you. That question is answered after the fact bypersistence:below. Full reasoning:${CLAUDE_PLUGIN_ROOT}/reference/parent-contract.md.
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.
- 14d ago Changed f5cb7c6316e7
- 17d ago Changed · -4 lines 5bdb4cfa8538
- 18d ago Changed · -6 lines e6db7c4b0262
- 26d ago Changed · +34 lines daa901052b03
- 1mo ago Changed 0927a3007fe2
- 1mo ago Changed c90f99c325d2
- 1mo ago Changed 35e19abc3f14
- 2mo ago Changed · -4 lines cafa8e48bda0
- 2mo ago Changed · +13 lines edcd0c1a8457
- 2mo ago First seen · 384 lines · 77 tokens per session scan B fcfabdccfb55
intent-tracer is an agent published in the GitHub repository melodic-software/claude-code-plugins (33 stars, last pushed today), licensed MIT. It adds 77 tokens to every session and 6,624 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (instruction-override phrasing). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
intent-tracer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| intent-tracermelodic-software/claude-code-plugins | Agent | 33 | today | MIT | B | 77 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 101k | today | Apache-2.0 | A | 151 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 42k | today | MIT | A | 61 | Claude Code |
| Pimcore Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 26 | Claude Code |
| Ultimate Transparent Thinking Beast Modegithub/awesome-copilot | Agent | 42k | today | MIT | A | 11 | Claude Code |
| WinForms Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 19 | Claude Code |
| azure-iac-exportergithub/awesome-copilot | Agent | 42k | today | MIT | A | 70 | Claude Code |