Skip to content
Development
Skill

/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.

From plugin
duel-agents
7151 skill1 command

Claude Code

$ npx -y skills add 2aronS/Duel-Agents --skill duel-agents --agent claude-code

SKILL.md

duel-agents.SKILL.md
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

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

@2arons
Ships withduel-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.

Stars on GitHub

Momentum

stars in total
715
Star history of 2aronS/Duel-Agents on GitHub, a chart by star-history.com

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills13d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react4d252k
@facebook@facebookInstall Skill

Questions about duel-agents.

Which coding agents can use duel-agents?
duel-agents installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.