Pular para o conteúdo
Skillpedia
Agentes8,6 mil · #12383

agent-operated-workflows

O que ela faz

Esta skill explica quando um procedimento de negócio repetível deve ser controlado por um agente de IA e como construí-lo. Ela serve para equipes que projetam automações que precisam lidar com estados bagunçados e reais.

Quando usar

  • ✓Quando um procedimento tem um caminho feliz claro, mas estados reais confusos ou imprevisíveis.
  • ✓Quando você precisa que uma operação seja retomada com segurança a partir de evidências verificadas.
  • ✓Quando você precisa decidir se um agente ou código comum deve controlar um processo.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/agent-operated-workflows/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Nosso processo de conciliação de faturas tem etapas claras, mas dados bagunçados. Um agente deve executá-lo ou devemos usar código comum?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

Ela compara o custo de um código exaustivo com o valor do julgamento de um agente e depois mostra como o agente observa, age, verifica e encaminha casos para uma pessoa.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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.

Perguntas frequentes

Quando o código comum é melhor?

A skill diz que um conjunto fechado de estados é mais bem tratado por código comum, como um analisador ou uma transformação fixa.

O que significa encaminhar aqui?

Significa que o agente entrega uma ambiguidade real para uma pessoa, em vez de adivinhar.

Uma chamada a um modelo é o mesmo que um agente?

Não. A skill diz que um programa que chama um modelo ainda controla o próprio ciclo, então não é um fluxo de agente.

Detalhes

Descrição original do 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

Popularidade

Estrelas no GitHub
8,6 mil
Posição no ranking
#12383
Licença
Apache-2.0
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas