agent-operated-workflows
Qué hace
Esta skill explica cuándo un procedimiento de negocio repetible debe controlarlo un agente de IA, y cómo construirlo. Está pensada para equipos que diseñan automatizaciones que deben gestionar un estado real, desordenado e impredecible.
Cuándo usarla
- ✓Cuando un procedimiento tiene un camino feliz claro, pero un estado real desordenado o impredecible.
- ✓Cuando necesitas que una operación se reanude de forma segura a partir de pruebas verificadas.
- ✓Cuando debes decidir si un agente o un código sencillo debe controlar un proceso.
Link de la skill
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/agent-operated-workflows/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Nuestro proceso de conciliación de facturas tiene pasos claros, pero datos desordenados. ¿Debería ejecutarlo un agente o usamos código normal?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Compara el coste de un código exhaustivo con el valor del criterio de un agente, y después expone cómo el agente observa, actúa, comprueba y escala.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
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
| Owner | Responsibility |
|---|---|
| Runbook | owns policy, the mental model, checkpoints, stop conditions, and escalation rules |
| Deterministic tools | own context gathering and bounded exact actions |
| Agent | owns interpretation, sequencing, adaptation, and effect verification |
| Human | owns destructive ambiguity and product policy |
The runbook guides judgment; tools enforce the invariants that must not be arguable.
Operate
- Establish identity, durable state, the runbook, and the promised outcome.
- Inspect with side-effect-free reads or an explicit plan mode.
- Choose one bounded action from observed state; do not mechanically replay the happy path.
- Verify the effect at the consumer or state surface that could prove it wrong.
- Record an observable checkpoint before moving on, so another agent can resume.
- 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.
Preguntas frecuentes
¿Cuándo es mejor el código normal?
La skill indica que un conjunto cerrado de estados se gestiona mejor con código normal, como un analizador o una transformación fija.
¿Qué significa escalar aquí?
Significa que el agente traslada una ambigüedad real a una persona en lugar de adivinar.
¿Una llamada a un modelo equivale a un agente?
No. La skill indica que un programa que llama a un modelo sigue teniendo su propio bucle, así que no es un flujo de trabajo de agente.
Detalles
Descripción original del autor
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.
repo: mvschwarz/openrig
Popularidad
- Estrellas en GitHub
- 8,6 mil
- Posición en el ranking
- #12383
- Licencia
- Apache-2.0
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
agent-operated-software
8,6 milAyuda a tu agente a diseñar, construir o depurar una app en funcionamiento cuyo backend incluye agentes de IA, como un plano de control de agentes en Markdown o JSON.
applying-a-permission-policy
8,6 milAyuda a tu agente a configurar los permisos de comandos que usa un agente de programación durante la configuración del equipo, para que los comandos rutinarios pidan menos aprobaciones.
claude-compaction-restore
8,6 milAyuda a un agente de Claude Code a reconstruir su visión de trabajo tras la compactación de su contexto, usando un mapa de restauración guardado, su transcripción y los archivos que tocó.
delegating-work
8,6 milAyuda a tu agente a decidir quién debe hacer una tarea: él mismo, un subagente o un compañero que ya tiene el contexto, y cómo dar instrucciones a ese trabajador.
Skills parecidas
add-model-provider
394 milPermite que tu agente conecte un nuevo proveedor de modelos de IA a OpenClaw con comandos de configuración seguros, mantenga las claves API fuera del texto plano y haga una prueba en vivo.
acp-router
394 milAyuda a tu agente a enviar una tarea a un asistente de programación como Claude Code o Cursor a través de OpenClaw, para que el trabajo se ejecute en esa herramienta.
browser-automation
394 milEnseña a tu agente a controlar páginas web paso a paso, incluidos los inicios de sesión, las pestañas y la recuperación cuando una página deja de responder.