trace-mcp
Skill10 starsChanged 4 months agoMITView on GitHub
Use trace-mcp tools for code navigation, impact analysis, and framework-aware queries instead of Read/Grep/Glob/Bash. Activate whenever the agent needs to explore, understand, or modify a codebase that has trace-mcp indexed.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- nikolai-vysotskyi/trace-mcpedited, first seen Sep 6, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- nikolai-vysotskyi/trace-mcp★ 20578% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository177 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/llms-full.txtllms.txt
- docs/llms.txtllms.txt
- llms.txtllms.txt
- academic-cv-builderSkill
- agenticx-a2a-connectorSkill
- agenticx-agent-builderSkill
- agenticx-automation-crontaskSkill
- agenticx-deployerSkill
- agenticx-memory-architectSkill
- agenticx-quickstartSkill
- agenticx-skill-managerSkill
- agenticx-tool-creatorSkill
- agenticx-workflow-designerSkill
- ai-slop-detectorSkill
- alert-managerSkill
- algorithmic-artSkill
- api-gatewaySkill
- backlink-analyzerSkill
- brand-guidelinesSkill
- canvas-designSkill
- career-changer-translatorSkill
- Codex-apiSkill
- Codex-skill-rustSkill
- claw-releaseSkill
- clawsec-clawhub-checkerSkill
- clawsec-feedSkill
- clawsec-nanoclawSkill
- clawsec-scannerSkill
- clawsec-suiteSkill
- clawtributorSkill
- cn-statsSkill
- codebase-documenterSkill
- code-dev-workflowSkill
- competitor-analysisSkill
- content-experimentation-best-practicesSkill
- content-gap-analysisSkill
- content-modeling-best-practicesSkill
- content-quality-auditorSkill
- content-refresherSkill
- context-mode-opsSkill
- context-modeSkill
- cover-letter-generatorSkill
- creative-portfolio-resumeSkill
- crypto-reportSkill
- ctx-doctorSkill
- ctx-insightSkill
- ctx-purgeSkill
- ctx-statsSkill
- ctx-upgradeSkill
- deep-cleanSkill
- doc-coauthoringSkill
- docxSkill
- domain-authority-auditorSkill
- edgeoneSkill
- edge-ttsSkill
- entity-optimizerSkill
- executive-resume-writerSkill
- fallowSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 0 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 52
Batch independent queries: Use batch when you need 2+ independent tool calls:
- Very specific: line 60
Never read the same file twice: Use get_outline once, then get_symbol for specific pieces.
- Very specific: line 62
Read-before-Edit optimization: When you must Read a file to edit it:
- Very specific: line 63
Call get_outline first to find the line range of the target symbol.
- Very specific: line 64
Read only that range with offset + limit.
- Very specific: line 69
Call register_edit with the edited file_path to reindex just that file and invalidate caches.
- Very specific: line 70
If the response includes _duplication_warnings, review the referenced symbols — you may be duplicating existing logic.
- Very specific: line 71
Do not re-read the file to "verify" the edit.
- Very specific: line 75
Call check_duplication with { name, kind } to verify no similar symbol exists.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
trace-mcp — Code Intelligence Routing
trace-mcp is a framework-aware code intelligence MCP server. It exposes 120+ tools that return semantic, structured results over a cross-language dependency graph. When trace-mcp is available, it is almost always cheaper and more accurate than native file tools.
When to Use
Activate this skill whenever you need to:
- Find a function, class, method, route, component, or any symbol
- Understand a file, module, or feature before editing
- Determine what breaks if you change something
- Trace a request flow, call graph, or data flow
- Audit architecture, dead code, tests, or security
Do not use Read, Grep, Glob, or shell ls/find/cat/head/tail for exploring source code (.ts, .js, .py, .php, .go, .rb, .java, etc.). Use trace-mcp tools instead. Native tools stay allowed only for non-code files (.md, .json, .yaml, configs) or immediately before an Edit on a known file.
Start-of-Session Checklist
get_project_mapwithsummary_only=true— orient yourself to the project structureget_task_contextwithtask: "<natural-language description>"— gather all relevant code in a single call instead of chainingsearch→get_symbol→Read
Decision Matrix
| Task | trace-mcp tool | Instead of |
| Find a symbol by name | search | Grep |
| Understand a file before editing | get_outline | Read (full file) |
| Read one symbol's source | get_symbol | Read (full file) |
| Multiple symbols + shared imports | get_context_bundle | chained get_symbol |
| What breaks if I change X | get_change_impact | guessing |
| Who calls this / what does it call | get_call_graph | Grep |
| All usages of a symbol | find_usages | Grep |
| Implementations of an interface | get_type_hierarchy | Grep / ls |
| Classes implementing X | search with implements filter | Grep |
| Tests for a symbol or file | get_tests_for | Glob + Grep |
| Project overview | get_project_map (summary_only) | Bash ls/find |
| Context for a task | get_task_context / get_feature_context | reading many files |
| HTTP request flow | get_request_flow | reading route + controller files |
| DB model relationships | get_model_context | reading model + migrations |
| Component tree | get_component_tree | reading component files |
| Circular dependencies | get_circular_imports | manual tracing |
| Dead code / dead exports | get_dead_code / get_dead_exports | Grep for unused |
| Project health / coverage gaps | self_audit | manual inspection |
| Complexity / hotspots | get_complexity_report / get_risk_hotspots | guessing |
Token-Efficiency Rules
- Batch independent queries. Use
batchwhen you need 2+ independent tool calls:batch({ calls: [ { tool: "get_outline", args: { path: "src/foo.ts" } }, { tool: "get_outline", args: { path: "src/bar.ts" } }, { tool: "search", args: { query: "handleRequest", kind: "function" } } ]}) - Never read the same file twice. Use
get_outlineonce, thenget_symbolfor specific pieces. - Prefer
get_context_bundleover chainedget_symbolcalls — it deduplicates shared imports. - Read-before-Edit optimization. When you must
Reada file to edit it:- Call
get_outlinefirst to find the line range of the target symbol. - Read only that range with
offset+limit. Never read a 500-line file to edit 5 lines.
- Call
- Do not delegate code exploration to subagents. Agent subprocesses carry ~50k tokens of overhead before doing anything. Use trace-mcp tools in the main conversation instead.
After Editing a File
- Call
register_editwith the editedfile_pathto reindex just that file and invalidate caches. This is much lighter than a fullreindexand keeps subsequent queries accurate. - If the response includes
_duplication_warnings, review the referenced symbols — you may be duplicating existing logic. - Do not re-read the file to "verify" the edit. The
Edittool already confirmed success.
Before Creating New Symbols
- Call
check_duplicationwith{ name, kind }to verify no similar symbol exists. Prevents reinventing existing logic.
Health Checks (Once Per Session)
audit_config— stale references in AGENTS.md / settingsself_audit— dead exports, untested code, hotspotsget_tech_debt— per-module tech-debt gradesget_optimization_report— detects repeated reads, Bash grep usage, missed trace-mcp opportunities
Related Skills
trace-mcp-refactoring— safe refactoring workflow (risk assessment → rename → impact check)trace-mcp-codemod— bulk mechanical changes viaapply_codemodtrace-mcp-pre-commit— security, quality-gate, and antipattern checks before commit
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

