Subagent creator
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.From its SKILL.md
npx -y skills add BjornMelin/dev-skills --skill subagent-creatorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.1 KB, 888 tokens by cl100k_base, as published. Nobody here has run it
Subagent Creator
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.
Workflow
- Choose the target:
- global personal roles:
~/.codex/agents - project-scoped roles:
.codex/agentsunder the trusted repo - custom destination: explicit directory passed to the helper
- global personal roles:
- Choose templates from
templates/agents/, a bundled pack, or create a narrow custom role. - Use
scripts/subagent_creator.pyfor deterministic list, status, plan-sync, install, validate, render, diff, sync, prune, backup, doctor, and smoke workflows. - Validate every generated TOML file before telling the user it is ready.
- For live runtime behavior, pair generated roles with
$subspawnstrict rendezvous guidance so spawned results are considered before next work.
Helper Commands
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.
Defaults
- Names: snake_case role names and matching
<name>.tomlfilenames. - Models:
gpt-5.6-terrafor bounded retrieval and mechanical inventory;gpt-5.6-solfor judgment, implementation, planning, and synthesis. - Reasoning:
mediumby default;highfor complex decisions; Terramaxonly for independent adversarial validation. - Names: do not shadow Codex built-ins (
default,worker,explorer) unless the user explicitly asks for an override. Use names such asrepo_explorer. - Sandbox: least privilege. Read-only for reviewer, repo exploration, docs, and CI triage roles; workspace-write only for roles that run tests, debug browsers, or implement fixes.
- Tools: inherit parent tools and MCP servers unless a role has a strong reason to pin a narrower config.
- Every template must forbid nested subagents by default, preserve parent boundaries, redact secrets, and return evidence in a stable sectioned shape.
Template Packs
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.
What ships with it: 24 files
75.2 KB alongside SKILL.md, 1 of them executable
agents/
- openai.yaml338 B
references/
- authoring-guide.md6.3 KB
- workflow-recipes.md2.4 KB
scripts/
- subagent_creator.pyruns46.3 KB
templates/
- agents/ci_triager.toml856 B
- agents/context7_researcher.toml1.4 KB
- agents/dependency_researcher.toml1.0 KB
- agents/docs_auditor.toml930 B
- agents/docs_researcher.toml963 B
- agents/env_validator.toml957 B
- agents/false_positive_validator.toml997 B
- agents/guidance_mapper.toml973 B
- agents/history_reviewer.toml979 B
- agents/implementation_worker.toml965 B
- agents/openai_docs_researcher.toml1.2 KB
- agents/performance_reviewer.toml1004 B
- agents/release_validator.toml967 B
- agents/repo_explorer.toml895 B
- agents/reviewer.toml1.0 KB
- agents/runtime_bug_reviewer.toml971 B
- agents/security_reviewer.toml1.0 KB
- agents/shallow_bug_reviewer.toml1.0 KB
- agents/test_runner.toml1.0 KB
- agents/ui_debugger.toml1008 B