Creates and updates standalone TOML files defining custom Codex agents with required fields like name, description, developer_instructions, model, reasoning effort, and global/project scope.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-4 --plugin am-will-codex-skills-5This skill uses the workspace's default tool permissions.
Use this skill to author, update, or troubleshoot custom Codex agents as standalone TOML files.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Use this skill to author, update, or troubleshoot custom Codex agents as standalone TOML files.
Current behavior:
~/.codex/agents/<agent-name>.toml<project>/.codex/agents/<agent-name>.toml~/.codex/config.toml is only for global/runtime settings (for example [agents] thread limits), not per-role registration.Step 1 is required before writing files:
name (role identifier used by agent_type)description (short, human-readable purpose)developer_instructionsmodel (recommend gpt-5.3-codex unless requested)model_reasoning_effort (none|minimal|low|medium|high|xhigh)global or project)nickname_candidates and exact valuesExecution rule:
From Codex custom agent docs (/codex/subagents):
name, description, developer_instructions.nickname_candidates, model, model_reasoning_effort, sandbox_mode, web_search, mcp_servers, skills.config, etc.name is the spawn identifier and source of truth.description + developer_instructions define behavior and usage boundaries.nickname_candidates is optional and used only for display.nickname_candidates requirements:
global → ~/.codex/agents/<name>.tomlproject → <project>/.codex/agents/<name>.toml{"agent_type":"<name>","message":"<task>"}
# 1) Write a standalone custom-agent file
/home/willr/Applications/skills/skills/role-creator/scripts/write_role_config.sh \
--output ~/.codex/agents/reviewer.toml \
--role-name reviewer \
--description "PR reviewer focused on correctness, security, and risk." \
--model gpt-5.4 \
--reasoning high \
--developer-instructions "Review code like an owner. Lead with concrete findings and residual risks."
# Optional: include nickname candidates for display
/home/willr/Applications/skills/skills/role-creator/scripts/write_role_config.sh \
--output ~/.codex/agents/reviewer.toml \
--role-name reviewer \
--description "PR reviewer focused on correctness, security, and risk." \
--model gpt-5.4 \
--reasoning high \
--developer-instructions "Review code like an owner. Lead with concrete findings and residual risks." \
--nickname-candidates "Atlas,Delta,Echo" \
--sandbox-mode read-only \
--web-search disabled
unknown agent_type, verify the active scope and confirm the file exists at the expected path.tomlq or tomlq -C.https://developers.openai.com/codex/subagentshttps://developers.openai.com/codex/subagents#display-nicknamestemplates/