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

delegating-to-agents

できること

このツールを使うと、AIが別のAI(エージェント)にタスクを引き継ぐことができます。その際、必要な情報をすべて渡し、担当者を明確にし、作業の確認方法も決めておきます。人間の同僚に仕事を任せるような仕組みを、AI同士で実現するものです。

使う場面

  • ✓特定の作業を、専門性の高い別のAIに渡す必要があるとき。
  • ✓タスクを委任する際に、AIが文脈や重要な情報を保持し続けてほしいとき。
  • ✓AIが委任したタスクの進捗を確認したいとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/delegating-to-agents/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“このタスクをPiエージェントに委任してください。詳細をすべて伝えたうえで、結果を確認してください。”

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

仕組み

AIはまず、そのタスクに最も適したエージェントを選びます。次に、完全な指示を送り、進捗や完了の報告を待ちます。

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

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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.
よくある質問

「bounded work(範囲が限定された作業)」とはどういう意味ですか?

作業の範囲や制限が明確に定められたタスクのことです。やるべきことがはっきりしているので、AIは何をすればよいかを正確に把握できます。

「ownership(担当)」はなぜ重要ですか?

特定のエージェントが責任を持つことで、タスクの進捗管理や説明責任がはっきりし、追跡しやすくなります。

「verifier(検証者)」とは何ですか?

委任したタスクが正しく完了したかどうかを、AIが確認するための方法や基準のことです。

詳細

作者による元の説明

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

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#6267
ライセンス
MIT
更新日
2026/10/15

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

0

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

コメント

  • …

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

似ているスキル