cognitx-leyton

Trace Endpoint — Development skill for Claude Code

Development community

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

Terminal
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:

  1. 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 Repository