moa
Mixture of Agents: Make 3 frontier models argue, then synthesize their best insights into one superior answer. ~$0.03/query.
npx skills add majiayu000/claude-skill-registry --skill moa --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Mixture of Agents (MoA) **TL;DR:** Make 3 AI models argue with each other. Get an answer better than any single model. Cost: ~$0.03. ## Two Usage Modes ### A. Standalone CLI (Node.js) ```bash export OPENROUTER_API_KEY="your-key" node scripts/moa.js "Your complex question" ``` ### B. OpenClaw Skill (Agent-orchestrated) ```bash # Install clawhub install moa # Or copy to ~/clawd/skills/moa/ ``` The agent can then invoke MoA for complex analysis tasks. --- ## Origin Story The concept of "Mixture of Agents" comes from research showing LLMs can improve each other's outputs through collaboration. I built this for VC deal analysis—when evaluating startups, you want multiple perspectives, not one model's opinion. **The journey:** 1. Started with 5 free OpenRouter models (Llama, Gemini, Mistral, Qwen, Nemotron) 2. Rate limits killed me at 2am during peak hours 3. Switched to 3 paid frontier specialists 4. Result: ~$0.03/query, answers better than any single model --- ## When to Use - **Complex analysis** — due diligence, market research, technical evaluation - **Brainstorming** — get diverse ideas, synthesize the best - **Fact-checking** — cross-reference across models with different train
- Two Usage Modes
- A. Standalone CLI (Node.js)
- B. OpenClaw Skill (Agent-orchestrated)
- Origin Story
- When to Use
- Model Configuration
- Paid Tier (Default) — Recommended
- Free Tier (Fallback)
- How It Works
- API Reference
- Function Signature
- CLI Usage
- Programmatic Usage
- Failure Modes
export OPENROUTER_API_KEY="your-key" node scripts/moa.js "Your complex question" Install clawhub install moa Or copy to ~/clawd/skills/moa/ Paid tier (default) Free tier node scripts/moa.js "Your question" --free node scripts/moa.js "Analyze the competitive landscape for AI code generation. \ Who has defensible moats? Who's likely to be commoditized? Be specific."
What does the moa skill do?
Mixture of Agents: Make 3 frontier models argue, then synthesize their best insights into one superior answer. ~$0.03/query.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill moa --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
