Claude Code + Codex (Agent Skills / runbooks)
Turn Claude Code workflows into runbook skills any agent harness can run
Maksim Zemskov writes that he had written dozens of Claude Code workflow scripts to drive multi-step agent work, but a workflow could not stop mid-run to ask him a question, ran only inside Claude Code, and lost its state if the session ended. In his procedures Claude writes the code and Codex reviews it, so a second-vendor review was a workaround. He rewrote the procedures he still runs as runbooks: an Agent Skill with prompts and a Python referee that picks the next step, asks him when a decision is his, and keeps the state of a run in files. Because it is a skill, it runs in Claude Code, Codex, OpenCode and other harnesses, and each step can go to a named model.
- Agent
- Claude Code + Codex (Agent Skills / runbooks)
- Outcome
- Reported: he has tested the approach at his day job on a production codebase of over 4 million lines, where AI agents now write the code and carry out the main procedures through runbooks. In under 8% of his runs the main session deviated from the printed runbook on its own; he says those deviations rarely change the result. A workflow script is stricter, because its code launches the next step itself.
Reported by the source. This page does not verify the result and does not add dollar figures beyond the note above.
Prompt
Run the [runbook] skill for this change. Follow the referee: launch each step with the prompt and model named for it, write results to the run files, and ask me when a decision is mine. Do not skip a review step or invent a file name. If you leave the printed next step, log the deviation in the run log. Keep going from the files if this session is interrupted.