
Role Creator
Guided workflow that authors and updates Codex custom agents as standalone TOML role files.
- CCM score
- 66 of 100
- skills.sh installs
- 1.2K
- GitHub stars
- 1K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers creating or updating one agent file per role, globally at
~/.codex/agents/or per project at.codex/agents/ - Requires confirmed inputs such as
name,description,developer_instructions, model, reasoning effort, and scope before any file is written - Includes a
write_role_config.shscript with optional flags for nickname candidates, sandbox mode, and web search - Designed for developers who want minimal role files, with
tomlqchecks and troubleshooting for unknown agent types
Install
$ npx -y skills add am-will/codex-skills --skill role-creator -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Role Creator
Overview
Use this skill to author, update, or troubleshoot custom Codex agents as standalone TOML files.
Current behavior:
- Each custom agent is defined by one file:
- Global:
~/.codex/agents/<agent-name>.toml - Project:
<project>/.codex/agents/<agent-name>.toml
- Global:
- The agent file is the role source of truth.
~/.codex/config.tomlis only for global/runtime settings (for example[agents]thread limits), not per-role registration.
Non-Negotiable Inputs
Step 1 is required before writing files:
name(role identifier used byagent_type)description(short, human-readable purpose)developer_instructionsmodel(recommendgpt-5.3-codexunless requested)model_reasoning_effort(none|minimal|low|medium|high|xhigh)- role scope (
globalorproject) - output TOML path (canonical absolute path preferred)
- whether to include
nickname_candidatesand exact values
Execution rule:
- Do not infer required values.
- Do not write until required inputs are explicitly confirmed.
Role file contract (current)
Details
More from am-will/codex-skills
All 14Similar to Role Creator
More Skill & Plugin Building
create-custom-agentdotnet/skills4.7K installsScaffolds VS Code .agent.md custom agent files with tools, instructions, and agent-to-agent handoffs.
create-subagentsglittercowboy/taches-cc-resources271 installsExpert guide for creating Claude Code subagents, writing their system prompts, and using the Task tool.
agent-developmentanthropics/claude-plugins-official8.7K installsGuided authoring of Claude Code plugin agents, covering frontmatter fields, triggering descriptions, and system prompt structure.
create-agentneolabhq/context-engineering-kit1.3K installsComprehensive guide for creating Claude Code agents with validated frontmatter, triggering examples, and system prompts.
create-agentsmdgithub/awesome-copilot13.4K installsGuided prompt for generating a repository-root AGENTS.md that gives coding agents setup, testing, style, and PR context.
agent-rulesnetresearch/agent-rules-skill814 installsGenerates and maintains AGENTS.md files for projects, with verification and line-cap guardrails for AI agent onboarding.