Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add EzraApple/skills-init --skill trace-codebasegit clone --depth 1 https://github.com/EzraApple/skills-initWrote 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/ezraapple/skills-init/trace-codebase)<a href="https://agentmods.dev/skills/ezraapple/skills-init/trace-codebase"><img src="https://agentmods.dev/badge/skills/ezraapple/skills-init/trace-codebase/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/ezraapple/skills-init/trace-codebase"><img src="https://agentmods.dev/badge/skills/ezraapple/skills-init/trace-codebase.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.00026 | $0.00304 |
| Opus 5.5 | $0.00010 | $0.00122 |
| Sonnet 5.5 | $0.00005 | $0.00061 |
| Haiku 4.5 | $0.00003 | $0.00030 |
Grade A, and why
trace-codebase 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 18d 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.
What it actually says
Trace a codebase
Build a useful mental model from current code. Start at the named feature, entrypoint, or symbol and follow one representative execution path. Answer a narrow lookup directly rather than mapping the whole repository.
Trace inputs, important data shapes, decisions, side effects, and returned or visible results. Identify who owns state, validation, lifecycle, errors, and cancellation. Read representative callers and consumers so a helper is not mistaken for the owning boundary.
Use history when a surprising design, compatibility promise, or regression requires it. Start with the relevant commits and linked discussion; expand to other available sources only when the question needs them. Current behavior does not prove the author's original intent.
Keep observed facts, documented rationale, and inference distinct. Cite the source for consequential claims, preserve contradictions, and say when the reason could not be found.
For a broad subsystem, independent readers can cover separate paths. Give each a bounded question and require source pointers and unknowns. Reconcile their claims against the code before using them.
Explain the main flow, ownership boundaries, contracts that constrain changes, and the few files worth reading next. Use a diagram when it saves explanation. Include only unknowns that matter to the question. Stop at understanding unless the user also requested implementation or redesign.
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.
- 18d ago Changed · -91 lines · -25 tokens per session cd28b8d75b79
- 2mo ago First seen · 125 lines · 51 tokens per session scan A 75b33dd786bf
trace-codebase is a skill published in the GitHub repository EzraApple/skills-init (2 stars, last pushed 19d ago), licensed MIT. It adds 26 tokens to every session and 304 once invoked, about $0.0001 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-08-31.
Other skills, from other repositories
kiro-verify-completion
Verify completion and success claims with fresh evidence. Use before claiming a task is complete, a fix works, tests pass, or a feature is ready for GO.
diagnose-backend-bug
Diagnose a bounded backend or multi-service failure from GitHub Issues, Jira, Aone, user-provided exports, logs, traces, responses, stack traces, or job records. Use when a service, API, RPC, worker, queue, CLI, or scheduled job bug needs correlation through the project's existing observability route before repair; do…
prismer-python-debugpy
Debug Python: pdb REPL + debugpy remote (DAP).
debug-live
Guides root-cause investigations with debugging capabilities by setting breakpoints, starting a debug session, stepping through execution, inspecting variables, and tracing symptoms back to their origin. Prefer it for runtime bugs, failing tests, exceptions, crashes, hangs, wrong/null values, and unexpected output…
dsh-error-handling
A workflow for designing and reviewing how software reports errors, partial success, unknown results, recovery, retries, cancellation, and failure feedback.
remove-deadcode
Remove unused code from this project with ultrawork mode, LSP-verified safety, atomic commits. Triggers: remove dead code, dead code, cleanup, remove unused.