odellsallis93/skills-repo/create-subagent
Claude Code and agent skill by odellsallis93/skills-repo
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Create custom Codex subagents for specialized tasks. Use when the user wants a reusable reviewer, debugger, researcher, worker, or other custom agent with its own model, sandbox, tools, or instructions.
Install
npx vskill@latest install odellsallis93/skills-repo/create-subagentSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as odellsallis93/skills-repo/create-subagent.
Create custom Codex subagents
Create a reusable custom agent as a standalone TOML configuration file. Infer the job and scope from the conversation when the answer is clear. Ask only when the missing choice would materially change the agent.
Choose the scope
| Location | Scope | |
|---|---|---|
<repo>/.codex/agents/<name>.toml | One trusted project | |
~/.codex/agents/<name>.toml | All local projects for this user |
Prefer the project location for repository-specific knowledge or team-shared behavior. Prefer the user location for personal agents that should work in unrelated repositories.
Project agent files load only when Codex trusts the project. If a project and user agent share the same name, the project configuration layer takes precedence.
File format
Every custom agent file must define name, description, and developer_instructions.
Use a simple snake_case name. Match the filename to the name when practical. The name field remains the source of truth.
Optional settings
A custom agent file is a Codex configuration layer. Add only settings needed for that role:
modelandmodel_reasoning_effortsandbox_modemcp_serversskills.config
Do not copy the full user configuration into each agent. Unspecified values inherit from the parent session.
Workflow
- Decide the agent's one job and whether it is project-scoped or user-scoped.
- Check for an existing file or agent with the same name. Preserve unrelated content and never overwrite silently.
- Create the
.codex/agentsdirectory only when it is missing. - Write a TOML file with the three required fields.
- Add model, reasoning, sandbox, MCP, or skill settings only when the job requires them.
- Parse or inspect the TOML for syntax errors.
- Test the agent with a small realistic task. Restart Codex if a new definition is not discovered in the current session.
Quality rules
- Keep each agent focused on one kind of work.
- Describe when the parent should choose it in concrete terms.
- Put durable role behavior in
developer_instructions. - Set a read-only sandbox for review and research roles unless they must edit.
- Preserve the user's model choice and authorization limits.
For current schema details, consult the official Codex subagents documentation before using an unfamiliar configuration key.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/odell-codex/skills/create-subagent/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/odellsallis93/skills-repo/create-subagent)