by JAY201368
Gemini talks human. Codex shuts up and ships. Zero tokens spent waiting. Zero-dep async MCP server, live Monitor app & skill for Antigravity + Codex CLI.
# Add to your Claude Code skills
git clone https://github.com/JAY201368/codex-castorcodex-castor is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by JAY201368. Gemini talks human. Codex shuts up and ships. Zero tokens spent waiting. Zero-dep async MCP server, live Monitor app & skill for Antigravity + Codex CLI. It has 66 GitHub stars.
codex-castor's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/JAY201368/codex-castor" and add it to your Claude Code skills directory (see the Installation section above).
codex-castor is primarily written in Python. It is open-source under JAY201368 on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh codex-castor against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
English · 简体中文
Gemini talks human. Codex shuts up and ships. Zero tokens spent waiting.
Why Codex Castor · Benchmark · Quickstart · Monitoring · Permissions · Developer Docs · Homepage
https://github.com/user-attachments/assets/5ef7cb4c-914b-4e5f-a55f-bbb533259cee
Local Codex CLI writes solid, low-hallucination code — yet working with it directly often feels exhausting: dense jargon, defensive disclaimers leaking into your UI and READMEs, dated frontend taste, and subagent polling loops that burn tokens while waiting. Meanwhile, Gemini in Antigravity speaks plainly, nails visual taste, and clarifies requirements quickly.
Codex Castor puts Gemini in the architect seat and keeps Codex quietly executing in the background. You stay in one conversation with Gemini — no window-switching, no manual spec copy-pasting, and no token-burning status loops.
| Pain point when running Codex solo | How Codex Castor fixes it |
|---|---|
| Robotic jargon & defensive disclaimers leaking into UI/docs | Gemini owns requirements, UX copy, and final review. Codex executes headless specs and returns structured reports. |
Polling loops / sleep burning quota while waiting |
True zero-token idle wait. Antigravity runs codex_dispatch & codex_resume with background: "always", sleeps at 0 LLM tokens, and wakes Gemini automatically when Codex finishes. |
| Parallel tasks colliding in one working directory | Managed Git worktrees. Concurrent workers run on isolated codex/<task_id> branches; Gemini inspects diffs and merges cleanly. |
| Expensive full repo re-reads on rework | In-session codex_resume. Sends file-specific review feedback back to the same Codex session with memory intact — preserving prior model & effort automatically. |
Blindly cranking reasoning effort to xhigh |
Empirical routing loop. Logs duration, tokens, rework rate, inline 1–5 ratings, and verbatim first replies (PreInvocation hook) into a Model × Effort matrix so Gemini routes smarter over time. |
| Switching windows to check quota, Fast mode, or approvals | Antigravity Composer Widget + Codex Monitor. Toggle Codex Fast mode, switch permission policies (full_access, approve_for_me, workspace_write, read_only), and watch 5h/7d quota right from the chat bar. |
Studying MCP or multi-agent design? Even if you aren't on Antigravity yet, Codex Castor is a clean, self-contained reference implementation of a zero-dependency Python 3.9+ stdio MCP server (
mcp/server.py), a standaloneui://MCP App (mcp/monitor.html), and a zero-polling async delegation protocol.
What happens when you give the exact same prompt — build a local single-page Pour-Over Coffee Tasting Atlas & Brew Studio with editorial magazine aesthetics, 6 single-origin beans, live preference matching, interactive brew curve, and unit tests — to Solo Codex (xhigh) vs. Codex Castor (Gemini + Codex medium)?

| Metric | Solo Codex (gpt-6.2-sol · xhigh) |
Codex Castor (Gemini + Codex medium) |
Delta |
|---|---|---|---|
| First-draft wall time | 13m 33s |
5m 33s (parallel) |
2.4× faster |
| Reasoning tokens | 8,764 |
4,102 |
−53% |
| Passing unit tests | 6 |
17 |
+183% |
| UI & repository cleanliness | 3-screen landing page; "model estimate" / "for reference only" disclaimers in UI & README |
Single-viewport editorial UI, clean copy, zero disclaimers | Night-and-day |
Note: Real side-by-side run (UI labels translated to English for readability). Exact numbers vary by task, but separating architecture & visual review from headless implementation consistently beats throwing maximum reasoning effort at a single agent.
Prerequisites: Python 3.9+, Git, a configured local Codex CLI, and Antigravity. Zero third-party Python packages required.
git clone https://github.com/JAY201368/codex-castor.git && cd codex-castor && ./scripts/install.sh --install-statusline
Reload Antigravity to pick up the MCP server, composer widget, hook, and orchestrator skill, then verify the installation:
python3 scripts/doctor.py
Install Python for Windows (with the py launcher), Git for Windows, the native Codex CLI, and Antigravity, then run:
git clone https://github.com/JAY201368/codex-castor.git
Set-Location codex-castor
py -3 scripts/install.py --install-statusline
Restart Antigravity and verify with py -3 scripts/doctor.py. If codex.exe is outside PATH, pass --codex-bin 'C:\path\to\codex.exe'.
./scripts/install.sh (or py -3 scripts/install.py on Windows). Include --install-statusline when upgrading the optional CLI status line, and add --force-statusline only when replacing an existing custom status line.--symlink (link installed files to your checkout; requires Developer Mode / symlink permission on Windows), --gemini-dir PATH, --python PATH, --codex-bin PATH, --skip-gemini-md, --dry-run. Pass the same --gemini-dir to doctor.py; add --json for machine-readable diagnostics.PreInvocation hook in ~/.gemini/config/hooks.json and backs up any existing file to hooks.json.bak before modifying it.python3 scripts/install.py --uninstall (or py -3 scripts/install.py --uninstall on Windows). Add --purge-state only if you also want to delete saved Castor telemetry and task logs.Manual setup on macOS or Linux: Merge the codex-castor entry from config/mcp_config.example.json into ~/.gemini/config/mcp_config.json. Point command to Python 3.9+ and pass the absolute path to mcp/server.py. Keep telemetry.py, castor_platform.py, windows_process.py, composer_bridge.py, composer_widget.js, report.schema.json, and monitor.html alongside server.py (plus analytics.py and executable hook.py for an installed copy). Set CODEX_BIN to your Codex executable, install skills/codex-orchestrator/SKILL.md to ~/.gemini/config/skills/codex-orchestrator/SKILL.md, and merge config/GEMINI.md into ~/.gemini/GEMINI.md.
Merge this entry into ~/.gemini/config/hooks.json with your absolute Python and hook paths:
{
"codex-castor": {
"PreInvocation": [
{
"type": "command",
"command": "[ ! -f '/path/to/hook.py' ] || '/path/to/python3' '/path/to/hook.py'",
"timeout": 5
}
]
}
}
Codex Castor gives you full visibility at zero LLM tokens:
mcp/composer_widget.js, mcp/composer_bridge.py): Adds a native status entry beside the Antigravity model selector to check live 5h / 7d Codex quota, toggle Fast mode, and switch the default permission policy (full_access, approve_for_me, workspace_write, read_only) in one click.ui://codex-castor/monitor.html): Open in the Antigravity side panel or full-page view via codex_monitor. Refreshes every 1 second while active and every 8 seconds when idle via tools/call.
All, Active, Rated, Unrated), model/effort/Fast badges, concise failure summaries, two-step Cancel confirmation, full-screen Prompt & categorized Activity Stream viewers (per round for multi-round rework), and inline 1–5 star ratings & notes.scripts/hook.py