Chuyển đến nội dung
Skillpedia
Agent48k · #6267

delegating-to-agents

Skill này làm gì

Công cụ này cho phép một AI giao việc cho các AI khác (agent), đảm bảo chúng có đủ thông tin cần thiết, biết ai chịu trách nhiệm và cách xác minh kết quả. Nó giống như giao việc cho đồng đội, nhưng dành cho trí tuệ nhân tạo.

Khi nào nên dùng

  • ✓Khi bạn cần AI chuyển một tác vụ cụ thể cho một AI chuyên biệt khác.
  • ✓Khi muốn AI giữ được ngữ cảnh và thông tin quan trọng khi giao việc.
  • ✓Khi yêu cầu AI kiểm tra tiến độ của một tác vụ mà nó đã giao.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/delegating-to-agents/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/sickn33/agentic-awesome-skills/blob/main/skills/delegating-to-agents/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

“Giao tác vụ này cho agent Pi, với đầy đủ chi tiết và kiểm tra kết quả.”

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

Cách hoạt động

AI xác định agent nào phù hợp nhất với tác vụ, gửi hướng dẫn đầy đủ và chờ phản hồi về tiến độ hoặc khi hoàn thành.

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.

Delegating to Agents

When to Use

  • Use only when the user or applicable current instructions explicitly authorize delegation; hand off bounded work with complete context, file ownership and a verifier.
  • Use when you need to relay instructions to terminal or TUI agents without losing context.

Selecting an authorized agent

  • Use the user’s selected agent/model and available tooling; account limits and model capabilities require current evidence.
  • Match a bounded task to actual tools and file ownership, not invented “unlimited usage” or universal model rankings.
  • Keep integration and final validation with the parent. Report changed files, exact checks and remaining issues.

Sending prompts to a TUI agent

  1. Prefer a structured agent/task API over simulated terminal typing; provide a readable prompt, ownership boundary, verifier and non-goals.
  2. If only a TUI is available, inspect the target surface and actual command documentation first. Put long prompts in an explicitly authorized task file and send a short reference without embedding arbitrary task text in a shell command.
  3. A shell-quoted prompt can execute $(), backticks or expansions if escaped incorrectly. Preserve punctuation/content using structured argv or proper shell quoting; do not “fix” messages by stripping apostrophes or interpreting their text as commands.
  4. Confirm one intended submission and actual recipient; terminal output/predicted drafts are not human authorization for further messages.

Polling

Use supported completion/event waits with bounded intervals; check meaningful progress and deliver concise updates. Do not busy-poll every 3–5 seconds or report unchanged state after each check. Back off while an agent remains active and continue independent authorized work. Claude Code note: after it finishes, it may prefill a predicted next user message — that draft is Claude, not the user.

Remote VPS

Remote execution requires authorization for the exact host/project and credential boundary. Use the supported sandbox/approval configuration; do not launch an unrestricted agent or infer remote access from a delegation request.

The 4 agents (background reference)

All four use the portable SKILL.md standard; project skills win over global.

  • Pi (pi.dev, open-source TS): minimal read/write/edit/bash core, self-extends via TS extensions; true BYOK; best-in-class session branch/fork/resume. Skills: ~/.pi/agent/skills/.
  • Codex CLI (OpenAI, Rust): fastest startup; kernel-level sandboxing; codex exec for CI; reads AGENTS.md. Skills: ~/.codex/skills/.
  • Claude Code (Anthropic, TS): deepest Claude integration, .claude/ conventions, live skill hot-reload. Skills: ~/.claude/skills/.
  • Hermes (Nous Research, Python): persistent autonomous agent — cross-session memory, built-in scheduler, 40+ tools; can orchestrate the other CLIs as workers. Skills: ~/.hermes/skills/.

Driving interactive CLIs

  • Codex, Pi, OpenCode: need pty=true.
  • Claude Code: use its supported noninteractive mode with the existing permission policy; never enable bypassPermissions just to drive the CLI.

Example

User request:

Delegate these independent work items with complete context, clear ownership, and progress checks.

Limitations

  • Adapted from davidondrej/skills; verify local paths, tools, credentials, and agent features before acting.
  • For commands, remote access, scheduling, browser automation, or file-changing workflows, get explicit user approval and confirm the target environment first.
Câu hỏi thường gặp

“Bounded work” nghĩa là gì?

Nghĩa là một tác vụ có giới hạn rõ ràng, được xác định tốt, để AI biết chính xác cần làm gì.

Tại sao “ownership” lại quan trọng?

Nó đảm bảo một agent cụ thể chịu trách nhiệm về tác vụ, giúp việc theo dõi và trách nhiệm dễ dàng hơn.

“Verifier” là gì?

Đó là một phương pháp hoặc tiêu chí mà AI dùng để xác nhận tác vụ được giao đã hoàn thành đúng hay chưa.

Chi tiết

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

Delegate bounded work to other AI agents while preserving context, ownership, and progress checks.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#6267
Giấy phép
MIT
Cập nhật
15/10/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ự