skill-optimize

Automate the evaluation-improvement cycle for GAAI skills with human-gated SKILL.md changes.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/petrSimonidesXart/xPmGateway --skill skill-optimize
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-optimize
Source: https://github.com/petrSimonidesXart/xPmGateway/tree/main/.gaai/core/skills/cross/skill-optimize
Command: npx skills add https://github.com/petrSimonidesXart/xPmGateway --skill skill-optimize

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Structured evaluation and targeted improvement for GAAI skills to measure quality, detect regressions, and guide safe updates.

Core Features & Use Cases

  • End-to-end evaluation loop: authoring eval criteria, generating representative corpora, running baseline scores, performing error analysis, and producing improvement proposals.
  • Append-only ledger tracking across iterations to surface trends, regressions, and stability, with per-assertion visibility.
  • Human-gated optimization: requires explicit human approval before applying SKILL.md edits or changing the eval design.

Quick Start

Trigger a new optimization cycle on a target SKILL.md to generate evals, corpus, and a quality ledger for ongoing improvement.

Frequently Asked Questions about skill-optimize

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I evaluate GAAI skill quality and detect regressions after updating a SKILL.md?

To evaluate GAAI skill quality and detect regressions after updating a SKILL.md, you can automate the evaluation-improvement cycle. This process generates baseline scores, performs error analysis, and tracks results in a persistent ledger to measure quality and surface stability issues.

What is the best way to set up a baseline quality assessment for GAAI skills?

The best way to set up a baseline quality assessment for GAAI skills is to trigger an evaluation cycle that authors eval criteria and generates a representative corpus. This cycle outputs a baseline score file and starts an append-only ledger to track quality across iterations.

How does the skill improvement process handle changes to eval design and SKILL.md?

The skill improvement process enforces a human-gated optimization workflow, requiring explicit human approval before applying any edits to SKILL.md or changing the eval design. This ensures safe updates and prevents unintended regressions in skill behavior.

Can I use existing eval files and corpus directories when running a skill evaluation?

Yes, you can use existing eval files and corpus directories when running a skill evaluation by providing them as optional inputs. The process integrates these inputs to generate score iterations and update the persistent ledger without authoring new eval criteria from scratch.

What outputs are generated during an automated skill evaluation and improvement cycle?

During an automated skill evaluation and improvement cycle, the outputs generated include an evals.yaml file, score-{iteration}.yaml files, and a persistent ledger. These outputs provide per-assertion visibility and track quality trends across multiple iterations.