| name | omf |
| description | Track Claude Code work with OMF, preserve evidence, and promote reusable capabilities. |
OMF Skill For Claude Code
Use OMF as an explicit tracking and capability packaging layer. Continue using
Claude Code for the actual task, and call OMF only to record session events,
materialize evidence, promote reusable workflows, export capability projections,
and validate target runtime imports.
Activation
Activate this skill when the user says any of the following:
- "$omf"
- "/omf"
- "use OMF"
- "track this task with OMF"
- "extract this capability"
- "make this reusable"
- "export this capability"
Operating Rules
- Keep working through Claude Code normally.
- Start an OMF session when the task begins.
- Record meaningful goal, assumption, command, diff, test, artifact, decision,
and feedback events.
- Prefer OMF MCP tools when available; otherwise use the OMF CLI.
- Do not run risky commands through OMF unless the user explicitly approves.
- At completion, materialize evidence and promote the workflow only when it is
meaningfully reusable.
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
omf session start --runtime claude_code --model <model> --goal "..."
omf session event <session_id> --type command --summary "..."
omf session finish <session_id> --outcome success|failure|unknown
omf session materialize <session_id>
omf promote <evidence_id> --name <capability_name> --description "..."
omf capability export <capability_name> --target <runtime> --out <path>
omf verify package <path>.omfcap.tar.gz
omf capability import <path>.omfcap.tar.gz --runtime <runtime> --project <target_project> --validate
omf capability validate <capability_name> --target <runtime> --run-command "..."