Iterating Agensi Skills

A systematic framework to diagnose, refine, and harden existing AI agent skills based on real-world performance.

Install
cmdop skills install agensi-iterating-agensi-skills

Iterating Agensi Skills is a developer-centric methodology for systematically improving existing AI agent skills defined in SKILL.md files. Rather than relying on ad hoc prompt tweaking, it guides an agent through a structured, multi-phase review process to identify why a skill is failing or underperforming in practice.

The framework evaluates each skill against six core areas: Clarity, Boundaries, Procedures, Output, Safety, and Metadata. This structured lens helps surface weaknesses that span the entire skill definition, not just surface-level instruction wording. Diagnoses are grounded in actual session logs and observed errors rather than guesswork, so fixes are prioritized by real-world impact.

The skill converts vague or ambiguous instructions into strict, multi-phase procedures with explicit hard stop conditions. This targets a common failure mode where incremental manual edits introduce behavioral regressions elsewhere in the skill. The output of a review is a Skill Review Summary that includes a prioritized diagnosis table, a list of high-impact changes, and phase-by-phase improvement plans designed to harden agent logic for production use.

This capability is appropriate when an agent skill library has accumulated quality debt or when specific skills are producing inconsistent, incorrect, or unsafe outputs. It is not a general agent-building tool and does not itself execute or deploy agent skills — it produces improvement plans for existing SKILL.md files.

Use cases

  • Diagnose why an existing SKILL.md produces inconsistent agent behavior across sessions
  • Prioritize which skill weaknesses to fix first based on evidence from session logs
  • Replace vague agent instructions with strict, multi-phase procedures and hard stop conditions
  • Audit a skill library across the six core areas: Clarity, Boundaries, Procedures, Output, Safety, and Metadata
  • Generate a Skill Review Summary with a prioritized diagnosis table and phase-by-phase improvement plan
  • Reduce behavioral regressions caused by incremental manual prompt edits

When to use it

  • An existing agent skill is producing incorrect, inconsistent, or unsafe outputs in production
  • A skill library has grown organically and lacks systematic quality checks
  • Incremental prompt edits have introduced regressions and a structured reset is needed
  • A team needs a repeatable review process rather than informal debugging

When not to use it

  • Building a new agent skill from scratch — this framework is for iterating on existing SKILL.md files
  • Deploying or executing agent skills directly — this skill only produces review plans
  • Non-SKILL.md agent frameworks or formats not based on the Agensi skill structure
  • Projects that do not yet have session logs or real-world usage data to ground the diagnosis