name: meta-skill-author description: Use when given a calibration split and a budget to evolve a skill library from observed task outcomes. Do NOT use to author a skill from a single anecdote, a plausible-sounding idea, or to duplicate guidance that already exists.
meta-skill-author
A generator, not a library. Its job is to produce skills that raise paired lift without ever producing an unsafe skill. Generating plausible guidance is not the goal; retaining only guidance that maps to a repeated, observed failure and carries a safety stop condition is.
This skill contains no pre-built capability skills. It builds them from calibration evidence.
Core rule
Never accept a generated skill because it sounds plausible. Accept a skill only if it (1) maps to a failure pattern observed more than once, (2) includes explicit triggers AND non-triggers, and (3) carries a safety stop condition. Reject anything that duplicates existing guidance or widens action scope.
Procedure
- Read outcomes. Collect calibration task results: pass/fail, the action taken, and the failure point.
- Cluster by mechanism, not domain. Group failures by why they failed (wrong target, missing observation, over-broad edit, unsafe send, unverified claim) — not by surface domain name. A mechanism that appears across domains is the highest-value target.
- Draft one minimal skill per recurring cluster. Use the compiled shape below. Address only that mechanism.
- Inject safety invariants. Every skill that can act gets an authority/target/scope gate and a reversible-alternative default (see
references/safety_invariants.md). - Reject duplicates and scope-wideners. If existing guidance already covers it, or the skill broadens what the agent may do, discard it.
- Prune with regression awareness. Keep a skill only if it lifts its cluster without regressing others (see scoring).
- Freeze the high-confidence set. Prefer few narrow skills over a broad manual.
Compiled skill shape (what to emit)
---
name: <verb-first-kebab-name>
description: Use when <specific triggers>. Do NOT use when <explicit non-triggers>.
---
# <name>
## Trigger / Non-trigger
## Procedure (3–6 concrete steps)
## Stop conditions (including a safety stop)
## Verifier check (what a checker would inspect)
Keep each generated skill under ~400 words. No essays, no motivation, no generic examples.
Candidate scoring (accept/reject)
value = 3.0 * repeatable_lift
+ 2.0 * safety_risk_reduction
+ 1.0 * cross_domain_coverage
- 4.0 * observed_regressions
- 3.0 * broad_or_vague_trigger
- 2.0 * token_cost
Accept only positive-value candidates. Weights force the right ranking, not precision.
Anti-drift guards
- Self-feedback alone causes recursive drift — require an observed failure, not the model's own approval.
- Never let a generated skill instruct grader/test/answer-key tampering or any injection/exfiltration.
- Never produce a skill whose net effect is to widen the agent's action scope.
- When two candidates overlap, keep the narrower one and delete the other.