skills/subagent-creator/SKILL.md
Create, validate, install, and smoke-test Codex custom subagents from TOML templates. Use for ~/.codex/agents or project .codex/agents roles, subagent templates, model and sandbox defaults, or reusable agent packs.
npx skillsauth add bjornmelin/dev-skills subagent-creatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create Codex custom agents as standalone TOML role files. Use $subspawn for
runtime delegation policy; use this skill to author, validate, install, and
test reusable agent roles.
~/.codex/agents.codex/agents under the trusted repotemplates/agents/, a bundled pack, or create a
narrow custom role.scripts/subagent_creator.py for deterministic list, status,
plan-sync, install, validate, render, diff, sync, prune, backup, doctor, and
smoke workflows.$subspawn strict
rendezvous guidance so spawned results are considered before next work.Resolve paths relative to this skill directory.
python3 scripts/subagent_creator.py list
python3 scripts/subagent_creator.py list --packs
python3 scripts/subagent_creator.py doctor --project-dir .
python3 scripts/subagent_creator.py status --pack core --project-dir . --include-extra
python3 scripts/subagent_creator.py plan-sync --pack core --target global --include-extra
python3 scripts/subagent_creator.py install reviewer repo_explorer --target global --dry-run
python3 scripts/subagent_creator.py pack install core --target project --project-dir . --dry-run
python3 scripts/subagent_creator.py diff --pack core --target global --include-extra
python3 scripts/subagent_creator.py sync --pack core --target global --dry-run
python3 scripts/subagent_creator.py prune --pack core --target global
python3 scripts/subagent_creator.py backup --target global
python3 scripts/subagent_creator.py validate ~/.codex/agents
python3 scripts/subagent_creator.py smoke --pack docs
Use --overwrite only when replacing a role intentionally. Prefer sync when
updating already-installed templates because it backs up overwritten files by
default. Use --dry-run before writing to global or project config when the
target is unclear. Use status --include-extra and plan-sync before broad
updates. prune is dry-run only unless --confirm is present.
<name>.toml filenames.gpt-5.6-terra for bounded retrieval and mechanical inventory;
gpt-5.6-sol for judgment, implementation, planning, and synthesis.medium by default; high for complex decisions; Terra max
only for independent adversarial validation.default, worker, explorer) unless
the user explicitly asks for an override. Use names such as repo_explorer.core: baseline roles for routine Codex delegation.docs: generic docs, OpenAI docs, Context7, and dependency research.review: PR/code-review helper lanes with false-positive validation.audit: security, runtime, dependency, performance, and docs audit lanes.ops: CI, release, environment, and validation lanes.Use pack list or list --packs to inspect exact membership.
Read references/authoring-guide.md before creating new role families,
changing model policy, or adding MCP/server-specific config.
Read references/workflow-recipes.md before creating PR review or audit
orchestration workflows around the bundled agents.
development
Pre-PR multi-model review, parallel opus and codex exec adversarial lanes, then adversarial verification of merged findings. Read-only. Use before shipping nontrivial diffs.
tools
Independent gpt-5.6 diff review via the Codex CLI, normal or steerable adversarial with JSON findings. Use before shipping nontrivial changes.
development
Delegate implementation, investigation, or bulk work to gpt-5.6 codex via pinned codex exec. Use for clear-spec builds, migrations, debugging, or any task MODELS.md routes to codex.
development
Adversarial pre-mortem: imagine the plan failed, work backwards to surface risky assumptions + irreversible bets, then harden them. Proactively offer it (after the current request; confirm first) before a hard-to-reverse or one-way-door call (API, schema, framework, a hire), an all-upside plan, or unvalidated assumptions. Also on request.