| name | omf |
| description | Track agent work with OMF, preserve evidence, and promote reusable capabilities. |
OMF Skill
Purpose
Use OMF to turn useful agent work into evidence-backed, reusable capabilities.
OMF is not the agent runtime. Continue using the current agent/runtime for the
actual task.
Activation
Activate this skill when the user says any of the following:
- "$omf"
- "/omf"
- "use OMF"
- "use omf skill"
- "track this task with OMF"
- "extract this capability"
- "export this capability to another agent/runtime"
- "make this reusable"
Operating Rules
- Do not interrupt the user's normal task flow.
- Start an OMF session when the task begins.
- Record the user's goal, assumptions, constraints, files touched, commands,
diffs, tests, artifacts, and feedback.
- Prefer structured OMF commands or MCP tools over ad-hoc notes.
- Do not run risky commands through OMF unless the user explicitly approves.
- At task completion, decide whether the process is reusable.
- If reusable, suggest or run capability promotion.
- If the user asks to use the process in another runtime, export the
canonical archive package and runtime projection.
- Keep canonical capability source in OMF; runtime-specific skill files are
projections.
- Treat copying a runtime projection as launcher installation only; the
target project must still run
omf capability import.
CLI And MCP Discovery
- Before using an OMF CLI command from memory, run
omf --help and the
relevant subcommand help, such as omf session --help,
omf session event --help, omf promote --help, and
omf capability export --help. For portability work, also check
omf capability import --help, omf capability unpack --help,
omf capability validate --help, and omf verify package --help.
- Prefer structured MCP tools for portable records:
omf_record_input,
omf_record_artifact, omf_record_validation, and omf_record_decision.
- If MCP is unavailable, record equivalent CLI events:
context for inputs,
artifact for outputs, test_result for validations, and decision for
promotion rationale.
omf promote uses the strict quality gate by default; do not use
--no-strict unless the user explicitly asks to promote legacy or incomplete
evidence.
Typical Flow
- Start tracking:
omf session start --runtime <runtime> --model <model> --goal "..."
- Record events:
omf session event <session_id> --type command --summary "..."
- Finish session:
omf session finish <session_id> --outcome success|failure|unknown
- Materialize evidence:
omf session materialize <session_id>
- Promote capability if useful:
omf promote <evidence_id> --name <capability_name> --description "..."
- Export capability if requested:
omf capability export <capability_name> --target <runtime> --out <path>
- Verify the package:
omf verify package <path>.omfcap.tar.gz
- Import into the target project before any target run:
omf capability import <path>.omfcap.tar.gz --runtime <runtime> --project <target_project> --validate
- Validate with target evidence or a target run:
omf capability validate <capability_name> --target <runtime> --run-command "..."