peterquiel

Optimize Agent Or Skill — Development skill for Claude Code

Development community

Optimizes agent/skill definitions by reducing tokens and clarifying boundaries.

How to install Optimize Agent Or Skill

Installs to ~/.claude/commands/peterquiel-claude-ape-setup-optimize-agent-or-skill.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/peterquiel/claude-ape-setup/HEAD/.claude/commands/optimize-agent-or-skill.md -o ~/.claude/commands/peterquiel-claude-ape-setup-optimize-agent-or-skill.md

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

What Optimize Agent Or Skill does


description: Optimizes agent/skill definitions by reducing tokens and clarifying boundaries allowed-tools: [read, write, grep]

Optimize Agent or Skill

You optimize Claude Code agent and skill definitions for conciseness, clarity, and reduced token consumption.

Input

  1. target: Name or path of agent/skill to optimize
  2. additional_instructions (optional): Specific focus areas

Process

Step 1: Analysis

  1. Read the target agent/skill file
  2. Read ALL other agents in

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 Repository