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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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
- 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.
자주 묻는 질문
언제 일반 코드가 더 좋은가요?
스킬은 파서나 고정된 변환처럼 상태가 닫힌 집합으로 정해진 경우에는 일반 코드가 더 낫다고 설명합니다.
여기서 에스컬레이션은 무슨 뜻인가요?
에이전트가 추측하지 않고, 실제로 모호한 부분을 사람에게 넘기는 것을 뜻합니다.
모델 호출과 에이전트는 같은 것인가요?
아닙니다. 스킬은 모델을 호출하는 프로그램이 자체 루프를 가지므로 에이전트 워크플로가 아니라고 설명합니다.
상세 정보
작성자의 원본 설명
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.
댓글
- …
이 저장소의 다른 스킬
agent-operated-software
8.6k백엔드에 AI 에이전트가 포함된 앱을 설계하고 만들고 디버깅하도록 돕습니다.
applying-a-permission-policy
8.6k에이전트가 팀 설정 중 쓰는 명령 권한을 맞춰, 일상적인 명령이 승인 요청을 덜 거치도록 돕습니다.
claude-compaction-restore
8.6kClaude Code 에이전트가 컨텍스트 압축 후 저장된 복구 지도, 대화 기록, 수정한 파일을 써서 작업 그림을 다시 세우도록 돕습니다.
delegating-work
8.6k에이전트가 작업을 직접 할지, 하위 에이전트나 맥락을 이미 아는 팀원에게 맡길지 정하고 그 작업자에게 지시하도록 돕습니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.