skill-optimize

Automate skill document optimization with trajectory-driven edits and validation gates.

1|Updated May 14, 2026
One-click install
npx skills add https://github.com/epicsagas/epicsagas --skill skill-optimize-epicsagas
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: skill-optimize
Source: https://github.com/epicsagas/epicsagas/tree/main/skills/skill-optimize
Command: npx skills add https://github.com/epicsagas/epicsagas --skill skill-optimize-epicsagas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires skillopt, and includes scripts (resource) components.

What problem does it solve?

Automate the optimization of natural-language skill documents for frozen LLM agents using trajectory-driven edits and a validation gate to avoid regressions.

Core Features & Use Cases

  • Automated skill optimization: train, benchmark, and produce an optimized best_skill.md for a target skill directory.
  • Data-driven improvements: generate and use real task traces for evaluation and refinement.
  • Environment-aware training: build adapters and data splits to support multi-environment optimization.

Quick Start

Run SkillOpt on a target skill to train, benchmark, and produce an optimized best_skill.md under the target directory.

Frequently Asked Questions about skill-optimize

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

FAQPage Schema
How do I optimize LLM skill documents automatically using task traces?▼

To automate skill document optimization, use trajectory-driven edits and validation gates on a target skill directory with real task traces, producing an optimized best_skill.md output.

What is trajectory-driven optimization for frozen LLM agents?▼

Trajectory-driven optimization for frozen LLM agents refines natural-language skill documents using real task traces, applying edits and validation gates to prevent performance regressions.

How do I benchmark and train LLM skills across multiple environments?▼

Benchmark and train LLM skills across multiple environments by building adapters and data splits to support multi-environment optimization, separating optimizer and target models for token efficiency.

How do I prevent regression when updating LLM agent skill documents?▼

Prevent regression during LLM skill document updates by applying validation gates that perform before and after evaluation using real data benchmarks on patch-based updates.

Do I need real task traces to benchmark and optimize my LLM skill?▼

Yes, real task traces in the target skill directory are required to generate data-driven improvements, perform real data benchmarking, and validate the optimization results.

What's the best way to train an optimizer model separately from the target model?▼

Use token-efficient training workflows that separate the optimizer model from the target model, applying patch-based updates to the target skill directory for efficient optimization.