mit einem Klick
role-creator
// Create and update Codex custom agents using standalone custom-agent TOML files.
// Create and update Codex custom agents using standalone custom-agent TOML files.
Use when the user wants an end-to-end premium visual design workflow for any type of website or web page created directly from images.
Create or update Codex hooks for global or project scope by asking for scope and hook type when ambiguous, then writing the hook config, scripts, and any required feature flag config.
Add a Codex plugin from a GitHub repo to a repo or personal marketplace using the current Codex plugin layout and marketplace metadata.
Only to be triggered by explicit /parallel-task commands.
[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.
Only to be triggered by explicit super-swarm-spark commands.
| name | role-creator |
| description | Create and update Codex custom agents using standalone custom-agent TOML files. |
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/