[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DMGGCAR9Q6Q1Y0QSNWH2Q3":3,"skill-same:01M7DMGGCAR9Q6Q1Y0QSNWH2Q3":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":38,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M7DMGGCAR9Q6Q1Y0QSNWH2Q3","agent-operated-workflows",null,"Use when a bounded real-world procedure has a deterministic happy path but brownfield, variable, or partially knowable state; when an operation must resume from verified evidence; or when deciding whether agent judgment or ordinary code should own a procedure's control loop.","mvschwarz\u002Fopenrig-world","mvschwarz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F171890339?v=4","01M7DM95A4N5936P8G2FTSPMY7","Mike Schwarz","01M7DM95AX80NY8HZA7XXDYAZR",16,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmvschwarz\u002Fopenrig-world\u002Fblob\u002Fmain\u002Frigs\u002Fworkshop-review-pair\u002Fagents\u002Fworkshop\u002Fskills\u002Fagent-operated-workflows\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: agent-operated-workflows\ndescription: >-\n  Use when a bounded real-world procedure has a deterministic happy path but brownfield, variable,\n  or partially knowable state; when an operation must resume from verified evidence; or when deciding\n  whether agent judgment or ordinary code should own a procedure's control loop.\nmetadata:\n  openrig:\n    stage: provisional\n    audience: any agent operating or designing a bounded procedure\n    sibling_skills:\n      - agent-operated-software\n      - openrig-user\n      - systematic-debugging\n---\n\n# Agent-Operated Workflows\n\nAn **Agent-Operated Workflow** is a bounded procedure whose control loop belongs to an agent. The\nagent observes, interprets, sequences bounded actions, verifies their effects, adapts, and escalates\ngenuine ambiguity. Deterministic code remains the exact substrate; it does not pretend to understand\nevery state of a brownfield world.\n\n## Name the architecture before using it\n\n- **AI-enabled software:** application code owns the control loop and calls a model as one capability.\n- **Agent-Operated Workflow:** an agent owns one bounded procedure with a start and stop condition.\n- **Agent-Operated Software:** an OpenRig agent or rig participates in an ongoing application's live\n  backend or control loop. It may run many workflows; see `agent-operated-software`.\n\nCalling a model is not enough. A deterministic program that consults a model still owns its loop.\n\n## Decide whether the agent earns the loop\n\nUse an agent when the happy path is deterministic but the environment is brownfield, variable,\npartially knowable, or disproportionately expensive to model exhaustively. The judgment is in\ndiscovering what is true and choosing the next safe act.\n\nPrefer ordinary code when the state space is closed and code is simpler and more reliable than\njudgment. A parser, fixed data transformation, or fully enumerated state machine does not become\nbetter because an agent drives it.\n\n## Keep ownership explicit\n\n| Owner | Responsibility |\n|---|---|\n| Runbook | owns policy, the mental model, checkpoints, stop conditions, and escalation rules |\n| Deterministic tools | own context gathering and bounded exact actions |\n| Agent | owns interpretation, sequencing, adaptation, and effect verification |\n| Human | owns destructive ambiguity and product policy |\n\nThe runbook guides judgment; tools enforce the invariants that must not be arguable.\n\n## Operate\n\n1. Establish identity, durable state, the runbook, and the promised outcome.\n2. Inspect with side-effect-free reads or an explicit plan mode.\n3. Choose one bounded action from observed state; do not mechanically replay the happy path.\n4. Verify the effect at the consumer or state surface that could prove it wrong.\n5. Record an observable checkpoint before moving on, so another agent can resume.\n6. Continue, stop at the declared condition, or escalate with evidence and the decision needed.\n\nAn interrupted or timed-out mutation is **indeterminate**, never failed by assumption and never safe\nto retry blind. Where a compatibility period is safer, separate reversible preparation from the\ndestructive finalizer. Idempotence is a claim to prove per action, not a label for the whole run.\n\n## Build\n\nExpose composable verbs, not an optimistic end-to-end controller. Help is inert. Read and plan modes\nare explicit. Mutations are narrow and independently readable. A failure should say what was\nobserved, why the tool stopped, what remains unchanged, the safe next choices, and where its evidence\nlives. Keep checkpoints durable, effects observable, and recovery possible without private developer\nknowledge.\n\nA capability composition is a reusable recipe; this is the execution architecture that operates\ncapabilities toward an outcome. Promote a proven workflow to the composition shelf only after use.\n\n**Public example:** load `skills\u002Fcore\u002Fopenrig-upgrade\u002FSKILL.md` with\n`rig context get` for the upgrade runbook. Its adjacent `scripts\u002F` directory\ncontains the bounded inspection, backup, plugin-refresh and migration helpers.\nFollow that runbook for the procedure; this skill carries the reusable contract.\n","# Agent-Operated Workflows\n\nAn **Agent-Operated Workflow** is a bounded procedure whose control loop belongs to an agent. The\nagent observes, interprets, sequences bounded actions, verifies their effects, adapts, and escalates\ngenuine ambiguity. Deterministic code remains the exact substrate; it does not pretend to understand\nevery state of a brownfield world.\n\n## Name the architecture before using it\n\n- **AI-enabled software:** application code owns the control loop and calls a model as one capability.\n- **Agent-Operated Workflow:** an agent owns one bounded procedure with a start and stop condition.\n- **Agent-Operated Software:** an OpenRig agent or rig participates in an ongoing application's live\n  backend or control loop. It may run many workflows; see `agent-operated-software`.\n\nCalling a model is not enough. A deterministic program that consults a model still owns its loop.\n\n## Decide whether the agent earns the loop\n\nUse an agent when the happy path is deterministic but the environment is brownfield, variable,\npartially knowable, or disproportionately expensive to model exhaustively. The judgment is in\ndiscovering what is true and choosing the next safe act.\n\nPrefer ordinary code when the state space is closed and code is simpler and more reliable than\njudgment. A parser, fixed data transformation, or fully enumerated state machine does not become\nbetter because an agent drives it.\n\n## Keep ownership explicit\n\n| Owner | Responsibility |\n|---|---|\n| Runbook | owns policy, the mental model, checkpoints, stop conditions, and escalation rules |\n| Deterministic tools | own context gathering and bounded exact actions |\n| Agent | owns interpretation, sequencing, adaptation, and effect verification |\n| Human | owns destructive ambiguity and product policy |\n\nThe runbook guides judgment; tools enforce the invariants that must not be arguable.\n\n## Operate\n\n1. Establish identity, durable state, the runbook, and the promised outcome.\n2. Inspect with side-effect-free reads or an explicit plan mode.\n3. Choose one bounded action from observed state; do not mechanically replay the happy path.\n4. Verify the effect at the consumer or state surface that could prove it wrong.\n5. Record an observable checkpoint before moving on, so another agent can resume.\n6. Continue, stop at the declared condition, or escalate with evidence and the decision needed.\n\nAn interrupted or timed-out mutation is **indeterminate**, never failed by assumption and never safe\nto retry blind. Where a compatibility period is safer, separate reversible preparation from the\ndestructive finalizer. Idempotence is a claim to prove per action, not a label for the whole run.\n\n## Build\n\nExpose composable verbs, not an optimistic end-to-end controller. Help is inert. Read and plan modes\nare explicit. Mutations are narrow and independently readable. A failure should say what was\nobserved, why the tool stopped, what remains unchanged, the safe next choices, and where its evidence\nlives. Keep checkpoints durable, effects observable, and recovery possible without private developer\nknowledge.\n\nA capability composition is a reusable recipe; this is the execution architecture that operates\ncapabilities toward an outcome. Promote a proven workflow to the composition shelf only after use.\n\n**Public example:** load `skills\u002Fcore\u002Fopenrig-upgrade\u002FSKILL.md` with\n`rig context get` for the upgrade runbook. Its adjacent `scripts\u002F` directory\ncontains the bounded inspection, backup, plugin-refresh and migration helpers.\nFollow that runbook for the procedure; this skill carries the reusable contract.\n",{"name":5,"metadata":24,"description":7},{"openrig":25},{"stage":26,"audience":27,"sibling_skills":28},"provisional","any agent operating or designing a bounded procedure",[29,30,31],"agent-operated-software","openrig-user","systematic-debugging","main","60438a272b68d091eddb01aad6e399af4996d536","rigs\u002Fworkshop-review-pair\u002Fagents\u002Fworkshop\u002Fskills\u002Fagent-operated-workflows",4,"https:\u002F\u002Fgithub.com\u002Fmvschwarz\u002Fopenrig-world","https:\u002F\u002Fgithub.com\u002Fmvschwarz","https:\u002F\u002Fopenrig.dev","Building OpenRig. Running rogue AI civilizations. Debugging their coordination problems.","2026-11-12 13:31:38",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add mvschwarz\u002Fopenrig-world --skill agent-operated-workflows",{"tool":47,"command":48},"bunx","bunx skills add mvschwarz\u002Fopenrig-world --skill agent-operated-workflows",{"tool":50,"command":51},"pnpm","pnpm dlx skills add mvschwarz\u002Fopenrig-world --skill agent-operated-workflows","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmvschwarz\u002Fopenrig-world\u002Fblob\u002Fmain\u002Frigs\u002Fworkshop-review-pair\u002Fagents\u002Fworkshop\u002Fskills\u002Fagent-operated-workflows\u002FSKILL.md",true,[],[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7DMSEDCRREMBJF57RQB59HC","notes","Use when taking notes.","https:\u002F\u002Fgithub.com\u002Fmvschwarz\u002Fopenrig-world\u002Fblob\u002Fmain\u002Ftools\u002Ftest\u002Ffixtures\u002Finstall-verify\u002Fbundle\u002Fagents\u002Fteam\u002Fskills\u002Fnotes\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7DMSBZP9WE8MC09JDXFCR2F","software-for-agents","Use when older OpenRig instructions name software-for-agents or describe agent-in-the-middle or studio software under the former skill name.","https:\u002F\u002Fgithub.com\u002Fmvschwarz\u002Fopenrig-world\u002Fblob\u002Fmain\u002Frigs\u002Fworkshop\u002Fagents\u002Fworkshop\u002Fskills\u002Fsoftware-for-agents\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7DMS55VHEAGPXMHZJ7FX94R","session-compaction-and-restore","Use when reasoning about what survives compaction\u002Fcontext-loss\u002Frestart\u002Fseat-refresh, designing a high-fidelity restore packet, or distinguishing native runtime resume vs fork vs artifact-backed mental-model rebuild. Covers the 4 failure modes that prevent honest restore (compacted seat drops hot potato; restore packet preserves details but loses product intent; runtime resume mistaken for handover or fork; rebuilt seat starts with stale instructions).","https:\u002F\u002Fgithub.com\u002Fmvschwarz\u002Fopenrig-world\u002Fblob\u002Fmain\u002Frigs\u002Fworkshop\u002Fagents\u002Fworkshop\u002Fskills\u002Fsession-compaction-and-restore\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7DMRYQK0JTV7MMVHFWZ0BW0","seat-continuity-and-handover","Use when replacing a seat's occupant (rebuild\u002Fhandover\u002Fswap), reasoning about stable-seat-identity vs fluid-occupant-identity, choosing an old-occupant disposition (retire\u002Fadvise\u002Fshadow), or recording provenance for an occupant change. Two independent outcomes (continuityOutcome + seatBindingOutcome) and the 5 failure modes that prevent silent dishonesty.","https:\u002F\u002Fgithub.com\u002Fmvschwarz\u002Fopenrig-world\u002Fblob\u002Fmain\u002Frigs\u002Fworkshop\u002Fagents\u002Fworkshop\u002Fskills\u002Fseat-continuity-and-handover\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7DMRP6RRGCJZSH9CE3PC1MY","retiring-and-inheriting-a-seat","Use when you are a sitting agent near your context threshold (~85%) and a PLANNED seat transition is due — retire deliberately and hand your seat to a fresh successor primed from a packet, rather than let compaction degrade you. Covers the handover packet, the append-only lineage ledger (one row per tenure), physical-seat continuity, the do-not-over-inherit framing, the optional warm-handoff window, and wake-v0 (consulting a retired predecessor). NOT for unplanned compaction\u002Fcrash recovery (session-compaction-and-restore \u002F claude-compaction-restore) and NOT the seat-binding primitive mechanics (seat-continuity-and-handover).","https:\u002F\u002Fgithub.com\u002Fmvschwarz\u002Fopenrig-world\u002Fblob\u002Fmain\u002Frigs\u002Fworkshop\u002Fagents\u002Fworkshop\u002Fskills\u002Fretiring-and-inheriting-a-seat\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7DMRJGN6Z8TZDR7JNHXH6KX","refocusing","Use when a long-running agent may have lost the product outcome, when context was compacted, when work has crossed a major boundary, or when a fresh path-based trace is needed before the next consequential action. Not for fresh-session orientation, waking an idle seat, or checkpoints.","https:\u002F\u002Fgithub.com\u002Fmvschwarz\u002Fopenrig-world\u002Fblob\u002Fmain\u002Frigs\u002Fworkshop\u002Fagents\u002Fworkshop\u002Fskills\u002Frefocusing\u002FSKILL.md",[],[]]