Skip to content
Back to skills

Duel Agents

ASecurity

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.

  • 772 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 29, 2026
ai-agentsbashgitapi

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

Scanned May 29, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Duel Agents?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Duel Agents
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/2arons-duel-agents/badge)](https://www.skillsdirectory.com/skills/2arons-duel-agents)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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`:

```bash
ANTHROPIC_BASE_URL=https://duelagents.com/v1
ANTHROPIC_API_KEY=duel_yourprefix_yoursecret
```

4. Restart Claude Code

## Verify

```bash
npx @duel-agents/install doctor
```

## Build on top

Use `@duel-agents/sdk` in your own tools. Always pass `apiKey` from your Duel dashboard.

```ts
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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.