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 ★
- Setup Watch Skill — One-shot setup for Watch Skill — installs the engine, bootstraps ffmpeg/yt-dlp, registers the MCP server in ev 315 ★
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
AgentBridge
Migrate AI coding agent config between 12 agents — Claude Code, Codex, Copilot, Cursor, Gemini, Crush, Grok, o
9router Model Select Tool
Cross-platform desktop app for discovering 9router models and safely configuring Claude Code, Codex, OpenCode,
Lm
Point hamster's local-model slot at whatever you run — oMLX, LM Studio, Ollama, llama.cpp, or any OpenAI-compa
Yalper
Record, replay, and debug AI coding agent sessions. Yalper snapshots your code at every agent step, finds the
Dsh Oh My Claude
Claude Code CLI as an LLM provider for dsh (DeepSeek Harness): live model list, per-session resume, approval r
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
Pbi Reviewer
Read-only quality gate for a Power BI project: checks the live model (structure, DAX hygiene, date table, RLS)
Ff l10n
Flapforge localization engineer: adds and audits every player-facing string in en and pt_BR, keeps the two fil