Agent skill

Agent Operated Workflows

by mvschwarz in mvschwarz/openrig

A skill your agent uses 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…

Apache-2.0Auto-check passedAgent Workflows

Install Agent Operated Workflows

skills CLI
$ npx skills add mvschwarz/openrig --skill agent-operated-workflows -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mvschwarz/openrig agent-operated-workflows --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mvschwarz/openrig.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/daemon/assets/plugins/openrig-core/skills/agent-operated-workflows .claude/skills/agent-operated-workflows && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
agent-operated-workflows
GitHub stars
6.2k
Token cost
~1k tokens
SKILL.md length
510 words
Files
1
Skills in repo
49
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses 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…

  • Works in 6 steps: Establish identity, durable state, the… → Inspect with side-effect-free reads or… → Choose one bounded action from observed… → …
  • A bounded real-world procedure has a deterministic happy path but brownfield
  • SKILL.md covers Name the architecture before…, Decide whether the agent earns…, Keep ownership explicit and Operate, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Agent Operated Workflows is an agent skill from mvschwarz/openrig. 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.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows. The repository describes itself as: Build your own network of agents from Claude Code, Codex and Pi: persistent teams with roles, shared context and owned work. The licence is Apache-2.0.

When your agent uses it

  • A bounded real-world procedure has a deterministic happy path but brownfield
  • Partially knowable state
  • An operation must resume from verified evidence
  • Deciding whether agent judgment

Example prompts

  • “/agent-operated-workflows”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Establish identity, durable state, the runbook, and the promised outcome.
  2. Inspect with side-effect-free reads or an explicit plan mode.
  3. Choose one bounded action from observed state; do not mechanically replay the happy path.
  4. Verify the effect at the consumer or state surface that could prove it wrong.
  5. Record an observable checkpoint before moving on, so another agent can resume.
  6. Continue, stop at the declared condition, or escalate with evidence and the decision needed.

What it can do on your machine

Read from SKILL.md and the folder at commit a29dfbc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Agent Operated Workflows loads about 1k tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 510 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~75
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mvschwarz/openrig at commit a29dfbc, republished under its Apache-2.0 licence (© mvschwarz). 510 words, ~1,038 tokens.

Download SKILL.mdSave it as .claude/skills/agent-operated-workflows/SKILL.md (or your agent's skills folder).
name
agent-operated-workflows
description
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.

Agent-Operated Workflows

An Agent-Operated Workflow is a bounded procedure whose control loop belongs to an agent. The agent observes, interprets, sequences bounded actions, verifies their effects, adapts, and escalates genuine ambiguity. Deterministic code remains the exact substrate; it does not pretend to understand every state of a brownfield world.

Name the architecture before using it

  • AI-enabled software: application code owns the control loop and calls a model as one capability.
  • Agent-Operated Workflow: an agent owns one bounded procedure with a start and stop condition.
  • Agent-Operated Software: an OpenRig agent or rig participates in an ongoing application's live backend or control loop. It may run many workflows; see agent-operated-software.

Calling a model is not enough. A deterministic program that consults a model still owns its loop.

Decide whether the agent earns the loop

Use an agent when the happy path is deterministic but the environment is brownfield, variable, partially knowable, or disproportionately expensive to model exhaustively. The judgment is in discovering what is true and choosing the next safe act.

Prefer ordinary code when the state space is closed and code is simpler and more reliable than judgment. A parser, fixed data transformation, or fully enumerated state machine does not become better because an agent drives it.

Keep ownership explicit

OwnerResponsibility
Runbookowns policy, the mental model, checkpoints, stop conditions, and escalation rules
Deterministic toolsown context gathering and bounded exact actions
Agentowns interpretation, sequencing, adaptation, and effect verification
Humanowns destructive ambiguity and product policy

The runbook guides judgment; tools enforce the invariants that must not be arguable.

Show full SKILL.md (250 more words)Show less

Operate

  1. Establish identity, durable state, the runbook, and the promised outcome.
  2. Inspect with side-effect-free reads or an explicit plan mode.
  3. Choose one bounded action from observed state; do not mechanically replay the happy path.
  4. Verify the effect at the consumer or state surface that could prove it wrong.
  5. Record an observable checkpoint before moving on, so another agent can resume.
  6. Continue, stop at the declared condition, or escalate with evidence and the decision needed.

An interrupted or timed-out mutation is indeterminate, never failed by assumption and never safe to retry blind. Where a compatibility period is safer, separate reversible preparation from the destructive finalizer. Idempotence is a claim to prove per action, not a label for the whole run.

Build

Expose composable verbs, not an optimistic end-to-end controller. Help is inert. Read and plan modes are explicit. Mutations are narrow and independently readable. A failure should say what was observed, why the tool stopped, what remains unchanged, the safe next choices, and where its evidence lives. Keep checkpoints durable, effects observable, and recovery possible without private developer knowledge.

A capability composition is a reusable recipe; this is the execution architecture that operates capabilities toward an outcome. Promote a proven workflow to the composition shelf only after use.

Public example: load skills/core/openrig-upgrade/SKILL.md with rig context get for the upgrade runbook. Its adjacent scripts/ directory contains the bounded inspection, backup, plugin-refresh and migration helpers. Follow that runbook for the procedure; this skill carries the reusable contract.

© mvschwarz, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in packages/daemon/assets/plugins/openrig-core/skills/agent-operated-workflows of mvschwarz/openrig.

Open the folder on GitHubat commit a29dfbc

Compare with similar skills

Agent Operated Workflows next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Agent Operated Workflows compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agent Operated Workflows this skillmvschwarz/openrig6.2k—~1kAutomated safety check: PassApache-2.0
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k10 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k35 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers297k2 repos~5.1kAutomated safety check: PassMIT
Skill CreatorAzure/azqr79589 repos~8.2kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 10 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 35 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    297k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    795 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 7 repos~2.8k tokens
    Agent WorkflowsAuto-check passed

More from mvschwarz/openrig

All 49 skills in this repo
  • OpenRig Upgrade Procedure

    mvschwarz/openrig

    Walks an agent through upgrading the OpenRig CLI and daemon one observed step at a time, keeping live seats alive and reconciling managed plugin files.

    6.2k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Agent Refocusing

    mvschwarz/openrig

    Re-grounds a long-running agent in the current product outcome by running a path-based trace to the root of its topology and work trees.

    6.2k GitHub stars~864 tokensUpdated today
    Auto-check passed
  • OpenRig Software Factory

    mvschwarz/openrig

    Helps set up a continuing agent software team for a real repository with OpenRig, choosing between manual work, queue handoffs and an explicit Workflow.

    6.2k GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Separates a stable agent seat's identity from its changing occupant, and records honest, two-part provenance whenever one occupant replaces another.

    6.2k GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Loads one section of a Markdown file by its path#h2-slug address with a bundled resolver script, for use outside OpenRig's context library.

    6.2k GitHub stars~341 tokensUpdated today
    Auto-check passed
  • Agent Starters

    mvschwarz/openrig

    Covers authoring, inspecting, refreshing, promoting and deprecating named Agent Starters, the reusable starting points for agent seats in a rig.

    6.2k GitHub stars~1.7k tokensUpdated today
    Auto-check passed

Categories

Questions about Agent Operated Workflows

What does Agent Operated Workflows do?

A skill your agent uses 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…. Agent Operated Workflows is an agent skill from mvschwarz/openrig. 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.

When should I use Agent Operated Workflows?

Agent Operated Workflows fits situations like: A bounded real-world procedure has a deterministic happy path but brownfield; partially knowable state; an operation must resume from verified evidence; deciding whether agent judgment.

How do I install Agent Operated Workflows in Claude Code?

Run `npx skills add mvschwarz/openrig --skill agent-operated-workflows -a claude-code`. Or copy the skill folder (packages/daemon/assets/plugins/openrig-core/skills/agent-operated-workflows in mvschwarz/openrig) into .claude/skills/agent-operated-workflows in your project. Claude Code loads it when a task matches its description.

How do I install Agent Operated Workflows in Codex?

Run `npx skills add mvschwarz/openrig --skill agent-operated-workflows -a codex`. Or copy the skill folder (packages/daemon/assets/plugins/openrig-core/skills/agent-operated-workflows in mvschwarz/openrig) into .agents/skills/agent-operated-workflows in your project. Codex loads it when a task matches its description.

Can I use Agent Operated Workflows in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mvschwarz/openrig --skill agent-operated-workflows -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agent-operated-workflows, .gemini/skills/agent-operated-workflows, .github/skills/agent-operated-workflows and .opencode/skills/agent-operated-workflows in your project.

What does Agent Operated Workflows need to run?

SKILL.md names no scripts, command-line tools or credentials: Agent Operated Workflows is instructions for the agent only.

Does Agent Operated Workflows access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Agent Operated Workflows safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Agent Operated Workflows use?

Agent Operated Workflows is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Agent Operated Workflows use?

About 1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Agent Operated Workflows?

Skills that share tags, products or a category with Agent Operated Workflows: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 297k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agent Operated Workflows?

mvschwarz (a GitHub user) maintains it in mvschwarz/openrig, which has 6,242 GitHub stars. The repository holds 49 skills in this directory. The repository was last updated on October 9, 2026.

Source: mvschwarz/openrig on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.