Arcli — AI skill for Claude Code
Point Claude Code, Codex, and Claude Desktop at AgentRouter — one command, live model list, byte-exact config backups.
How to install Arcli
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open 0xtrail/arcli and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Arcli does
Point Claude Code, Codex, and Claude Desktop at AgentRouter — one command, live model list, byte-exact config backups.
Alternatives in AI
- Model Config — /model-config — Choose the model you follow 705 ★
- UltraCode Shim — Give Claude Code's ultracode mode to ANY model you already pay for 422 ★
- ClaudeR — Connect RStudio to Claude Code, Codex, Gemini, and other LLM agents via MCP 328 ★
README
arcli
Point your AI coding tools at [AgentRouter](https://agentrouter.org) — one command, no hand-editing config files.
Supports **Claude Code CLI** (Anthropic protocol), **Codex CLI** (OpenAI protocol), and **Claude Desktop (Cowork)**. The model list is fetched live from the gateway, so you always pick from models your key can actually reach — the menu is filtered per app by the gateway's own `supported_endpoint_types`.
Install
npm install -g @0xtrail/arcli
Requires Node.js 22 or newer. The package is scoped, but the command you type is just `arcli`.
Use
arcli
You will be asked for your API key once — grab one at https://agentrouter.org/console/token and paste it in. The key is verified against the gateway before anything is stored, so a typo fails fast with nothing written. Then a menu opens:
█████╗ ██████╗
██╔══██╗██╔══██╗
███████║██████╔╝
██╔══██║██╔══██╗
██║ ██║██║ ██║
╚═╝ ╚═╝╚═╝ ╚═╝
point your AI coding tools at AgentRouter
API key ····kt5y
────────────────────────────────────────────
What would you like to do?
❯ Install to apps
Restore originals
View status
Log out
Quit
↑↓ navigate · enter confirm · esc cancel
- Install to apps — pick an app, pick from your live model list, done. If the model list can't be reached (offline, gateway hiccup), you type the model name instead — setup never strands you.
- Restore originals — restores your original configs, byte for byte (checksum-verified backups, including deleting files that didn't exist before).
- View status — which apps are currently using AgentRouter.
- Log out — deletes the stored API key. Your apps keep pointing at AgentRouter until you choose Restore originals.
What setup writes
**Claude Code** (`~/.claude/settings.json`, `env` block) — bare origin on purpose, because the Anthropic SDK appends `/v1/messages` itself:
ANTHROPIC_BASE_URL=https://agentrouter.org
ANTHROPIC_AUTH_TOKEN=
API_TIMEOUT_MS=6000
Related Skills
Easel
Easel is a Codex and Claude macOS workspace for AI-assisted product design and frontend iteration. It brings a
Agent Workflow Kit
Portable, cross-agent memory & workflow for AI coding agents — Claude Code, Codex, Cursor, Devin Desktop. One
AgentHydra
Every local AI coding session in one tab: Claude Code, Codex and OpenCode in a single list, with a queue you c
AIMemoryHub
Windows desktop app that holds one persistent memory of your facts, rules and constraints and syncs it into GE
Modelweaver
Multi-provider model orchestration proxy for Claude Code. Route agent roles (planning, coding, research) to di
Notebooklm Daily Podcast
A daily AI-news podcast that runs itself. Harvest your sources, Claude curates, NotebookLM makes the audio. Cl
Related Agents
Introspect Dont Guess
Resolve REAL IRIS class / table / column / config names instead of guessing. Use before writing SQL or referen
Hatch3r Enhancability
Enhancability quality specialist — reviews generated code for feature-flag adoption, config externalization, v
Yagni Reviewer
Adversarially reviews a diff, or a plan, for speculative generality. That means the abstraction for one caller