Trace Endpoint — Development skill for Claude Code
Trace an endpoint URL through its handler methods and everything they transitively call.
How to install Trace Endpoint
Installs to ~/.claude/commands/cognitx-leyton-graphrag-code-trace-endpoint.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/cognitx-leyton/graphrag-code/HEAD/.claude/commands/trace-endpoint.md -o ~/.claude/commands/cognitx-leyton-graphrag-code-trace-endpoint.md Restart Claude Code, or start a new session, for it to be picked up.
What Trace Endpoint does
allowed-tools: Bash(codegraph query:*), Bash(codegraph query:*), Bash(.venv/bin/codegraph query:*) description: Trace an endpoint URL through its handler methods and everything they transitively call
Usage
/trace-endpoint
Matches against `:Endpoint.path CONTAINS $ARGUMENTS` — so partial matches work (`/users` picks up `/users/:id`, `/users/profile`, etc.).
Runs two queries in sequence:
- Surface — the matched endpoints and their handler methods (the A
Alternatives in Development
- Correction Handler — Correction 处理 Prompt 24k ★
- Bypass 403 — Probe a 403/401 endpoint with the most-paid bypass tricks (header injection, path encoding, method swap, WAF f 4.5k ★
- API — All methods are exposed as MCP tools 1.7k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Root Cause Tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger - systematical
Diagramsystemflow
Read-only forensic analysis of this repo — trace system flows from entry points (HTTP routes, CLI, jobs, consu
Create API
Scaffold a new API endpoint — route, handler, types, tests — wired into the server
Endpoint
Add an OpenAPI-first endpoint — schema, route definition, handler, verification
Game Development
Route a game project through Sigma's existing steps and nested game-planning methods.
Call Graph
Trace callers, callees, or paths using the call graph
Related Agents
Add Task Type
Adds a new AI task type to the woolball server: endpoint, handler, preprocessing route, logic class, DI regist
API Exploratory Tester
Performs spec-aware, contract-aware session-based exploratory testing of a live API — REST or GraphQL — given
Taa Explainer
Use this agent to explain how existing code actually works — tracing a call path end to end across layers (API