
awesome-codex-subagents
A curated collection of 136+ specialized Codex subagents for development tasks across 10 categories
- Installs
- 273
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/reason-machines/codex-skills --skill awesome-codex-subagents- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads awesome-codex-subagents automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
awesome-codex-subagents
Skill by ara.so — Codex Skills collection.
A definitive collection of 136+ specialized Codex subagents covering development, infrastructure, quality assurance, and domain-specific tasks. Each subagent is a .toml configuration file that extends Codex with focused expertise for specific development scenarios.
What This Project Does
This repository provides pre-configured Codex subagents that you can install to delegate specialized tasks to AI assistants with domain expertise. Instead of asking a general-purpose agent to handle everything, you can explicitly invoke subagents optimized for:
- Core Development: API design, frontend/backend development, fullstack work
- Language Specialists: Python, TypeScript, Go, Rust, Java, and 20+ more languages
- Infrastructure: DevOps, Kubernetes, Terraform, cloud architecture
- Quality & Security: Testing, security audits, accessibility, code review
- Data & Analytics: Data engineering, ML pipelines, analytics
- Content & Documentation: Technical writing, API docs, localization
- Domain-Specific: Fintech, healthcare, gaming, embedded systems
- Emerging Tech: Blockchain, AI/ML infrastructure, quantum computing
- Research & Tools: Web search, academic research, benchmarking
Installation
Global Installation (Available in All Projects)
# Clone the repository
git clone https://github.com/VoltAgent/awesome-codex-subagents.git
cd awesome-codex-subagents
# Create global agents directory
mkdir -p ~/.codex/agents
# Install specific subagents (examples)
cp categories/01-core-development/backend-developer.toml ~/.codex/agents/
cp categories/02-language-specialists/python-pro.toml ~/.codex/agents/
cp categories/03-infrastructure/kubernetes-specialist.toml ~/.codex/agents/
Project-Specific Installation (Higher Precedence)
# In your project root
mkdir -p .codex/agents
# Install project-specific agents
cp path/to/awesome-codex-subagents/categories/04-quality-security/reviewer.toml .codex/agents/
cp path/to/awesome-codex-subagents/categories/02-language-specialists/typescript-pro.toml .codex/agents/
Install All Subagents in a Category
# Install all language specialists globally
mkdir -p ~/.codex/agents
cp categories/02-language-specialists/*.toml ~/.codex/agents/
# Install all infrastructure agents for current project
mkdir -p .codex/agents
cp categories/03-infrastructure/*.toml .codex/agents/
Subagent Structure
Each subagent is a .toml file with this structure:
name = "python-pro"
description = "Python ecosystem master for development, testing, and packaging"
model = "gpt-5.3-codex-spark"
model_reasoning_effort = "medium"
sandbox_mode = "workspace-write"
[instructions]
text = """
You are a Python development expert specializing in modern Python 3.10+...
Core Responsibilities:
- Write idiomatic, type-hinted Python code
- Use virtual environments and modern packaging tools
- Implement comprehensive testing with pytest
...
"""
Key Configuration Fields
- name: Unique identifier for the subagent
- description: When to invoke this subagent (used by Codex for routing)
- model: Which GPT model to use (
gpt-5.4for deep reasoning,gpt-5.3-codex-sparkfor fast tasks) - sandbox_mode: Filesystem access (
read-only,workspace-write, orfull) - instructions.text: The system prompt defining the subagent's expertise and behavior
Using Subagents
Explicit Delegation in Prompts
Codex does not auto-spawn custom subagents. You must explicitly delegate:
# Invoke the backend developer subagent
"@backend-developer create a REST API for user management with FastAPI"
# Use the security auditor to review code
"@security-auditor review the authentication module for vulnerabilities"
# Get the Python specialist to refactor code
"@python-pro refactor this script to use type hints and dataclasses"
Multiple Subagents in Sequence
# Design API first, then implement
"@api-designer design a RESTful API for a blog system"
# After reviewing the design:
"@backend-developer implement the blog API using the design from api-designer"
Project-Specific Overrides
If both global and project-specific agents exist with the same name, the project-specific one takes precedence:
# Global agent at ~/.codex/agents/reviewer.toml
# Project agent at .codex/agents/reviewer.toml
# The project version will be used when you invoke @reviewer
Common Patterns
Backend Development Workflow
# 1. Design the API
mkdir -p .codex/agents
cp categories/01-core-development/api-designer.toml .codex/agents/
# 2. Install language-specific agent
cp categories/02-language-specialists/python-pro.toml .codex/agents/
# 3. Add security review
cp categories/04-quality-security/security-auditor.toml .codex/agents/
# Usage:
"@api-designer design a REST API for inventory management"
"@python-pro implement the inventory API with FastAPI and SQLAlchemy"
"@security-auditor review the authentication and authorization logic"
Infrastructure Setup
# Install infrastructure agents
mkdir -p ~/.codex/agents
cp categories/03-infrastructure/terraform-engineer.toml ~/.codex/agents/
cp categories/03-infrastructure/kubernetes-specialist.toml ~/.codex/agents/
cp categories/03-infrastructure/cloud-architect.toml ~/.codex/agents/
# Usage:
"@cloud-architect design AWS infrastructure for a multi-region web app"
"@terraform-engineer write Terraform modules for the AWS design"
"@kubernetes-specialist create Kubernetes manifests for the application"
Full-Stack Feature Development
# Install full-stack agents
cp categories/02-language-specialists/react-specialist.toml .codex/agents/
cp categories/02-language-specialists/nodejs-expert.toml .codex/agents/
cp categories/04-quality-security/e2e-tester.toml .codex/agents/
# Usage:
"@react-specialist build a product listing page with filtering and pagination"
"@nodejs-expert create Express API endpoints for product data"
"@e2e-tester write Playwright tests for the product listing flow"
Code Quality Pipeline
# Install quality agents
cp categories/04-quality-security/reviewer.toml .codex/agents/
cp categories/04-quality-security/test-engineer.toml .codex/agents/
cp categories/04-quality-security/accessibility-tester.toml .codex/agents/
# Usage:
"@reviewer analyze the new payment module for design issues"
"@test-engineer add unit and integration tests for the payment module"
"@accessibility-tester audit the checkout page for WCAG 2.1 AA compliance"
Configuration
Custom Subagent Configuration
Create .codex/config.toml in your project:
[agents]
# Override default models for specific agents
python-pro.model = "gpt-5.4" # Use more powerful model
reviewer.sandbox_mode = "read-only" # Restrict to read-only
# Set default reasoning effort
*.model_reasoning_effort = "high"
Creating Custom Subagents
Create a new .toml file in .codex/agents/:
name = "my-custom-agent"
description = "Specialized agent for my team's specific needs"
model = "gpt-5.3-codex-spark"
sandbox_mode = "workspace-write"
[instructions]
text = """
You are a custom development agent for [YOUR TEAM/PROJECT].
Your primary responsibilities:
1. Follow our team's coding standards (link to internal docs)
2. Use our specific tech stack: [list technologies]
3. Implement features according to our architecture patterns
Code Style:
- Use [specific linter/formatter]
- Follow [naming conventions]
- Include [specific testing patterns]
Always:
- Check our internal documentation at [URL]
- Reference our API patterns in [repo location]
- Use our shared component library [package name]
"""
Category Overview
Core Development (12 agents)
api-designer- REST and GraphQL API designbackend-developer- Server-side developmentfrontend-developer- UI/UX implementationfullstack-developer- End-to-end featuresmobile-developer- Cross-platform mobile apps
Language Specialists (28 agents)
python-pro- Python ecosystem experttypescript-pro- TypeScript developmentrust-engineer- Systems programminggolang-pro- Go concurrency and servicesreact-specialist- React 18+ patternsnextjs-developer- Next.js 14+ full-stackvue-expert- Vue 3 Composition APIangular-architect- Angular 15+ enterprise
Infrastructure (16 agents)
devops-engineer- CI/CD pipelineskubernetes-specialist- K8s orchestrationterraform-engineer- Infrastructure as Codecloud-architect- AWS/GCP/Azure designsre-engineer- Site reliabilitydocker-expert- Container optimization
Quality & Security (16 agents)
security-auditor- Vulnerability assessmenttest-engineer- Testing strategyreviewer- Code review specialistaccessibility-tester- WCAG complianceperformance-optimizer- Performance tuning
Troubleshooting
Subagent Not Found
# Check if subagent is installed
ls -la ~/.codex/agents/
ls -la .codex/agents/
# Verify the name matches the file
cat .codex/agents/python-pro.toml | grep "^name"
# Restart Codex session
# (Implementation-specific, usually closing and reopening)
Wrong Subagent Responding
# Check for name conflicts
find ~/.codex/agents .codex/agents -name "*.toml" -exec grep "^name" {} \; -print
# Project-specific agents override global ones
# Remove the duplicate or rename one:
mv .codex/agents/python-pro.toml .codex/agents/python-pro-custom.toml
Subagent Not Following Instructions
# Review the instruction text
cat .codex/agents/your-agent.toml
# Ensure description clearly states when to invoke
# Update the instructions section to be more specific:
nano .codex/agents/your-agent.toml
# Be explicit in your delegation:
"@your-agent [very specific task description]"
Performance Issues
# Check model configuration
cat .codex/agents/slow-agent.toml | grep "^model"
# Switch to faster model for simple tasks:
# Change model = "gpt-5.4" to model = "gpt-5.3-codex-spark"
# Reduce reasoning effort in config:
[agents]
slow-agent.model_reasoning_effort = "low"
Sandbox Restrictions
# If agent can't modify files:
# Check sandbox_mode in the .toml file
cat .codex/agents/your-agent.toml | grep "sandbox_mode"
# Update to allow writes:
sandbox_mode = "workspace-write"
# Or for full system access (use cautiously):
sandbox_mode = "full"
Real-World Examples
Example 1: Building a REST API with Python
# Install agents
cp categories/02-language-specialists/python-pro.toml .codex/agents/
cp categories/01-core-development/api-designer.toml .codex/agents/
# Step 1: Design
"@api-designer design a REST API for a task management system with users, projects, and tasks"
# Step 2: Implement
"@python-pro implement the task management API using FastAPI with:
- JWT authentication
- SQLAlchemy models
- Pydantic schemas
- CRUD endpoints for users, projects, and tasks
- PostgreSQL database"
# Step 3: Test
"@python-pro add pytest tests for all endpoints with fixtures and mocks"
Example 2: Infrastructure with Terraform
# Install agents
cp categories/03-infrastructure/terraform-engineer.toml .codex/agents/
cp categories/03-infrastructure/cloud-architect.toml .codex/agents/
# Design infrastructure
"@cloud-architect design AWS infrastructure for a containerized web application with:
- ECS Fargate for compute
- RDS PostgreSQL for database
- ElastiCache Redis for sessions
- ALB for load balancing
- S3 for static assets
- CloudFront for CDN"
# Implement with Terraform
"@terraform-engineer create Terraform modules for the AWS infrastructure design:
- Use remote state in S3
- Separate modules for VPC, ECS, RDS, Redis, ALB
- Variables for environment-specific config
- Outputs for endpoints and connection strings"
Example 3: Frontend Development with React
# Install agents
cp categories/02-language-specialists/react-specialist.toml .codex/agents/
cp categories/02-language-specialists/typescript-pro.toml .codex/agents/
# Build UI component
"@react-specialist create a DataTable component with:
- TypeScript types
- Column sorting
- Pagination
- Row selection
- Filtering
- Virtualized scrolling for large datasets
- Tailwind CSS styling"
# Add tests
"@react-specialist write React Testing Library tests for DataTable covering:
- Rendering with mock data
- Sorting functionality
- Pagination controls
- Filter interactions"
Example 4: Security Review Pipeline
# Install security agents
cp categories/04-quality-security/security-auditor.toml .codex/agents/
cp categories/04-quality-security/dependency-auditor.toml .codex/agents/
# Audit authentication code
"@security-auditor review the authentication system in src/auth/ for:
- SQL injection vulnerabilities
- XSS risks
- CSRF protection
- Session management
- Password hashing
- Rate limiting"
# Check dependencies
"@dependency-auditor scan package.json and identify:
- Known CVEs in dependencies
- Outdated packages with security patches
- License compliance issues
- Recommended updates"
Environment Variables
Subagents should reference environment variables for sensitive data:
# ✅ Correct - use environment variables
import os
DATABASE_URL = os.getenv("DATABASE_URL")
API_KEY = os.getenv("API_KEY")
# ❌ Incorrect - never hardcode secrets
DATABASE_URL = "postgresql://user:pass@localhost/db"
API_KEY = "sk-1234567890abcdef"
When instructing subagents:
"@python-pro create a database connection using the DATABASE_URL environment variable from .env"
"@nodejs-expert set up AWS SDK to use credentials from AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables"
Additional Resources
- Official Codex Documentation
- GitHub Repository
- Discord Community
- Related Collections - Agent skills, Claude subagents, OpenClaw skills
Contributing
To add custom subagents to your local collection:
- Create a new
.tomlfile following the structure above - Place it in
.codex/agents/(project) or~/.codex/agents/(global) - Reference the official documentation for advanced configuration options
To contribute to the upstream repository, submit a pull request with your subagent in the appropriate category folder.
FAQ
What does the awesome-codex-subagents skill do?
A curated collection of 136+ specialized Codex subagents for development tasks across 10 categories
How do I install awesome-codex-subagents?
Run npx skills add https://github.com/reason-machines/codex-skills --skill awesome-codex-subagents in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/awesome-codex-subagents/ (personal) or .claude/skills/awesome-codex-subagents/ (project).
Which AI agents can use awesome-codex-subagents?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is awesome-codex-subagents safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains awesome-codex-subagents?
It is published by reason-machines in reason-machines/codex-skills. It has 273 recorded installs.
More from reason-machines/codex-skills
academic-research-skills-codex
reason-machines/codex-skills
Open the skill to read its SKILL.md instructions.
codexplusplus-launcher
reason-machines/codex-skills
Enhanced launcher for Codex App that unlocks plugins, enables session deletion, exports conversations, and syncs provider sessions via CDP injection
codex-plugin-claude-code
reason-machines/codex-skills
Open the skill to read its SKILL.md instructions.
awesome-codex-skills-curator
reason-machines/codex-skills
Open the skill to read its SKILL.md instructions.
codex-plusplus-tweak-system
reason-machines/codex-skills
Open the skill to read its SKILL.md instructions.
oh-my-codex-workflow
reason-machines/codex-skills
Open the skill to read its SKILL.md instructions.
Popular ai & agents skills
google-agents-cli-publish
google/agents-cli
This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).
google-agents-cli-eval
google/agents-cli
This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).
skill-creator
anthropics/skills
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
codex-pet
prime-skills/runcomfy-agent-skills
Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.
full-output-enforcement
leonxlnx/taste-skill
Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.
executing-plans
obra/superpowers
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available