Token efficient Claude Code full Python rebuild. AI Coding Agent in 310K LoC Python.
# Add to your Claude Code skills
git clone https://github.com/agentforce314/clawcodexLast scanned: 5/30/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-30T15:16:26.538Z",
"npmAuditRan": true,
"pipAuditRan": false
}See how clawcodex compares with popular alternatives.
clawcodex is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by agentforce314. Token efficient Claude Code full Python rebuild. AI Coding Agent in 310K LoC Python. It has 924 GitHub stars.
Yes. clawcodex passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/agentforce314/clawcodex" and add it to your Claude Code skills directory (see the Installation section above).
clawcodex is primarily written in TypeScript. It is open-source under agentforce314 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM 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 clawcodex against similar tools.
No comments yet. Be the first to share your thoughts!
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
English | 中文 | Français | Русский | हिन्दी | العربية | Português
A production-oriented Python rebuild of Claude Code — real architecture, reliable CLI agent
Ported from the TypeScript reference implementation and extended with a Python-native runtime
🔥 Active Development • New Features Weekly 🔥

A 30-second session in the web UI (clawcodex web): ask for a feature, watch it read, edit, run the tests, and report. MP4 version
TeamCreate makes your session the leader. Named teammates stay alive between assignments, message each other and the leader, and pull work from a shared, dependency-aware task board — while one session-scoped supervisor admits, tracks and interrupts every subagent, foreground or background, and can pause new spawns for the whole session.Background workers genuinely resume with their history under the same ID, a worker's pending permission prompt is withdrawn when it is interrupted, and worktree isolation runs in a real Git checkout or fails before the model runs. In-process teams, one per workspace — verified end to end with a scripted provider driving real query loops, tools and WebSocket connections, plus a live DeepSeek smoke run. Read the verification notes →
ClawCodex — the open-source Python rebuild of Claude Code — run headless on claude-opus-5 at effort=xhigh.
A single run (k=1) against the board's k=5 averages; benchmarked on main at #756. Fully reproducible from the
open-source Harbor adapter. Read the full breakdown ↓
tail away.One toggle, deterministic filters — failure-focused test summaries, git/pip/npm ceremony
stripping, log dedup, recoverable head-caps — guarded to be never worse than the raw rendering.
Stacks with the DeepSeek prefix cache: the cache makes your stable
prefix nearly free, /eco shrinks the fresh suffix every turn actually pays for.
See the measured benchmark ↓
$0.003 / 1M tokens — about 3,300× cheaper than Claude Fable 5 ($10 / 1M).ClawCodex keeps your request prefix byte-stable, so DeepSeek's prompt cache covers your whole
system + tools + history span across turns. The longer you code, the more you save.
deepseek-flash (DeepSeek-V4.1-Flash) off-peak, checked 2026-09-10. DeepSeek doubles every
rate during peak hours (01:00–04:00 and 06:00–10:00 UTC, Mon–Fri) — still ~1,600× cheaper there.
/cost follows the schedule.
--nano ModeSix tools, a ~2K-token fixed payload (vs ~17K default), zero per-turn injections, /eco on.
clawcodex --nano -p "<task>" ports the pi harness's edit ladder (multi-edit + fuzzy match),
truncation guard, and compaction file-ledger — while non-nano behavior is unchanged, apart from
a Bash fix every mode got: output is now drained while a command runs, so one that prints over ~64 KB
no longer stalls until the timeout.
docs/nano.md
One line — installs uv, Python 3.10+, and puts clawcodex on your PATH.
macOS / Linux / WSL / Git Bash:
curl -fsSL https://clawcodex.app/install.sh | bash
Windows (native PowerShell — no WSL needed):
irm https://clawcodex.app/install.ps1 | iex
Then configure a provider and start coding:
clawcodex login # interactive provider + API key setup → ~/.clawcodex/config.json
clawcodex # start it in any project — Full Access by default, /permissions to change
clawcodex web --build # first run: build and start the Web UI at http://127.0.0.1:8081
Both installers ship the same clawcodex lifecycle helpers — doctor (diagnose your
environment), verify (health-check the install), update, and uninstall — and are
re-run-safe. To pass flags through the pipe:
curl -fsSL https://clawcodex.app/install.sh | bash -s -- --dry-run on POSIX, or
& ([scriptblock]::Create((irm https://clawcodex.app/install.ps1))) -DryRun on Windows.
Windows prerequisite: Git for Windows — its Git Bash
is what the shell tool runs commands with.
git clone https://github.com/agentforce314/clawcodex.git
cd clawcodex
python3 -m venv .venv && source .venv/bin/activate # Python 3.10+
pip install -r requirements.txt
python -m src.cli login # writes config to ~/.clawcodex/config.json
python -m src.cli # start it (Full Access by default; /permissions to change)
The configuration file is saved at ~/.clawcodex/config.json. Minimal example:
{
"default_provider": "deepseek",
"providers": {
"deepseek": {
"api_key": "xxx-xxx",
"base_url": "https://api.deepseek.com",
"default_model": "deepseek-flash"
}
},
"env": {
"TAVILY_API_KEY": "tvly-YOUR-TAVILY-API-KEY"
}
}
Note:
TAVILY_API_KEYis required for the WebSearch tool — get a key at tavily.com.
The session, settings, and env blocks are optional — sensible defaults apply when they're omitted. See Configure for the full structure.
running without ever starting a model loop; and the team tools existed with no production path that actually ran a teammate. v1.7.0 rebuilds that layer. One supervisor (#915, #950): a session-scoped supervisor admits every worker — foreground, background, team and workflow — behind two backstops (CLAWCODEX_MAX_CONCURRENT_AGENTS, default 32; CLAWCODEX_MAX_AGENT_DEPTH, default 3), with live status, per-agent interrupt and a session-wide pause on new spawns in the TUI's agents overlay and the web client's subagent list (#933); a refused spawn comes back as a tool error the model can act on. Persistent teams (#950): TeamCreate makes your session the leader; each named Agent call adds a teammate that stays alive between assignments with its context intact; SendMessage routes findings to a named peer or to the leader; a shared, locked task board hands out work in dependency order; plan approvals and shutdowns follow a matched request/response protocol; and interrupting a worker withdraws its pending permission prompt. Lifecycles that hold (#950): resume reloads the worker's history under the same ID, a correction accepted while it was finishing is no longer left unread, notifications reach the session and parent that own them, isolation runs in a real Git worktree or fails before the model runs, and ending a session interrupts every worker it owns and waits a bounded time for them to stop. Verified by end-to-end suites that drive real query loops, tools, worktrees and WebSocket connections against a scripted provider, plus a live DeepSeek smoke run — and scoped plainly: teams are in-process (no tmux/iTerm pane or remote backends), one per workspace, a worker resumes only within the session that started it, and there is no automatic crash recovery (verification notes). Also in v1.7.0: clawcodex --nano, the pi-style minimal harness — a ≈2K-token fixed payload instead of ≈17K, and level with the pi harness on the ful