Trace to skill compiler

From Mountain-Nomad-BC/Pacify-X · View interactive version

Trace to skill compiler is an AI agent skill from the GitHub repository Mountain-Nomad-BC/Pacify-X. Convert repeated verified trajectories into candidate governed skill packages. Use when the task requires this bounded operational control; keep it inactive otherwise.

How to use this skill

Skill file

trace-to-skill-compiler

Purpose

Convert repeated verified trajectories into candidate governed skill packages.

Use when

Do not use when

Required inputs

Outputs

Procedure

  1. Normalize successful and failed traces into contracts/engineering-process-record.schema.json; reject unverified outcomes or recoveries.
  2. Preserve why each decision and tool was chosen, including alternatives and effects.
  3. Run engineering-bootstrap process compile --record <record.json> to derive decision, tool, and execution graphs.
  4. Identify invariant steps, branches, activation, termination, recovery, and evidence requirements.
  5. Compare against existing skills before drafting; prefer an evidenced improvement over a duplicate skill.
  6. Generate positive, negative, recovery, effect-boundary, and termination tests.
  7. Submit the inert result through the skill admission controller; never activate from a trace alone.

Guardrails

Integration points

Failure modes to test

Operational metrics

Completion requirements

The skill is complete only when structured outputs are emitted, evidence references resolve, declared postconditions are checked, and the execution wrapper records the result. Any memory remains a candidate until framework promotion controls accept it.

Research basis

Runtime binding

Completion and evidence

Return a structured decision, reasons, outputs, and evidence references. Treat unresolved provenance, permissions, required inputs, or postconditions as a fail-closed result. Candidate memory, research, generated skills, and speculative work never become active without separate admission and evidence.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.