Compile a concrete, parameter-filled execution trace into a reusable Skill with dynamic inputs. This skill implements a 4‑stage closed‑loop pipeline:
1) Trace Interception → 2) DAG Abstraction → 3) Schema+Code Synthesis → 4) Registration.
Use scripts/trace-from-session.js to generate a real trace from OpenClaw session JSONL, or scripts/trace-interceptor.js for JSONL tool event streams.
Use scripts/trajectory-compiler.js to build a DAG and lift variables to inputs.
Compiler emits references/schema.json, references/plan.json, references/run-flow.md, and scripts/run.js.
Compiler writes into the Skills directory and requires a skills refresh.
See references/pipeline.md and references/compiler-spec.md.
共 1 个版本