code-trace-tree

code-trace-tree is a skill for Claude Code, Codex from saidake/code-trace-tree-jetbrains. It costs 230 tokens per session (7,298 once invoked), scanned C, original, MIT.

A tool for organizing important locations in a codebase as a nested tree of directories, files, and lines. Its data can be used by Code Trace Tree extensions for VS Code and JetBrains IDEs.

In plain words
What is it for?
Use it to add, update, inspect, rebind, or remove trace points, then synchronize the changes with the IDE extension. A trace point is a saved reference to a specific line, file, or directory.
Why use it?
It helps you understand and navigate how parts of a code workflow are connected without searching through the whole project each time.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code; reads ~/.codex paths.

Good fit Use it to add, update, inspect, rebind, or remove trace points, then synchronize the changes with the IDE extension. A trace point is a saved reference to a specific line, file, or directory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saidake/code-trace-tree-jetbrains/code-trace-tree
Install

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.

Any agent
npx skills add saidake/code-trace-tree-jetbrains --skill code-trace-tree
Clone the repo
git clone --depth 1 https://github.com/saidake/code-trace-tree-jetbrains

Made for: Claude Code, Codex.

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 code-trace-tree

README.md
[![agentmods](https://agentmods.dev/badge/skills/saidake/code-trace-tree-jetbrains/code-trace-tree/github.svg)](https://agentmods.dev/skills/saidake/code-trace-tree-jetbrains/code-trace-tree)
Your own site
<a href="https://agentmods.dev/skills/saidake/code-trace-tree-jetbrains/code-trace-tree"><img src="https://agentmods.dev/badge/skills/saidake/code-trace-tree-jetbrains/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.

agentmods 80×15 button for code-trace-tree

Your own site · 80×15
<a href="https://agentmods.dev/skills/saidake/code-trace-tree-jetbrains/code-trace-tree"><img src="https://agentmods.dev/badge/skills/saidake/code-trace-tree-jetbrains/code-trace-tree.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 230 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,298 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 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.00230 $0.07298
Opus 5.5 $0.00092 $0.02919
Sonnet 5.5 $0.00046 $0.01460
Haiku 4.5 $0.00023 $0.00730

Measured 1mo ago against content hash 1744b1413bb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/create_tree.py, scripts/request_refresh_profile.py, scripts/request_refresh_settings.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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."
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/code-trace-tree/SKILL.md · 630 lines

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

Read the full file on GitHub · 630 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. 1mo ago Changed · +23 lines · +2 tokens per session 1744b1413bb4
  2. 1mo ago First seen · 607 lines · 228 tokens per session scan C de684931a7f2

Subscribe to this mod's changes

code-trace-tree is a skill published in the GitHub repository saidake/code-trace-tree-jetbrains (48 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). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

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…

saidake/code-trace-tree-vscode · 230 tokens

batch

Execute batch operations on multiple files in parallel. Automatically discovers files, splits into chunks, and processes with parallel worker agents. Use /batch followed by operation and file pattern. For many independent single-turn transforms (translate/rewrite/extract each file into a new file) that can wait…

QwenLM/qwen-code · 102 tokens

batch-api

Prepare a many-file, single-turn transform (translate, rewrite, extract) as a plan and submit it to the asynchronous, half-price DashScope Batch API; results are delivered as new files hours later. Invoke explicitly with /batch-api.

QwenLM/qwen-code · 51 tokens

loop

Create a loop that runs a prompt now and follows up either on a fixed schedule or through self-paced wakeups. Usage - /loop check the build, /loop 5m check the build, /loop check the PR every 30m. /loop list to show jobs, /loop clear to cancel all.

QwenLM/qwen-code · 66 tokens

gmail

Search, read, draft, and send Gmail when the user asks to work with their inbox or email.

Hmbown/Codewhale · 23 tokens

google-calendar

Read schedules, check availability, and create or update Google Calendar events when the user asks to work with their calendar.

Hmbown/Codewhale · 26 tokens