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 paulbaranowski/wild-horses/plugin install codepath-visualizerWrote 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/paulbaranowski/wild-horses/codepath-visualizer)<a href="https://agentmods.dev/skills/paulbaranowski/wild-horses/codepath-visualizer"><img src="https://agentmods.dev/badge/skills/paulbaranowski/wild-horses/codepath-visualizer/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/paulbaranowski/wild-horses/codepath-visualizer"><img src="https://agentmods.dev/badge/skills/paulbaranowski/wild-horses/codepath-visualizer.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.00050 | $0.00688 |
| Opus 5.5 | $0.00020 | $0.00275 |
| Sonnet 5.5 | $0.00010 | $0.00138 |
| Haiku 4.5 | $0.00005 | $0.00069 |
Grade A, and why
codepath-visualizer 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 3mo 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 — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
codepath-visualizer
Thin wrapper around codepaths_cli.py status, open, and codepaths_cli.py select. The mapper owns rendering — this skill never re-renders.
Arguments: $ARGUMENTS
Mode 1 — viewer (no args)
-
Precondition gate. Run:
python3 "${CLAUDE_PLUGIN_ROOT}/skills/codepath-mapper/codepaths_cli.py" status- Exit 0 +
"htmlExists": true+"renderStale": false→ continue. - Exit 0 +
"htmlExists": false→ tell userarchitecture.htmlis missing; instruct:run /codepath-mapper first. - Exit 0 +
"renderStale": true→ warn user the HTML is older than the JSONs; recommendrerun /codepath-mapperto regenerate. - Exit non-zero → report the stderr to the user; bail.
- Exit 0 +
-
Open the HTML. Use the platform's default opener:
- macOS:
open docs/codepaths/architecture.html - Linux:
xdg-open docs/codepaths/architecture.html - Windows:
start docs/codepaths/architecture.html
- macOS:
-
Print summary. Echo:
Opened docs/codepaths/architecture.html — {app.name}: {N} codepaths across {Y} components.
Mode 2 — --select (agent picker)
Intended for other agents that need structured context about a codepath the user picks.
-
Precondition gate (same as Mode 1).
-
Run
select:python3 "${CLAUDE_PLUGIN_ROOT}/skills/codepath-mapper/codepaths_cli.py" selectThis will open the HTML with a "Send to agent →" button on each codepath card, then block on the user's pick. Don't add
--outputunless the HTML lives outsidedocs/codepaths/. -
Return the CLI's stdout (a JSON object
{codepath, components}) to the calling agent. Don't paraphrase it — the calling agent expects the structured shape. -
If exit code is 16, the user closed the window without picking. Report this to the calling agent (no codepath was chosen).
Strictly forbidden
- Don't re-render the HTML —
/codepath-mapperowns that. If the HTML is stale, ask the user to re-run the mapper. - Don't invoke
selectwithout first runningstatus— a broken JSON file at select time is a confusing error for the user (server already running, browser already open). - Don't add interactive prompts to the user inside
--selectmode — the calling agent is waiting on stdout; any prompt would block both sides.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 63 lines · 50 tokens per session scan A 148673726ffd
codepath-visualizer is a skill published in the GitHub repository paulbaranowski/wild-horses (14 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 688 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-08-30.
codepath-visualizer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codepath-visualizerpaulbaranowski/wild-horses | Skill | 14 | 1mo ago | MIT | A | 50 | Claude Code |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | today | MIT | A | 71 | Claude Code, Codex |
| observability-audit-sessionsIBM/mcp-context-forge | Skill | 4.9k | today | Apache-2.0 | A | 64 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 343 | today | Apache-2.0 | A | 112 | Claude Code |
| performance-verificationvalkor-ai/loom | Skill | 1.6k | 2d ago | Apache-2.0 | A | 45 | Claude Code, Codex |
| ci-fixersipyourdrink-ltd/bernstein | Skill | 1.2k | yesterday | Apache-2.0 | A | 15 | Claude Code, Codex |