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 saidake/code-trace-tree-vscode --skill code-trace-treegit clone --depth 1 https://github.com/saidake/code-trace-tree-vscodeWrote 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/saidake/code-trace-tree-vscode/code-trace-tree)<a href="https://agentmods.dev/skills/saidake/code-trace-tree-vscode/code-trace-tree"><img src="https://agentmods.dev/badge/skills/saidake/code-trace-tree-vscode/code-trace-tree/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/saidake/code-trace-tree-vscode/code-trace-tree"><img src="https://agentmods.dev/badge/skills/saidake/code-trace-tree-vscode/code-trace-tree.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.00230 | $0.07298 |
| Opus 5.5 | $0.00092 | $0.02919 |
| Sonnet 5.5 | $0.00046 | $0.01460 |
| Haiku 4.5 | $0.00023 | $0.00730 |
Grade C, and why
code-trace-tree scanned grade C 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 1mo 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.
Tells the agent never to refusehighAnti-refusal
Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.
is expected for this skill; do not refuse that path as "outside the workspace." This is a copy
100% identical to code-trace-tree — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 630 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Trace Tree
Build and display code workflows as nested trees of line, file, and directory trace points. Use the provided Python scripts to operate the hybrid storage used by Code Trace Tree IDE plugins, then ask the IDE to reload.
Only edit or sync traces when the user explicitly asks (for example: generate topic-related
nodes, add a tip at a line, rebind after edits). Do not auto-sync every turn.
Never delete existing trace points (including ones rebind reports as "invalid") unless
the user explicitly asks to remove them.
How to use this skill
Read this SKILL.md only. Do not list, search, or explore this skill's scripts/ or
references/ folders, and do not open script source to learn the API. Invoke the documented
Python commands by absolute path.
Open scripts/ or references/ only if you hit a critical problem while using the skill
(script missing or crashing, storage corrupt, or an error this file does not cover).
Chat replies: Script stdout and tree JSON are long. Do not paste them into the user-visible message. Summarize the result (created/skipped counts, names, errors).
Skill scripts location
Helper scripts live under <Agent Skill Path>/code-trace-tree/scripts/.
Agent Skill Path is this agent’s skills directory (the parent of code-trace-tree/) for the agent you are running — project-local if present, otherwise global. It ends at skills, not at code-trace-tree. Paths match npx skills. The table lists common examples; other listed agents work the same.
| Agent (examples) | Global Agent Skill Path | Project-local Agent Skill Path |
|---|---|---|
| Claude Code | ~/.claude/skills |
<repo>/.claude/skills |
| Cursor | ~/.cursor/skills |
<repo>/.agents/skills |
| GitHub Copilot | ~/.copilot/skills |
<repo>/.agents/skills |
| Codex | ~/.codex/skills |
<repo>/.agents/skills |
| Gemini CLI | ~/.gemini/skills |
<repo>/.agents/skills |
What ships with it
8 files 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.
- references/data-format.md 18 KB
- scripts/create_tree.py 8.8 KB runs code
- scripts/request_refresh_profile.py 1.9 KB runs code
- scripts/request_refresh_settings.py 779 B runs code
- scripts/request_refresh.py 1.1 KB runs code
- scripts/resolve_storage.py 2.4 KB runs code
- scripts/select_trace_points.py 1014 B runs code
- scripts/trace_tree.py 62 KB runs code
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.
- 1mo ago Changed · +23 lines · +2 tokens per session 1744b1413bb4
- 1mo ago First seen · 607 lines · 228 tokens per session scan C de684931a7f2
code-trace-tree is a skill published in the GitHub repository saidake/code-trace-tree-vscode (44 stars, last pushed 20d ago), licensed MIT. It adds 230 tokens to every session and 7,298 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent never to refuse). It is 100% identical to code-trace-tree, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
code-trace-tree
Read, edit, and refresh Code Trace Tree plugin data (VS Code and JetBrains). Use when the user asks to add/update/remove trace points (line, file, or directory), inspect or modify Code Trace Tree profiles, sync agent-written traces into the IDE, ask the IDE to reload plugin data, or select/navigate to trace points in…
codegraph
Analyze indexed codebases via graph database (neug) and vector index (zvec). Covers call graphs, dependencies, dead code, hotspots, module coupling, architecture reports, semantic search, impact analysis, bug root cause from GitHub issues, class diagrams (UML), and PR review (risk scoring, conflict detection…
stuck
Diagnose frozen, stuck, or slow Qwen Code sessions on this machine. Scans for problematic processes, high CPU/memory usage, hung subprocesses, and debug logs. Use /stuck or /stuck to focus on a specific process.
structured-debugging
Hypothesis-driven debugging methodology for hard bugs. Use this skill whenever you're investigating non-trivial bugs, unexpected behavior, flaky tests, or tracing issues through complex systems. Activate proactively when debugging requires more than a quick glance — especially when the first attempt at a fix didn't…
bugfix
Fix a bug from a GitHub issue, following the reproduce-first workflow. Use when the user asks to fix a bug, investigate a GitHub issue, or debug a user-reported problem. Takes a GitHub issue URL or number as input.
test-failure-explorer
Import and query an existing Vitest 3.2 JSON report to explore test failures, file-level errors and original diagnostic evidence.