Home / Market / delegating to agents

delegating to agents

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

skill★ 508550 dlgithubCC-BY-4.0 content; MIT code; upstream exceptions applyInstall in CosmosUpstream Source

Documentation & Preview

--- name: delegating-to-agents description: "Delegate bounded work to other AI agents while preserving context, ownership, and progress checks." category: agent-orchestration risk: critical source: community source_repo: davidondrej/skills source_type: community date_added: "2026-07-07" author: davidondrej tags: [agents, delegation, orchestration] tools: [claude, codex] license: "MIT" license_source: "https://github.com/davidondrej/skills/blob/main/LICENSE"

---

Delegating to Agents

When to Use

Selecting an authorized agent

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.

Driving interactive CLIs

Example

User request:

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

Limitations