smart-illustrator
中文文档 New Excalidraw engine for hand-drawn concept diagrams. Three-tier priority: Gemini → Excalidraw → Mermaid. All diagram engines now output PNG by default.
Coordinate multiple AI models (Claude + GPT + Gemini) as a heterogeneous team. One creates, two review. A Claude Code Skill.
$ npx -y skills add axtonliu/ai-pair --agent claude-code
Coordinate multiple AI models to work together as a team. One creates, two review — not for redundancy, but because different models naturally focus on different dimensions.
让不同 AI 模型组成团队协作。一个创作,两个审查 — 不是为了冗余,而是因为不同模型天然关注不同维度。
Next Step: Want to turn Skills from demo to asset? Check out Agent Skills Resource Library (includes slides, PDF, diagnostics)
Status: Experimental | 状态:实验性
- This is a public prototype that works for real workflows, but does not yet cover all edge cases. | 公开原型,可用于实际工作流,但未覆盖所有边界情况。
- Requires Claude Code + Codex CLI + Gemini CLI
- My primary focus is demonstrating how tools and systems work together, not maintaining this codebase. | 重点是展示工具和系统如何协作,而非维护这个代码库。
- If you encounter issues, please submit a reproducible case (input + output + steps to reproduce). | 如遇问题,请提交可复现的案例。
Most people use multiple AI subscriptions by asking the same question to each and comparing answers. That's useful sometimes, but it only uses one dimension of what different models can do — you get multiple answers to the same question, instead of multiple perspectives on the same work.
大部分人用多个 AI 的方式是:同一个问题分别问一遍,然后对比答案。这有时候有用,但只用到了不同模型能力的一个维度 — 你得到的是同一个问题的多个回答,而不是同一份工作的多个视角。
AI-Pair turns model differences into a structured workflow: assign each model a role that matches its strength, and let them review the same work from different angles. It's a Claude Code Skill — a reusable instruction set that extends Claude Code's capabilities.
AI-Pair 把模型差异变成结构化的工作流:给每个模型分配匹配其特长的角色,让它们从不同角度审查同一份工作。它是一个 Claude Code Skill — 一组可复用的指令,扩展 Claude Code 的能力。
User (you) | 用户(你)
|
Team Lead (Claude Code session) | 团队领导(Claude Code 会话)
|-- creator (Claude Code agent) — writes code or content | 创作者 — 写代码或内容
|-- codex-reviewer (agent → Codex CLI) — analytical review | 分析型审查
|-- gemini-reviewer (agent → Gemini CLI) — editorial review | 编辑型审查
The workflow is semi-automatic — you stay in control at every step:
工作流是半自动的 — 每一步你都保持控制权:
All three are command-line tools that run in your terminal (Terminal, iTerm2, etc.), not desktop apps.
三个都是命令行工具,在终端中运行(Terminal、iTerm2 等),不是桌面应用。
| Tool | Purpose | Install |
|---|---|---|
| Claude Code | Team Lead + agent runtime | npm install -g @anthropic-ai/claude-code |
| Codex CLI | GPT-powered reviewer | npm install -g @openai/codex |
| Gemini CLI | Gemini-powered reviewer | npm install -g @google/gemini-cli |
All three CLIs must have authentication configured before use.
三个 CLI 使用前都需要配置好认证。
Quick check | 快速检查: Run
claude --version,codex --version, andgemini --versionto verify all three are installed.
# Clone to your global Claude Code skills directory
# 克隆到 Claude Code 全局 skills 目录
git clone https://github.com/axtonliu/ai-pair.git ~/.claude/skills/ai-pair
For project-level installation, clone into .claude/skills/ai-pair within your project directory instead.
如需项目级安装,克隆到项目目录下的 .claude/skills/ai-pair。
SKILL.md from this repo | 下载本仓库的 SKILL.md~/.claude/skills/ai-pair/SKILL.md | 放到 ~/.claude/skills/ai-pair/SKILL.md/ai-pair dev-team MyProject
Team Lead creates | 团队领导创建:
/ai-pair content-team AI-Newsletter
Team Lead creates | 团队领导创建:
/ai-pair team-stop
We used content-team to review a newsletter article. The three AIs found completely different issues:
我们用 content-team 审查了一篇 Newsletter 文章。三个 AI 发现的问题完全不同:
None of these overlapped. That's the point. See examples/ for step-by-step walkthrough scenarios.
三者零重叠。这就是意义所在。查看 examples/ 获取分步演示场景。
ai-pair/
├── SKILL.md # Claude Code skill definition | Skill 定义文件
├── README.md # This file | 本文件
├── LICENSE # MIT
└── examples/ # Usage examples | 使用示例
├── dev-team.md
└── content-team.md
Symptom: Reviews complete but only Claude Code's usage decreases; Codex/Gemini CLI usage stays flat. The sub-agents are role-playing as Codex/Gemini instead of actually invoking them.
症状: 审查完成但只有 Claude Code 的用量在下降;Codex/Gemini CLI 用量没有任何变化。Sub-agent 在角色扮演而非真正调用外部 CLI。
How to verify | 如何验证: Check the review output for the **Source: Codex CLI** / **Source: Gemini CLI** label and the ### CLI Raw Output section. If these are missing, the CLI was not called.
如何验证: 检查审查输出中是否有 **Source: Codex CLI** / **Source: Gemini CLI** 标签和 ### CLI Raw Output 部分。如果缺失,说明 CLI 没有被调用。
Fix | 解决方案: This was addressed in v1.1.0 with mandatory CLI invocation rules. If you're on an older version, update your SKILL.md. If the issue persists, ensure both CLIs are installed and authenticated (codex --version, gemini --version).
解决方案: 此问题已在 v1.1.0 中通过强制 CLI 调用规则修复。如果你使用旧版本,请更新 SKILL.md。如果问题仍然存在,确认两个 CLI 都已安装并完成认证(codex --version、gemini --version)。
This open-source version includes the Agent Teams mode only. The full private version also has:
开源版仅包含 Agent Teams 模式。完整私有版还包括:
These require specific local setup and are maintained separately.
这些需要特定的本地配置,单独维护。
AI-Pair evolved from AI Roundtable, a Chrome extension that lets multiple AI web interfaces discuss and cross-review in the same panel. AI-Pair moves this concept to the command line with structured role assignments, making it more practical for daily workflows.
AI-Pair 从 AI Roundtable 演变而来。AI Roundtable 是一个 Chrome 扩展,让多个 AI 的网页版在同一个面板里讨论和互评。AI-Pair 把这个概念搬到了命令行,加入了结构化的角色分工,更适合日常工作流。
Contributions welcome (low-maintenance project):
欢迎贡献(低维护项目):
Note: Feature requests may not be acted on due to limited maintenance capacity. | 功能需求可能因维护精力有限而无法响应。
MIT - Axton Liu
Axton Liu — AI Educator & Creator
© AXTONLIU™ & AI 精英学院™ 版权所有
中文文档 New Excalidraw engine for hand-drawn concept diagrams. Three-tier priority: Gemini → Excalidraw → Mermaid. All diagram engines now output PNG by default.
ai-pair is a Claude Code plugin with 1 hand-picked skill, indexed on Flowy in the Agent Orchestration category. Install it with the command on its page. It includes ai-pair. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it