Ast Grep Surgeon banner
travofoz travofoz

Ast Grep Surgeon

Research community

Description

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

Installation

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.

Full documentation available on GitHub

View Source Repository