brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Configure and use Duel Agents model routing in Claude Code. Requires a Duel API key from duelagents.com. Routes all LLM traffic through duelagents.com/v1.
Claude Code
$ npx -y skills add 2aronS/Duel-Agents --skill duel-agents --agent claude-code
Codex
$ npx skills add 2aronS/Duel-Agents --skill duel-agents -a codex -y
Cursor
$ npx skills add 2aronS/Duel-Agents --skill duel-agents -a cursor -y
Gemini CLI
$ npx skills add 2aronS/Duel-Agents --skill duel-agents -a gemini-cli -y
GitHub Copilot
$ npx skills add 2aronS/Duel-Agents --skill duel-agents -a github-copilot -y
OpenCode
$ npx skills add 2aronS/Duel-Agents --skill duel-agents -a opencode -y
Windsurf
$ npx skills add 2aronS/Duel-Agents --skill duel-agents -a windsurf -y
name: duel-agents description: >- Configure and use Duel Agents model routing in Claude Code. Requires a Duel API key from duelagents.com. Routes all LLM traffic through duelagents.com/v1.
Duel Agents runs your prompts against multiple models and picks the cheapest answer that still passes quality checks. Every request must use your **Duel API key**. Never substitute a direct Anthropic or OpenAI key.
1. Subscribe and create an API key at https://duelagents.com/dashboard/settings 2. Run: `npx @duel-agents/install claude-code` 3. Or set manually in `~/.claude/.env`:
ANTHROPIC_BASE_URL=https://duelagents.com/v1 ANTHROPIC_API_KEY=duel_yourprefix_yoursecret
4. Restart Claude Code
npx @duel-agents/install doctor
Use `@duel-agents/sdk` in your own tools. Always pass `apiKey` from your Duel dashboard.
import { DuelClient } from "@duel-agents/sdk";
const duel = new DuelClient({ apiKey: process.env.DUEL_API_KEY! });
await duel.chat.completions.create({
model: "duel-auto",
messages: [{ role: "user", content: "Hello" }],
});Repository: https://github.com/2aronS/Duel-Agents
Use, extend, and ship with Duel Agents: the IDE-native routing layer that runs prompts against multiple models and picks the cheapest answer that still wins. This repo is the official integration package for duelagents.com.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.