/duel-agents
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.
$ npx -y skills add 2aronS/Duel-Agents --skill duel-agents --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/duel-agents
Context preview
The summary Claude sees to decide when to auto-load this skill.
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.
SKILL.md
duel-agents.SKILL.mdname: 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
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.
Setup
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
Verify
npx @duel-agents/install doctor
Build on top
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.
Repo: 2aronS/Duel-Agents

