# Chutes routing

> Chutes routing is an open-source agent skill for ai models and llm tooling. Build and audit Chutes.ai model failover pools and stable aliases for your agent. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Veightor/chutes-agent-toolkit/tree/main/plugins/chutes-ai/skills/chutes-routing
- **Repository:** https://github.com/veightor/chutes-agent-toolkit
- **GitHub stars:** 7
- **License:** MIT
- **Skill name:** chutes-routing
- **Collection:** https://github.com/Veightor/chutes-agent-toolkit
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm)
- **Listing updated:** 2026-12-04

## About

This skill helps an agent turn a routing goal into a concrete Chutes.ai configuration. It filters the live model catalog by intent, such as fast interactive chat, cheap background work, private reasoning or coding agents, and produces either an inline comma-separated routing string with a latency or throughput suffix or a stable alias that points at a list of chute IDs. Callers can then repoint the alias when models change instead of editing code.

The bundled Python scripts do the work. build_pool.py applies filters such as required features, prompt price caps and confidential compute, ranks candidates and prints the pool, with an option to dry-run or pin it as an alias. audit_pool.py re-checks an existing routing string or alias against the live catalog and warns when a member has disappeared, its price has moved more than 20 percent, a feature has been dropped or its TEE flag has changed. It is a one-shot check rather than a background process.

The skill expects Python and access to a Chutes account with an API key. Alias creation and deletion are gated behind explicit user naming and confirmation, and cost filters are advisory rather than enforced billing caps.

## When your agent uses it

> Chutes.ai model routing and pooling. Use this skill when the user wants to set up model failover, latency or throughput routing, TEE-only filters, inline model pools, or stable model aliases for Chutes. Also use when picking a pool for a specific intent (interactive-fast, cheap-background, private-reasoning, agent-coder, tee-chat). Triggers on: chutes routing, model pool, default:latency, default:throughput, TEE-only routing, failover, model alias, /model_aliases/, chutes routing recipe, build a pool, alias pack.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/Veightor/chutes-agent-toolkit/tree/HEAD/plugins/chutes-ai/skills/chutes-routing)
- [Network calls found in its scripts](https://github.com/Veightor/chutes-agent-toolkit/tree/HEAD/plugins/chutes-ai/skills/chutes-routing)
- [License: MIT](https://github.com/Veightor/chutes-agent-toolkit/tree/HEAD/plugins/chutes-ai/skills/chutes-routing)

## Features

- **Intent-based pool building:** Maps goals like interactive-fast or private-reasoning to filters and ranking rules for model selection.
- **Inline routing strings:** Produces comma-separated model lists with latency or throughput routing suffixes.
- **Stable model aliases:** Pins a pool under a named alias that points at chute IDs so callers need no code changes.
- **Pool auditing:** Checks members against live model data for removals, price shifts, dropped features and TEE changes.
- **Feature and cost filters:** Narrows candidates by required features, maximum prompt cost and confidential compute.

## Good for

- Set up a failover pool of models for a chat app
- Pick a cheap model pool for background summarization jobs
- Create a private reasoning pool using confidential compute models
- Check whether an existing model pool has gone stale
- Pin a stable alias so model swaps don't require code changes

## Install

### Claude Code

This skill ships in the `chutes-ai` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add Veightor/chutes-agent-toolkit
/plugin install chutes-ai@chutes-agent-toolkit
```

Or copy only this skill to `~/.claude/skills/chutes-routing`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Veightor/chutes-agent-toolkit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/chutes-routing &&
cp -R "$tmp/plugins/chutes-ai/skills/chutes-routing" ~/.claude/skills/chutes-routing &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/chutes-routing` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/chutes-routing` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Veightor/chutes-agent-toolkit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/chutes-routing &&
cp -R "$tmp/plugins/chutes-ai/skills/chutes-routing" ~/.agents/skills/chutes-routing &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/chutes-routing` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/chutes-routing` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Veightor/chutes-agent-toolkit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/chutes-routing &&
cp -R "$tmp/plugins/chutes-ai/skills/chutes-routing" ~/.cursor/skills/chutes-routing &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/chutes-routing` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Veightor/chutes-agent-toolkit.git --path plugins/chutes-ai/skills/chutes-routing
```

Or copy the folder to `~/.gemini/skills/chutes-routing` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/chutes-routing`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Veightor/chutes-agent-toolkit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/chutes-routing &&
cp -R "$tmp/plugins/chutes-ai/skills/chutes-routing" ~/.copilot/skills/chutes-routing &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/chutes-routing` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Veightor/chutes-agent-toolkit.git
```

Then copy `chutes-agent-toolkit/plugins/chutes-ai/skills/chutes-routing` into your agent's skills folder as `chutes-routing`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Chutes routing need to run?

It uses Python scripts and requires a Chutes account and API key, since it reads the live model catalog and can create or delete aliases.

### Does Chutes routing change anything on my Chutes account?

Only when you pin an alias with the alias option, which posts it to Chutes. Dry-run mode prints the pool without writing, and deleting an alias is gated behind explicit confirmation.

### Which clients does Chutes routing work with?

The content does not tie it to specific clients, so it follows the shared agent skills format and works with the standard supported clients.

### Are cost filters enforced?

No. The maximum prompt cost filter narrows the candidate list but does not cap per-request billing.

### How do I install Chutes routing in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/chutes-routing to use it in all your projects, or to .claude/skills/chutes-routing in one project. Or install the chutes-ai plugin, which includes it: /plugin marketplace add Veightor/chutes-agent-toolkit, then /plugin install chutes-ai@chutes-agent-toolkit.

### Does Chutes routing run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Chutes routing?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Chutes routing?

The closest alternatives to Chutes routing are Chutes AI, Model adaptation, Cascading voice agent, LLM gateway and routing and AI gateway.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Chutes AI](https://ai-powered.com/skills/chutes-ai-veightor): Chutes AI is an open-source agent skill for ai models and llm tooling.
- [Model adaptation](https://ai-powered.com/skills/model-adaptation): Model adaptation is an open-source agent skill for ai models and llm tooling.
- [Cascading voice agent](https://ai-powered.com/skills/cascading-voice-agent): Cascading voice agent is an open-source agent skill for design and media.
- [LLM gateway and routing](https://ai-powered.com/skills/llm-gateway-and-routing-ajyadav013): LLM gateway and routing is an open-source agent skill for ai models and llm tooling.
- [AI gateway](https://ai-powered.com/skills/ai-gateway-scaledockhq): AI gateway is an open-source agent skill for ai models and llm tooling.
- [Skill creator](https://ai-powered.com/skills/skill-creator): Skill creator is a free agent skill for ai models and llm tooling.
- [Claude API](https://ai-powered.com/skills/claude-api): Claude API is a free agent skill for ai models and llm tooling.
- [LLM agent](https://ai-powered.com/skills/llm-agent): LLM agent is an open-source agent skill for ai models and llm tooling.

---
Source: https://ai-powered.com/skills/chutes-routing-veightor
