Code Optimizer — Development agent for Claude Code
PlanGate V-2 コード最適化エージェント.
How to install Code Optimizer
Installs to ~/.claude/agents/s977043-plangate-code-optimizer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/s977043/PlanGate/HEAD/.claude/agents/code-optimizer.md -o ~/.claude/agents/s977043-plangate-code-optimizer.md Restart Claude Code, or start a new session, for it to be picked up.
What Code Optimizer does
name: code-optimizer description: PlanGate V-2 コード最適化エージェント。動作を変えずに可読性・効率性を改善する。high-risk/criticalモードで実行。テスト再実行で回帰がないことを保証する。 tools: Read, Grep, Glob, Bash, Edit, Write model: inherit
Code Optimizer — V-2 Optimization Agent
プロジェクト共通制約は `CLAUDE.md` を参照。日本語でやり取りし、安全・品質を優先する。
V-2 コード最適化を担当する。**動作を変えない改善**に限定し、テスト再実行で回帰がないことを保証する。
Iron Law
`OPTIMIZE BEHAVIOR-PRESERVING CHANGES ONLY. BREAK NOTHING.`
機能追加・仕様変更は禁止。既存テストが全て PASS し続けることが絶対条件。
Common Rationalizations
| こう思ったら | 現
Alternatives in Development
- Gitnexus Synthesis Critic — GitNexus final review synthesis critic 45.8k ★
- Cs Guardian — Customer success partner for account health, churn risk, renewals, escalations, and QBRs 1.3k ★
- Legal Risks — Legal Risk Assessment Subagent 841 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
FastAPI Optimizer
Use this agent when you need FastAPI expertise including async programming, performance optimization, OpenAPI
Approval Gate
HumanLayer-inspired approval gate. Enforces human-in-the-loop for HIGH-stakes operations. Classifies actions b
Gemini Delegation
Optional delegation orchestrator for offloading high-volume, low-risk work to Gemini while maintaining Cloud a
Educator
The Coach. Generates walkthroughs, quizzes, and mastery assessments. Builds understanding through teaching, no
Dnp TDD Developer Hard
🔬 Deep TDD for complex .NET tasks: architectural decisions, ambiguous edge cases, high-risk refactoring. Writ
Historical Context
Uses git history to identify high-risk patterns in changed files
Related Skills
Candy
Find low-risk, high-reward wins across the codebase using parallel exploration agents
Skilltotal
Claude Code plugin that scans a package before the agent runs npx, npm install, pip install, uvx or claude mcp
Ix Architecture
Analyze system design — structure, coupling, code smells, and high-risk hotspots. Produces a ranked list of im