Duet — AI skill for Claude Code
Two AI models build it; the harness checks the rules.
How to install Duet
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open shubharya-os/duet and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Duet does
Two AI models build it; the harness checks the rules. fix/add/refactor/build/plan where tests are replayed against the original code — for Claude Code, Codex, Gemini CLI, Antigravity, OpenCode and Cursor. No API keys.
Alternatives in AI
- Module Feature — Add a new feature (model + service + controller + views + routes + tests) to an existing module 407 ★
- Wmux — The original Windows terminal multiplexer for AI agents 353 ★
- Oc Claw — A desktop pet that monitors your AI coding agents (OpenClaw, Claude Code, Codex, Cursor, Gemini CLI, opencode 352 ★
README
duet
[](https://github.com/shubharya-os/duet/actions/workflows/ci.yml) [](https://www.python.org/) [](LICENSE) [](https://shubharya-os.github.io/duet/)
**Read in:** English · [简体中文](docs/i18n/zh-CN.md) · [日本語](docs/i18n/ja.md) · [한국어](docs/i18n/ko.md) · [Español](docs/i18n/es.md) · [Português (BR)](docs/i18n/pt-BR.md)
**Two AI models build it. The harness checks the rules.**
**In one sentence:** AI writes most of the code now, and the same AI decides when it is finished. duet makes two AIs from two different companies work the same task and requires both to approve the identical result before it counts as done.
**Why that matters:** an agent grading its own homework will tell you it passed. Two agents that must agree, with your tests run by neither of them, cannot quietly settle for "good enough" — one of them has to be convinced.
**Does it work?** Given one sentence and an empty directory, it built an expense-tracker web app — single-page UI, JSON API, SQLite, CSV export — in **35 minutes**. Then it was attacked by hand, in a real browser as well as over HTTP: SQL injection stored as plain text, stored XSS rendered harmless, CSV formula injection defused, `0.1 + 0.2` totalled to exactly `0.30`. Every run is written down in [docs/QA.md](docs/QA.md) — including the ones where both agents agreed on something broken, and what caught it.
*duet is a developer tool: it runs in a terminal and drives Claude Code and ChatGPT through your existing subscriptions.*
duet build "an expense tracker web app" # from nothing: criteria, then tests, then code
duet
Related Skills
Claude Fix Render Text
A Claude Code skill that fixes the garbled text AI image generators put on packaging renders. Checks against y
Apex Optimizer Skills
AI-native code review and optimization skills for Claude Code, Cursor, and agent IDEs. Audits Salesforce Apex,
Agent Trading Journal
AI trading journal MCP server: Claude Code, Codex or any MCP agent logs trades from chart screenshots, checks
Sth Log
Record a changelog entry. AI auto-infers change type (Feature / Fix / Refactor / Docs / Breaking) and computes
AI Driven Development Archive
[ARCHIVED → CodeAlive-AI/ai-driven-development] Original ai-driven-development repo (Bug Fix Protocol article)
Intent Drift Skill
Detects intent drift in AI-assisted development by comparing original goals against current execution plans us
Related Agents
Paf Reviewer
Runs one phone-a-friend relay or review command in the background and reports back a receipt plus the findings
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode