Back to skills
SkillHub ClubResearch & OpsFull Stack

delegation-autopilot

In Codex interactive mode, call delegate_autopilot automatically for multi-step or cross-cutting requests (including research-only), otherwise work normally.

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
55
Hot score
91
Updated
March 20, 2026
Overall rating
C2.3
Composite score
2.3
Best-practice grade
B81.2

Install command

npx @skill-hub/cli install leonardsellem-codex-specialized-subagents-delegation-autopilot

Repository

leonardsellem/codex-specialized-subagents

Skill path: .codex/skills/delegation-autopilot

In Codex interactive mode, call delegate_autopilot automatically for multi-step or cross-cutting requests (including research-only), otherwise work normally.

Open repository

Best for

Primary workflow: Research & Ops.

Technical facets: Full Stack.

Target audience: everyone.

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: leonardsellem.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install delegation-autopilot into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/leonardsellem/codex-specialized-subagents before adding delegation-autopilot to shared team environments
  • Use delegation-autopilot for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

Original source / Raw SKILL.md

---
name: delegation-autopilot
description: In Codex interactive mode, call delegate_autopilot automatically for multi-step or cross-cutting requests (including research-only), otherwise work normally.
delegator_exclude: true
---

# Delegation autopilot (parent-agent only)

This skill is meant for the **parent** Codex agent in interactive mode.

## Prerequisites (avoid common first-run failures)

Delegated runs can take minutes. If tool calls fail around ~60s with an error like `timed out awaiting tools/call after 60s`, increase the MCP tool timeout for this server in `${CODEX_HOME:-~/.codex}/config.toml`:

```toml
[mcp_servers.codex-specialized-subagents]
tool_timeout_sec = 600
```

## When to call `delegate_autopilot`
- The user request is **multi-step** ("and", "then", "also", "plus") or touches **multiple areas** (code + tests + docs).
- The change is **cross-cutting** (multiple files/modules) or likely needs **specialist** attention (security/perf/research).
- The user explicitly asks to delegate / use subagents.

**Default rules:**
- If the request includes **code changes** *and* (tests or docs), call `delegate_autopilot` **before** running shell commands or editing files.
- If the request is **multi-step research-only** and you want consistent “scan/implement/verify” decomposition or per-job `thinking_level` behavior, call `delegate_autopilot` with `sandbox="read-only"`.

## When not to call
- The user is asking a **simple question** or wants a short explanation.
- The change is **tiny and local** (single file, trivial edit) and you can do it directly.

## How to call (minimal)
Call MCP tool `delegate_autopilot` with:
- `task`: the user request (verbatim)
- `cwd`: current workspace directory (optional; defaults are OK)

Optional knobs:
- `sandbox`: use `"workspace-write"` when you want subagents to edit files; `"read-only"` for analysis-only delegation; avoid `"danger-full-access"` unless absolutely necessary.
- `max_agents`: default `3` (use `1` when you want a single subagent run).
- `skills_mode`: default `"auto"` (use `"none"` to disable skill selection).

## After calling
- If `structuredContent.decision.should_delegate` is `false`: continue normally without delegation.
- Otherwise: use `structuredContent.aggregate` as the consolidated result, and inspect `structuredContent.run_dir` for artifacts.

## If you choose `delegate_run` anyway

- If you need higher/lower reasoning for a one-off run, pass `reasoning_effort` (or a `model_reasoning_effort=...` entry in `config_overrides`).
- If you want a default for manual runs, set `CODEX_DELEGATE_REASONING_EFFORT` on the MCP server process.

## Safety
- Never paste secrets from `${CODEX_HOME:-~/.codex}` or any local config.
- Avoid pasting full `codex mcp list` output or entire config files; redact anything that looks like a token/key.
- Do not recurse: delegated subagents must not call any `delegate_*` tools.
delegation-autopilot | SkillHub