my-codex

May 14, 2026 · View on GitHub

English | 한국어 | 日本語 | 中文 | Deutsch | Français

Claude Code Looking for Claude Code? → my-claude — same Boss orchestration in native Claude .md agent format


my-codex

License: MIT Agents Skills MCP Auto Sync

All-in-one agent harness for OpenAI Codex CLI. Install once, 330+ agents ready.

Boss auto-discovers every agent and skill at runtime, then routes your task to the right specialist via spawn_agent. No config. No boilerplate.

The Maestro Owl — my-codex

Installation

For Humans

curl -fsSL https://raw.githubusercontent.com/sehoon787/my-codex/main/install.sh | bash

Clone-based install:

git clone --depth 1 https://github.com/sehoon787/my-codex.git /tmp/my-codex
bash /tmp/my-codex/install.sh
rm -rf /tmp/my-codex

Windows note:

  • install.sh patches the npm-managed codex, codex.cmd, and codex.ps1 shims when they exist, so the my-codex vault pipeline still has wrapper fallback coverage even if %APPDATA%\npm resolves before ~/.codex/bin.

For AI Agents

Read https://raw.githubusercontent.com/sehoon787/my-codex/main/AI-INSTALL.md and follow every step.

How Boss Works

Boss is the meta-orchestrator at the core of my-codex. It never writes code — it discovers, classifies, matches, delegates, and verifies.

User Request


┌─────────────────────────────────────────────┐
│  Phase 0 · DISCOVERY                        │
│  Scan ~/.codex/agents/*.toml at runtime     │
│  → Build live capability registry           │
└──────────────────────┬──────────────────────┘

┌─────────────────────────────────────────────┐
│  Phase 1 · INTENT GATE                      │
│  Classify: trivial | build | refactor |     │
│  mid-sized | architecture | research | ...  │
│  → Counter-propose skill if better fit      │
└──────────────────────┬──────────────────────┘

┌─────────────────────────────────────────────┐
│  Phase 2 · CAPABILITY MATCHING              │
│  P1: Exact skill match                      │
│  P2: Specialist agent via spawn_agent       │
│  P3: Multi-agent orchestration              │
│  P4: General-purpose fallback               │
└──────────────────────┬──────────────────────┘

┌─────────────────────────────────────────────┐
│  Phase 3 · DELEGATION                       │
│  spawn_agent with structured instructions   │
│  TASK / OUTCOME / TOOLS / DO / DON'T / CTX  │
└──────────────────────┬──────────────────────┘

┌─────────────────────────────────────────────┐
│  Phase 4 · VERIFICATION                     │
│  Read changed files independently           │
│  Run tests, lint, build                     │
│  Cross-reference with original intent       │
│  → Retry up to 3× on failure               │
└─────────────────────────────────────────────┘

Priority Routing

Boss cascades every request through a priority chain until the best match is found:

PriorityMatch TypeWhenExample
P1Skill matchTask maps to a self-contained skill"merge PDFs" → pdf skill
P2Specialist agentDomain-specific agent exists"security audit" → security-reviewer
P3aBoss direct2–4 independent agents"fix 3 bugs" → parallel spawn
P3bSub-orchestratorComplex multi-step workflow"refactor + test" → Sisyphus
P4FallbackNo specialist matches"explain this" → general agent

Model Routing

ComplexityModelUsed For
Deep analysis, architectureo3 (high reasoning)Boss, Oracle, Sisyphus, Atlas
Standard implementationo3 (medium)executor, debugger, security-reviewer
Quick lookup, explorationo4-mini (low)explore, simple advisory

3-Phase Sprint Workflow

For end-to-end feature implementation, Boss orchestrates a structured sprint:

Phase 1: DESIGN         Phase 2: EXECUTE        Phase 3: REVIEW
(interactive)            (autonomous)             (interactive)
─────────────────────   ─────────────────────   ─────────────────────
User decides scope      executor runs tasks     Compare vs design doc
Engineering review      Auto code review        Present comparison table
Confirm "design done"   Architect verification  User: approve / improve

Architecture

┌─────────────────────────────────────────────────────┐
│                    User Request                       │
└───────────────────────┬─────────────────────────────┘

┌─────────────────────────────────────────────────────┐
│  Boss · Meta-Orchestrator (o3 high)                   │
│  Discovery → Classification → Matching → Delegation  │
└──┬──────────┬──────────┬──────────┬─────────────────┘
   │          │          │          │
   ▼          ▼          ▼          ▼
┌──────┐ ┌────────┐ ┌────────┐ ┌────────┐
│ P3a  │ │  P3b   │ │  P1/P2 │ │Config  │
│Direct│ │Sub-orch│ │ Skill/ │ │Control │
│2-4   │ │Sisyphus│ │ Agent  │ │config. │
│spawn │ │Atlas   │ │ Direct │ │toml    │
└──────┘ └────────┘ └────────┘ └────────┘
┌─────────────────────────────────────────────────────┐
│  Agent Layer (330+ installed TOML files)              │
│  OMO 9 · OMX 33 · Awesome Core 54 · Superpowers 1   │
│  + 20 domain agent-packs (on-demand)                  │
├─────────────────────────────────────────────────────┤
│  Skills Layer (200+ from ECC + gstack + OMX + more)  │
│  tdd-workflow · security-review · autopilot           │
│  pdf · docx · pptx · xlsx · team                     │
├─────────────────────────────────────────────────────┤
│  MCP Layer                                            │
│  Context7 · Exa · grep.app                            │
└─────────────────────────────────────────────────────┘

What's Inside

CategoryCountSource
Core agents (always loaded)98Boss 1 + OMO 9 + OMX 33 + Awesome Core 54 + Superpowers 1
Agent packs (on-demand)220+20 domain categories from agency-agents + awesome-codex-subagents
Skills200+ECC 180+ · gstack 40 · OMX 36 · Superpowers 14 · Core 2
MCP Servers3Context7, Exa, grep.app
config.toml1my-codex
AGENTS.md1my-codex
Core Agent — Boss meta-orchestrator (1)
AgentModelRoleSource
Bosso3 highDynamic runtime discovery → capability matching → optimal routing. Never writes code.my-codex
OMO Agents — Sub-orchestrators and specialists (9)
AgentModelRoleSource
Sisyphuso3 highIntent classification → specialist delegation → verificationoh-my-openagent
Hephaestuso3 highAutonomous explore → plan → execute → verifyoh-my-openagent
Atlaso3 highTask decomposition + 4-stage QA verificationoh-my-openagent
Oracleo3 highStrategic technical consulting (read-only)oh-my-openagent
Metiso3 highIntent analysis, ambiguity detectionoh-my-openagent
Momuso3 highPlan feasibility reviewoh-my-openagent
Prometheuso3 highInterview-based detailed planningoh-my-openagent
Librariano3 mediumOpen-source documentation search via MCPoh-my-openagent
Multimodal-Lookero3 mediumImage/screenshot/diagram analysisoh-my-openagent
OMC Agents — Specialist workers (19)
AgentRoleSource
analystPre-analysis before planningoh-my-claudecode
architectSystem design and architectureoh-my-claudecode
code-reviewerFocused code reviewoh-my-claudecode
code-simplifierCode simplification and cleanupoh-my-claudecode
criticCritical analysis, alternative proposalsoh-my-claudecode
debuggerFocused debuggingoh-my-claudecode
designerUI/UX design guidanceoh-my-claudecode
document-specialistDocumentation writingoh-my-claudecode
executorTask executionoh-my-claudecode
exploreCodebase explorationoh-my-claudecode
git-masterGit workflow managementoh-my-claudecode
plannerRapid planningoh-my-claudecode
qa-testerQuality assurance testingoh-my-claudecode
scientistResearch and experimentationoh-my-claudecode
security-reviewerSecurity reviewoh-my-claudecode
test-engineerTest writing and maintenanceoh-my-claudecode
tracerExecution tracing and analysisoh-my-claudecode
verifierFinal verificationoh-my-claudecode
writerContent and documentationoh-my-claudecode
Awesome Core Agents (54) — From awesome-codex-subagents

4 categories installed to ~/.codex/agents/:

01-core-development (12) accessibility-tester, ad-security-reviewer, agent-installer, api-designer, code-documenter, code-reviewer, dependency-manager, full-stack-developer, monorepo-specialist, performance-optimizer, refactoring-specialist, tech-debt-analyzer

03-infrastructure (16) azure-infra-engineer, cloud-architect, container-orchestrator, database-architect, disaster-recovery-planner, edge-computing-specialist, infrastructure-as-code, kubernetes-operator, load-balancer-specialist, message-queue-designer, microservices-architect, monitoring-specialist, network-engineer, serverless-architect, service-mesh-designer, storage-architect

04-quality-security (16) api-security-tester, chaos-engineer, compliance-auditor, contract-tester, data-privacy-officer, e2e-test-architect, incident-responder, load-tester, mutation-tester, penetration-tester, regression-tester, security-scanner, soc-analyst, static-analyzer, threat-modeler, vulnerability-assessor

09-meta-orchestration (10) agent-organizer, capability-assessor, conflict-resolver, context-manager, execution-planner, multi-agent-coordinator, priority-manager, resource-allocator, task-decomposer, workflow-orchestrator

Superpowers Agent (1) — From obra/superpowers
AgentRoleSource
superpowers-code-reviewerComprehensive code review with brainstorming and TDD verificationsuperpowers
Agent Packs — On-demand domain specialists (21 categories)

Installed to ~/.codex/agent-packs/. Managed via:

# View current state
~/.codex/bin/my-codex-packs status

# Enable a pack immediately
~/.codex/bin/my-codex-packs enable marketing

# Switch profiles at install time
bash /tmp/my-codex/install.sh --profile minimal
bash /tmp/my-codex/install.sh --profile full
PackCountExamples
engineering32Backend, Frontend, Mobile, DevOps, AI, Data
marketing27Douyin, Xiaohongshu, WeChat OA, TikTok, SEO
language-specialists27Python, Go, Rust, Swift, Kotlin, Java
specialized31Legal, Finance, Healthcare, Workflow
game-development20Unity, Unreal, Godot, Roblox, Blender
infrastructure19Cloud, K8s, Terraform, Docker, SRE
developer-experience13MCP Builder, LSP, Terminal, Rapid Prototyper
data-ai13Data Engineer, ML, Database, ClickHouse
specialized-domains12Supply Chain, Logistics, E-Commerce
design11Brand, UI, UX, Visual Storytelling
business-product11Product Manager, Growth, Analytics
testing11API, Accessibility, Performance, E2E, QA
sales8Deal strategy, pipeline, outbound
paid-media7Google Ads, Meta Ads, Programmatic
research-analysis7Trend, Market, Competitive Analysis
project-management6Agile, Jira, workflows
spatial-computing6XR, WebXR, AR/VR, visionOS
support6Customer support, developer advocacy
academic5Study abroad, corporate training
product5Product management, UX research
security5Penetration testing, compliance, audit
Skills — 200+ from 5 sources
SourceCountKey Skills
everything-claude-code180+tdd-workflow, autopilot, security-review, coding-standards
oh-my-codex36plan, team, trace, deep-dive, blueprint, ultrawork
gstack40/qa, /review, /ship, /cso, /investigate, /office-hours
superpowers14brainstorming, systematic-debugging, TDD, parallel-agents
my-codex Core2boss-advanced, boss-briefing
MCP Servers (3)
ServerPurposeCost
Context7Real-time library documentationFree
ExaSemantic web searchFree 1k req/month
grep.appGitHub code searchFree

Briefing Vault

Obsidian-compatible persistent memory. Every project maintains a .briefing/ directory that updates during Codex sessions via native plugin hooks, with wrapper fallback for session start/end continuity.

.briefing/
├── INDEX.md                          ← Project context (auto-created once)
├── state.json                        ← Session metadata, counters, lastVaultSync (auto-managed)
├── sessions/
│   ├── YYYY-MM-DD-<topic>.md        ← Human/agent-written follow-up session summary
│   └── YYYY-MM-DD-auto.md           ← Auto-generated scaffold (recorded files, filtered status, follow-up)
├── decisions/
│   └── YYYY-MM-DD-<decision>.md     ← Human/agent-written decision record
├── learnings/
│   ├── YYYY-MM-DD-<pattern>.md      ← Human/agent-written learning note
│   └── YYYY-MM-DD-auto-session.md   ← Auto-generated scaffold (files, wrapper activity, prompts)
├── references/
│   └── auto-links.md                ← Reserved for collected research links
├── archives/                         ← PARA: completed/inactive notes (flat)
├── wiki/                             ← LLM-wiki: concept pages
│   └── _schema.md
├── agents/
│   ├── agent-log.jsonl              ← Wrapper/session log
│   └── YYYY-MM-DD-summary.md        ← Daily logged-signal breakdown
└── persona/
    ├── profile.md                   ← Routing/profile summary from logged signals
    ├── suggestions.jsonl            ← Routing suggestions (auto-generated)
    ├── persona-policy.json          ← Accepted soft routing preferences for Boss
    └── rules/                       ← Workflow pattern rules (workflow-*.md)

Sub-Vaults

PathDescription
INDEX.mdProject overview with links to recent decisions and learnings. Auto-created on first session, refreshed periodically.
sessions/Session summaries. *-auto.md — auto-generated scaffold refreshed during the session and finalized at stop using recorded session files, filtered status, and logged signals. <topic>.md — human or agent-written follow-up session summary prompted by the vault reminders.
decisions/Architecture and design decisions with rationale. Write these as durable notes when a decision is important enough to keep.
learnings/Patterns, gotchas, non-obvious solutions. *-auto-session.md — auto-generated scaffold refreshed during the session with the session's recorded file list, logged signals, and prompts for follow-up notes. <topic>.md — human or agent-written learning note.
references/Web research URLs. references/auto-links.md is updated from WebSearch/WebFetch hook activity when those native Codex hooks are available.
agents/Logged session signals. agent-log.jsonl — enriched entries with {ts, agent_id, agent_type, phase, seq, task_hint}. YYYY-MM-DD-summary.md — daily logged-signal breakdown derived from that log.
persona/User work style profile. profile.md — routing/profile summary derived from logged signals. suggestions.jsonl — routing recommendations. persona-policy.json — accepted soft routing preferences. rules/workflow-*.md — workflow sequence pattern rules proposed by /boss-briefing.
state.jsonSession metadata: counters, lastVaultSync, sessionStartHead. Auto-managed by hooks.
archives/PARA Archives — completed sessions (30+ days), superseded decisions, inactive learnings
wiki/LLM-wiki concept pages — distilled knowledge from multiple sessions

Knowledge Management (v2)

BriefingVault v2 integrates three knowledge management methodologies:

MethodologyApplied As
PARA (Tiago Forte)Directory structure: sessions=Projects, decisions=Areas, references=Resources, archives=Archives
Zettelkasten (Luhmann)Atomic notes in learnings/, unique IDs (YYYYMMDDHHMMSS), enforced [[wiki-links]]
LLM-wiki (Karpathy)Concept pages in wiki/ — auto-suggested when keywords appear 3+ times

Codex CLI session-end hooks automatically:

  • Suggest archiving notes older than 30 days
  • Propose wiki pages for frequently mentioned concepts
  • Generate unique Zettelkasten IDs for new notes

Session-Specific Diffs

At session start, my-codex saves the current git HEAD and a snapshot of the working tree state. During the session, native Codex hooks refresh .briefing scaffolds after prompts, edits, searches, and subagent completions. At session end, the final scaffold summarizes diff and status only for recorded paths, while filtering hook-created noise such as .briefing/ artifacts and session-start .gitignore edits.

This keeps the scaffold focused on session-owned work instead of dumping the entire repository status. For non-git projects, a YYYY-MM-DD:cwd identifier is used as fallback.

Using with Obsidian

  1. Open Obsidian → Open folder as vault → select .briefing/
  2. Notes appear in graph view, linked by [[wiki-links]]
  3. YAML frontmatter (date, type, tags) enables structured search
  4. Timeline scaffolds for sessions and learnings build automatically; follow-up summaries, decisions, and learning notes accumulate as you write them

/boss-briefing

Run /boss-briefing during or at the end of a session to:

  • Sync vault: Update profile.md, INDEX.md, and agent summaries
  • Detect workflow patterns: Analyze temporal agent call sequences across sessions
  • Recover from gaps: Generate recovery summaries if days have passed since the last session
  • Propose persona rules: Suggest workflow-based routing preferences (not just frequency)
  • Validate session notes: Check that today's session has a proper summary

The Stop hook checks whether /boss-briefing has run today. If not, it blocks session end with a reminder. The existing stop-profile-update.js continues to run as a fallback.

Behavioral Hooks

HookEventBehavior
Session SetupSessionStartAuto-detects tools + injects Briefing Vault context
Delegation GuardPreToolUseBlocks Boss from directly modifying files
Agent TelemetryPostToolUseLogs agent usage to analytics
Vault EnforcerPostToolUseCounts edits, warns if no vault entries
Subagent LoggerSubagentStopLogs agent execution to Briefing Vault
Vault ReminderUserPromptSubmitSuggests /boss-briefing after 5+ messages
Completion CheckStopRuns profile fallback + guards /boss-briefing
Teammate GuideTeammateIdlePrompts leader on idle teammates
Quality GateTaskCompletedVerifies deliverable quality

Upstream Open-Source Sources

my-codex bundles content from 9 upstream repositories:

#SourceWhat It Provides
1 my-claude — sehoon787Sister project. Same Boss orchestration in native Claude .md agent format. Skills, rules, and briefing vault shared across both projects.
2 awesome-codex-subagents — VoltAgent136 production-grade agents in native TOML format. Already Codex-compatible, no conversion needed. 54 core agents auto-loaded.
3 oh-my-codex — Yeachan Heo36 skills, hooks, HUD, and team pipelines for Codex CLI. Referenced as architectural inspiration.
4 agency-agents — msitarzewski180+ business specialist agent personas across 14 categories. Converted from Markdown to native TOML via automated pipeline.
5 everything-claude-code — affaan-m180+ skills across development workflows. Claude Code-specific content stripped; generic coding skills retained.
6 superpowers — Jesse Vincent14 skills + 1 agent covering brainstorming, TDD, parallel agents, and code review.
7 oh-my-openagent — code-yeongyu9 OMO agents (Sisyphus, Atlas, Oracle, etc.). Adapted to Codex-native TOML format.
8 gstack — garrytan40 skills for code review, QA, security audit, deployment. Includes Playwright browser daemon.
9 VibeProxy — automazeioOAuth-based API proxy. Uses existing AI subscriptions (ChatGPT Plus, Gemini, Claude) without separate API keys. Optional setup via vibeproxy-setup.sh.

GitHub Actions

WorkflowTriggerPurpose
CIpush, PRValidates TOML agent files, skill existence, and upstream file counts
Update Upstreamweekly (Monday) / manualRuns git submodule update --remote and creates auto-merge PR
Auto Tagpush to mainReads version from config.toml and creates git tag if new
Pagespush to mainDeploys docs/index.html to GitHub Pages
CLAPRContributor License Agreement check
Lint Workflowspush, PRValidates GitHub Actions workflow YAML syntax

my-codex Originals

Features built specifically for this project, beyond what upstream sources provide:

FeatureDescription
Boss Meta-OrchestratorDynamic capability discovery → intent classification → 4-priority routing → delegation → verification
3-Phase SprintDesign (interactive) → Execute (autonomous via executor) → Review (interactive vs design doc)
Agent Tier Prioritycore > omo > omc > awesome-core deduplication. Most specialized agent wins.
Cost Optimizationo4-mini for advisory, o3 for implementation — automatic model routing for 330+ agents
Briefing SignalsWrapper/session logging feeds .briefing/agents/agent-log.jsonl, daily summaries, and routing/profile hints
Smart PacksProject-type detection recommends relevant agent packs at session start
Agent Pack SystemOn-demand domain specialist activation via --profile and my-codex-packs helper
Codex Attributiongit hooks record Codex-touched files and append AI-Contributed-By: Codex to commit messages
CI Dedup DetectionAutomated duplicate TOML agent detection across upstream syncs

Installation Options

Quick Install

git clone --depth 1 https://github.com/sehoon787/my-codex.git /tmp/my-codex
bash /tmp/my-codex/install.sh
rm -rf /tmp/my-codex

Re-running the same command refreshes to the latest main build, replaces only my-codex-managed files in ~/.codex/, and removes stale skill copies from ~/.agents/skills/.

Agent Pack Profiles

On first install, my-codex auto-activates a recommended dev set (engineering, design, testing, marketing, support) and records it in ~/.codex/enabled-agent-packs.txt.

# Minimal profile (core agents only, no packs)
bash /tmp/my-codex/install.sh --profile minimal

# Full profile (all 21 pack categories enabled)
bash /tmp/my-codex/install.sh --profile full

Codex Attribution System

install.sh installs a codex wrapper plus global git hooks in ~/.codex/git-hooks/:

  • prepare-commit-msg — Records files changed during a real Codex session
  • commit-msg — Appends Generated with Codex CLI: https://github.com/openai/codex when staged files intersect the recorded change set
  • post-commit — Adds AI-Contributed-By: Codex trailer to qualifying commits

Opt-in Co-authored-by trailer: set both git config --global my-codex.codexContributorName '<label>' and my-codex.codexContributorEmail '<github-linked-email>'. Disable entirely: git config --global my-codex.codexAttribution false. my-codex does not change git user.name, git user.email, or commit author identity.

Agent TOML Format

Every agent is a native TOML file in ~/.codex/agents/:

name = "debugger"
description = "Focused debugging specialist — traces failures to root cause"
model = "o3"
model_reasoning_effort = "medium"

[developer_instructions]
content = """
You are a debugging specialist. Analyze failures systematically:
1. Reproduce the issue
2. Isolate the root cause
3. Propose a minimal fix
4. Verify the fix does not break adjacent behavior
"""

config.toml

Global Codex settings in ~/.codex/config.toml:

[agents]
max_threads = 8
max_depth = 1
  • max_threads — Maximum concurrent sub-agents
  • max_depth — Maximum nesting depth for agent-spawns-agent chains

Bundled Upstream Versions

Upstream sources managed as git submodules. Pinned commits tracked in .gitmodules.

SourceSync
agency-agentssubmodule
everything-claude-codesubmodule
oh-my-codexsubmodule
awesome-codex-subagentssubmodule
gstacksubmodule
superpowerssubmodule

FAQ

How is my-codex different from my-claude?

my-codex and my-claude share the same Boss orchestration architecture and upstream skill sources. The key difference is the runtime: my-codex targets OpenAI Codex CLI with native .toml agent format and spawn_agent delegation, while my-claude targets Claude Code with .md agent format and the Agent tool.

Can I use both my-codex and my-claude?

Yes. They install to separate directories (~/.codex/ and ~/.claude/) and do not conflict. Skills from shared upstream sources are adapted for each platform.

How do agent packs work?

Agent packs are domain-specific agent collections installed to ~/.codex/agent-packs/. On first install, a dev profile is auto-activated. Use my-codex-packs enable <pack> to activate additional packs, or reinstall with --profile full to enable all 21 categories.

How does upstream sync work?

A GitHub Actions workflow runs every Monday, pulling the latest commits from all upstream submodules and creating an auto-merge PR. You can also trigger it manually from the Actions tab.

What models does my-codex use?

Boss and sub-orchestrators (Sisyphus, Atlas, Oracle) use o3 with high reasoning effort. Standard workers use o3 with medium reasoning. Lightweight advisory agents use o4-mini.


Troubleshooting

Skills-only recovery

If a tool reports invalid SKILL.md files under ~/.agents/skills/, the most common cause is a stale local copy or stale symlink target from an older install.

Remove the affected directories from ~/.agents/skills/ and matching entries under ~/.claude/skills/, then reinstall:

npx skills add sehoon787/my-codex -y -g

If you use the full Codex bundle, rerun install.sh once as well. The full installer refreshes ~/.codex/skills/ and removes stale my-codex-managed copies under ~/.agents/skills/.


Contributing

Issues and PRs are welcome. When adding a new agent, add a .toml file to codex-agents/core/ or codex-agents/omo/ and update the agent list in SETUP.md. See CONTRIBUTING.md for PR validation steps and Codex commit attribution behavior.

Credits

Built on the work of: my-claude (sehoon787), awesome-codex-subagents (VoltAgent), oh-my-codex (Yeachan Heo), agency-agents (msitarzewski), everything-claude-code (affaan-m), oh-my-openagent (code-yeongyu), gstack (garrytan), superpowers (Jesse Vincent), openai/skills (OpenAI).

License

MIT License. See the LICENSE file for details.