本文へスキップ
Skillpedia
エージェント8.6k · #12383

agent-operated-workflows

できること

このスキルは、繰り返し行われる業務手順を、いつAIエージェントが管理すべきかと、その作り方を説明します。現実の乱雑な状態を扱う必要のある自動化を設計するチーム向けです。

使う場面

  • ✓手順に明確な正常な流れがあるが、実世界の状態が乱雑で予測しにくいとき。
  • ✓操作を、検証済みの証拠から安全に再開できるようにしたいとき。
  • ✓プロセスをエージェントが管理すべきか、通常のコードが管理すべきかを決める必要があるとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/agent-operated-workflows/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“請求書の照合の作業は、手順は明確ですがデータが乱雑です。エージェントに動かさせるべきですか、それとも通常のコードを使うべきですか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

このスキルは、網羅的なコードのコストとエージェントの判断の価値を比べ、エージェントが観察し、行動し、確認し、必要なら人に引き継ぐ流れを示します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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.

よくある質問

通常のコードの方が良いのはいつですか?

状態の集合が閉じている場合は、構文解析器や固定の変換のような通常のコードで扱う方が良いとスキルは述べています。

エスカレーションとはどういう意味ですか?

推測するのではなく、本当に曖昧な問題を人に引き渡すことです。

モデルを呼び出すことはエージェントと同じですか?

いいえ。モデルを呼び出すプログラムは自分のループを持つため、エージェントのワークフローではないとスキルは述べています。

詳細

作者による元の説明

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

人気

GitHubのスター
8.6k
ランキング
#12383
ライセンス
Apache-2.0
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル