intent-tracer

intent-tracer is an agent for Claude Code from melodic-software/claude-code-plugins. It costs 77 tokens per session (6,624 once invoked), scanned B, original, MIT.

A research worker that reconstructs why past software decisions were made by examining reviews, tickets, design documents, and incident records.

In plain words
What is it for?
Use it as part of an intent investigation when you need a separate agent to examine historical project evidence and produce a documented rationale.
Why use it?
The reasons for a decision may be scattered across old project records or missing entirely. This worker grades each conclusion by the strength of its evidence and reports gaps honestly.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions subagents; names the NotebookEdit tool.

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 discovery plugin — 7 skills, 6 agents, 1 plugin shipped together

Good fit Use it as part of an intent investigation when you need a separate agent to examine historical project evidence and produce a documented rationale.

Compare 6 agents 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 melodic-software/claude-code-plugins
Claude Code
/plugin install discovery

Made for: Claude Code.

Or install discovery, the plugin that ships this one along with the rest of its 7 skills, 6 agents, 1 plugin.

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 intent-tracer

README.md
[![agentmods](https://agentmods.dev/badge/agents/melodic-software/claude-code-plugins/intent-tracer/github.svg)](https://agentmods.dev/agents/melodic-software/claude-code-plugins/intent-tracer)
Your own site
<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.

agentmods 80×15 button for intent-tracer

Your own site · 80×15
<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>
Per session 77 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,624 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.00077 $0.06624
Opus 5.5 $0.00031 $0.02650
Sonnet 5.5 $0.00015 $0.01325
Haiku 4.5 $0.00008 $0.00662

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

Security

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.

plugins/discovery/agents/intent-tracer.md · 417 lines

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 as topic_as_received below. You cannot infer it, and do not rely on seeing an unfilled slot in the preloaded Investigate 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 .gitignore guard 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 as low, medium, or full (parent contract, "Budget: vocabulary"); Turn budget: states the turn by which you stop gathering, in the same unit as your maxTurns. 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 in open_questions.
  • Capability flags the parent probed. nested-spawning is 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 by persistence: below. Full reasoning: ${CLAUDE_PLUGIN_ROOT}/reference/parent-contract.md.

Read the full file on GitHub · 417 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. 14d ago Changed f5cb7c6316e7
  2. 17d ago Changed · -4 lines 5bdb4cfa8538
  3. 18d ago Changed · -6 lines e6db7c4b0262
  4. 26d ago Changed · +34 lines daa901052b03
  5. 1mo ago Changed 0927a3007fe2
  6. 1mo ago Changed c90f99c325d2
  7. 1mo ago Changed 35e19abc3f14
  8. 2mo ago Changed · -4 lines cafa8e48bda0
  9. 2mo ago Changed · +13 lines edcd0c1a8457
  10. 2mo ago First seen · 384 lines · 77 tokens per session scan B fcfabdccfb55

Subscribe to this mod's changes

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.

Related

intent-tracer compared with agents from other repositories

intent-tracer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
intent-tracermelodic-software/claude-code-pluginsAgent33todayMITB77Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code