CLI Runtime Bridge Orchestration
Use this skill when a governed session needs to continue in a CLI-based agent such as Codex CLI, Claude Code, Gemini CLI, or another prompt-file driven runtime.
Operating Rules
- Start from the governed handoff bundle, actor inbox, and work packet.
- Prefer portable launch envelopes over hidden chat context.
- Capture the actual command or wrapper script used for the run.
- Record stdout, stderr, and produced artifacts in governed files whenever possible.
- Return the result through a governed receipt or runtime state file before advancing the session.
Recommended Flow
- Prepare the runtime adapter handoff.
- Prepare the execution bridge.
- If the runtime has a stable native contract, use a native executor plan.
- If the runtime is vendor-specific or sandbox-constrained, use the generic CLI bridge and customize the command template locally.
- Record the outcome through governed receipts, logs, or runtime state artifacts.
What Good Looks Like
- The bridge manifest identifies the exact handoff files and expected result paths.
- The CLI command can be reproduced by another operator.
- The governed session can resume without reading prior chat logs.