Create, validate, install, fold, or troubleshoot Codex subagent role TOML, agents-table config, discoverability wiring, and duplicate-role merges. Use when a user asks for a Codex agent role, reviewer agent, role config, TOML role file, subagent setup, or overlapping agents to merge.
72
88%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Create, review, install, fold, or validate Codex custom subagent role files, routing manifests, task envelopes, and discoverability wiring. Prefer one valid role, explicit scope, runtime-state evidence, validation proof, and rollback over broad edits or duplicate agents.
Build the smallest role surface that can be validated from current Codex evidence.
[agents.<name>], .codex/agents/*.toml, or duplicate role folding.AGENTS.md rule, or approval workflow..agents/**, .skillsets/**, Plugins/cache/**, mirrors, or handles.agent-skills, read AGENTS.md and UBIQUITOUS_LANGUAGE.md before
edits.codex-repo, or local
~/dev/codex source before writing. Current source anchors include
codex-rs/config/src/config_toml.rs,
codex-rs/core/src/config/agent_roles.rs, and
codex-rs/core/src/tools/handlers/multi_agents_spec.rs.[agents.<name>] table, routing manifest,
task envelope, or artifact receipt contract. Keep scope tight by default;
add a second surface only when it is required for discoverability or
validation.[agents.<name>] supports description, config_file, and nickname_candidates; keep agents.max_depth >= 1.references/contract.yaml; keep the main prompt to the minimum fields required for the requested handoff.For non-trivial role work, return schema_version: 1, target role, source kind,
side-effect class, changed paths, evidence ledger, validation, rollback,
confidence, and residual risk. For orchestration roles, also return the runtime
card source, an authority-bounded task envelope, the artifact receipt, and a
blocked_* result class when the handoff cannot complete.
Use confidence bands from references/role-creation-guide.md; never claim 100%
confidence for generative skill quality.
references/discovery-interview.md when the request is underspecified.role_file, agents_table, fold_plan, or not_a_role.spawn_agent surface, runtime card availability, and validator expectations.references/contract.yaml before recommending a swarm.For standalone roles and [agents.<name>] config-discovered roles, use the copyable current shapes in references/role-config-examples.md. Keep fields minimal and include developer_instructions for standalone role files.
State missing docs/schema/runtime evidence plainly; classify blockers with the taxonomy in references/contract.yaml; ask one scope question when needed; rerun the same failed gate after each fix.
Stop at the first failed gate, fix that failure class, and rerun it: owning role validator, discoverability/runtime check, strict skill audit, smoke evals, and release fixtures when available.
Concrete commands for this skill package:
./bin/ask skills audit Skills/agent-ops/codex-agent-creator --level strict --json --robot../bin/ask evals run Skills/agent-ops/codex-agent-creator --mode smoke --runner discovery-smoke --skip-tessl --json --robot.python3 Infrastructure/scripts/validation-and-linting/validate_he_subagent_routing.py --routing-map Plugins/harness-engineering/references/routing-map.json.ce- prefix."Infrastructure/references/deferred-skill-context/agent-ops-codex-agent-creator/.2f91362
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.