OpenParable
Skip to content
← Back to skills

Cross Agent Delegation

Agent Building
cross-agent-delegation

Cross Agent Delegation is an Agent Skill for agent building published in the colonelpanic8/dotfiles repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Safely delegate between Codex and Claude through read-only CLI wrappers. Use when the user explicitly asks Codex or Claude to delegate to the other, or when a workflow explicitly calls for an independent cross-model second opinion.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/colonelpanic8/dotfiles/blob/HEAD/dotfiles/agents/skills/cross-agent-delegation/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cross-agent-delegation, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Cross-Agent Delegation

Use the minimum permitted native driver agent when available. Invoke the wrapper directly when that is simpler:

  • Pipe a self-contained prompt to ask-claude or ask-codex on stdin.
  • Reserve --base64 '<payload>' for native driver agents as injection-safe transport. A driver must encode the complete task itself and never embed raw delegated task text in shell source.
  • Treat the returned plain text as advisory output; the wrappers are read-only and ephemeral.
  • Review and verify the output in the parent agent before using it.
  • Never include credentials, secrets, or unnecessary personal data in the prompt.
  • Permit at most one cross-model handoff. Never ask the child to invoke either CLI or delegate again.
  • A Sol caller may target Opus for specialized design work but must never target Fable. Choose Fable as the primary model before the task begins when Fable is warranted.
  • Keep one writer per worktree. Have the parent make any resulting edits.

Environment variables documented in the scripts may override their conservative model, effort, timeout, turn, and budget defaults.