Chuyển đến nội dung
Skillpedia
Agent8.6k · #12383

agent-operated-workflows

Skill này làm gì

Skill này giải thích khi nào một quy trình kinh doanh lặp lại nên do agent AI điều khiển và cách xây dựng nó. Skill dành cho nhóm thiết kế tự động hóa phải xử lý trạng thái thực tế lộn xộn.

Khi nào nên dùng

  • ✓Khi một quy trình có đường đi chính rõ ràng nhưng trạng thái thực tế lộn xộn hoặc khó đoán.
  • ✓Khi bạn cần một thao tác có thể tiếp tục an toàn từ bằng chứng đã xác minh.
  • ✓Khi bạn phải quyết định agent hay code thông thường nên điều khiển một tiến trình.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/agent-operated-workflows/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Quy trình đối chiếu hóa đơn của chúng tôi có các bước rõ ràng nhưng dữ liệu lộn xộn. Agent nên chạy nó, hay chúng tôi nên dùng code thông thường?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill so sánh chi phí của code liệt kê đầy đủ với giá trị của phán đoán của agent, rồi trình bày cách agent quan sát, hành động, kiểm tra và chuyển cho người khi có sự mơ hồ thật sự.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

Câu hỏi thường gặp

Khi nào code thông thường tốt hơn?

Skill nói một tập trạng thái đóng được xử lý tốt hơn bằng code thông thường, như bộ phân tích cú pháp hoặc phép biến đổi cố định.

Chuyển cho người nghĩa là gì ở đây?

Nghĩa là agent chuyển sự mơ hồ thật sự cho một người, thay vì đoán.

Gọi mô hình có phải là agent không?

Không. Skill nói rằng một chương trình gọi mô hình vẫn tự sở hữu vòng lặp của nó, nên không phải là quy trình agent.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
8.6k
Vị trí xếp hạng
#12383
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự