Aller au contenu
Skillpedia
Agents8.6k · #12383

agent-operated-workflows

Ce qu’il fait

Ce skill explique quand une procédure métier répétable doit être pilotée par un agent IA, et comment la construire. Il s'adresse aux équipes qui conçoivent des automatismes devant gérer un état réel désordonné.

Quand l’utiliser

  • ✓Quand une procédure a un chemin nominal clair mais un état réel désordonné ou imprévisible.
  • ✓Lorsque vous devez pouvoir reprendre une opération en toute sécurité à partir de preuves vérifiées.
  • ✓Quand vous devez décider si un agent ou du code classique doit piloter un processus.

Lien du skill

https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/agent-operated-workflows/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/agent-operated-workflows/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Notre processus de rapprochement des factures a des étapes claires mais des données désordonnées. Un agent doit-il le mener, ou faut-il du code classique ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Il compare le coût d'un code exhaustif et la valeur du jugement d'un agent, puis décrit comment l'agent observe, agit, vérifie et fait remonter les cas ambigus.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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

  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.

Questions fréquentes

Quand le code classique est-il préférable ?

Le skill indique qu'un ensemble fermé d'états se gère mieux avec du code ordinaire, comme un analyseur ou une transformation fixe.

Que signifie remonter un cas ?

Cela signifie que l'agent confie une ambiguïté réelle à une personne au lieu de deviner.

Un appel à un modèle, est-ce la même chose qu'un agent ?

Non, le skill précise qu'un programme qui appelle un modèle garde sa propre boucle et n'est donc pas un workflow d'agent.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
8.6k
Position au classement
#12383
Licence
Apache-2.0
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires