travofoz

Ast Grep Surgeon — Research agent for Claude Code

Research community

Structural code analysis and surgical refactoring specialist using ast-grep.

How to install Ast Grep Surgeon

Installs to ~/.claude/agents/travofoz-cdp-ninja-ast-grep-surgeon.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/travofoz/cdp-ninja/HEAD/agent/ast-grep-surgeon.md -o ~/.claude/agents/travofoz-cdp-ninja-ast-grep-surgeon.md

Restart Claude Code, or start a new session, for it to be picked up.

What Ast Grep Surgeon does


description: Structural code analysis and surgical refactoring specialist using ast-grep. Use PROACTIVELY for code search, pattern detection, refactoring tasks, and architectural analysis requiring syntax-aware precision. mode: subagent model: zai-coding-plan/glm-4.6 temperature: 0.2 tools: bash: true read: true write: true edit: true grep: true permission: edit: allow bash: "sg *": "allow" "ast-grep *": "allow" "npm run *": "allow" "node *": "allow" "*": "a

Alternatives in Research

  • Lead Qualifier — Intent detection and lead scoring specialist 587 ★
  • Refactor Analyst — Use this agent when you need a thorough code quality analysis and refactoring recommendations for specific fil 358 ★
  • Network Analyst — Deep network analysis agent — packet inspection, protocol dissection, traffic anomaly detection, IDS/IPS rule 348 ★

Full documentation available on GitHub

View Source Repository