Optimize Agent — Development skill for Claude Code
Select and optimize an agent using the agent-optimizer specialist.
How to install Optimize Agent
Installs to ~/.claude/commands/dicenzo-agent-framework-optimize-agent.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/dicenzo/agent-framework/HEAD/.claude/commands/optimize-agent.md -o ~/.claude/commands/dicenzo-agent-framework-optimize-agent.md Restart Claude Code, or start a new session, for it to be picked up.
What Optimize Agent does
description: Select and optimize an agent using the agent-optimizer specialist allowed-tools: Task(*), Read(*), Glob(*)
**Request**: $ARGUMENTS
**Task**: Optimzed the agent selected in the arguments **Instructions**: Instruct the agent-optimizer agent to optimize the agent selected in the argument. If the arguments are empty or null, prompt the user to enter the agent they would like to optimize.
Alternatives in Development
- Skill Creator — Create new skills, modify existing skills, and measure skill performance 94.1k ★
- Hermes Agent Self Evolution — ⚒ Evolutionary self-improvement for Hermes Agent — optimize skills, prompts, and code using DSPy + GEPA 5.2k ★
- Analyze Cluster Postmortem — Postmortem analysis of cluster failures → OPTIMIZE PROMPTS to work for EVERY use case 1.7k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Claude Code Optimizer
Optimize Claude Code token usage — 22 skills, 8 hooks, 6 rules. One npm install. Zero manual steps. Cut costs
Claude Opus 4.6 Prompt Optimizer
🛠️ Optimize any raw prompt into a best-practice, production-ready prompt for Claude Opus 4.6 in seconds, enha
Prompt Optimizer
Optimize prompts for Claude & Gemini with local, privacy-first PII anonymization: a Windows/Tauri desktop app
School Select
Recommend and compare schools for research applications
Assign Agent.Skill
Orchestrator-only — read swarm state, select the next unassigned feature, route it to the correct cost tier, a
Warden Select
Measure pending token-warden candidate rules for an agent on the golden suite, evict or activate them, and rec
Related Agents
Md Optimizer
Use this agent when user wants to review, optimize, or upgrade an agent definition (C:/Users/nguye/.claude/age
Agent Optimizer
Use this agent to review and optimize agent configurations for Claude Code. Specializes in prompt engineering,
Context Optimizer
Meta utility agent for token and context optimization. Spawn when needing to compress agent prompts, optimize