base: Skill for Claude Code

.ai/agents/createur-agent/skills/processes/activer-routage/SKILL.md

activer-routage is a skill for Claude Code from ai-swiss/base. It costs 59 tokens per session (1,536 once invoked), scanned A, original, Apache-2.0.

A setup process for connecting BASE's deterministic routing engine through either an MCP server or a command-line tool. Deterministic routing chooses agents by a tested, repeatable method and can say when a request is outside its scope.

In plain words
What is it for?
Use it when routing is not configured, when the assistant must select the right agent, or when the user wants to install or configure the router. It helps choose the connection method based on the user's chat or terminal tool.
Why use it?
It reduces the chance that an assistant guesses the wrong specialist based only on written instructions. It also makes unsupported requests clearer instead of silently routing them incorrectly.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; built for aider.

This is ai-swiss/base's own configuration. It tells Claude Code how to work on base itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything base configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node .ai/base.mjs route "une demande de test" --root ..

Reuse

Borrowing it

Nothing to install: this file belongs to ai-swiss/base. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ai-swiss/base/main/.ai/agents/createur-agent/skills/processes/activer-routage/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ai-swiss/base

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for activer-routage

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-swiss/base/activer-routage/github.svg)](https://agentmods.dev/skills/ai-swiss/base/activer-routage)
Your own site
<a href="https://agentmods.dev/skills/ai-swiss/base/activer-routage"><img src="https://agentmods.dev/badge/skills/ai-swiss/base/activer-routage/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for activer-routage

Your own site · 80×15
<a href="https://agentmods.dev/skills/ai-swiss/base/activer-routage"><img src="https://agentmods.dev/badge/skills/ai-swiss/base/activer-routage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,536 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.01536
Opus 5.5 $0.00024 $0.00614
Sonnet 5.5 $0.00012 $0.00307
Haiku 4.5 $0.00006 $0.00154

Measured 1mo ago against content hash bdeb8d58528d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

activer-routage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.ai/agents/createur-agent/skills/processes/activer-routage/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Activer le routage

Donner à l'assistant une carte explicite pour choisir le bon agent et le bon process. Un assistant qui lit les fichiers suit l'index généré. base route et route_request fournissent aussi un résultat déterministe aux appels sans modèle et une indication à vérifier quand un modèle est présent; ils ne décident pas à sa place.

Pourquoi c'est utile (à expliquer simplement)

«L'assistant choisit en lisant une carte générée depuis vos fiches. La CLI et le MCP peuvent aussi fournir un résultat déterministe, utile pour un script sans modèle ou comme indication à vérifier. Si rien ne convient, le routage le dit et pose une question.»

Inputs

Interroge l'utilisateur, une question à la fois:

  • Quel outil utilisez-vous? Une application de chat (ChatGPT, Claude Desktop) ou un outil avec terminal (Claude Code, Cursor)?
  • Au besoin: disposez-vous d'un terminal et de Node.js?

Si l'utilisateur l'ignore, propose de regarder ensemble; ne présume rien.

Étapes

1. Choisir la porte

Trois situations:

  • Assistant qui peut lire le dossier (Claude Code, Cursor) → lire .ai/routing/index.md, puis l'index de l'agent retenu.
  • Application de chat qui ne peut pas lire le dossier (ChatGPT, Claude Desktop) → serveur MCP (étape 2).
  • Script ou intégration sans modèle → CLI (étape 3).

«D'après votre outil, je propose [la carte / le MCP / la CLI]. On y va?»

← Reformulation (confirmer le chemin)

2. Porte MCP (apps de chat)

Le serveur MCP expose la carte de routage à l'application. route_request renvoie cette carte avec un résultat déterministe présenté comme une indication; le modèle choisit en lisant «Quand l'utiliser» et «Éviter si».

  1. Construire le serveur (une seule fois). Si tu disposes d'un terminal, propose d'exécuter les commandes; sinon, transmets-les à l'utilisateur:
    cd mcp && npm install && npm run build
    
  2. Brancher dans l'app:
    • Claude Code / Desktop: claude mcp add base -- node <chemin>/mcp/dist/index.js --root <chemin>/votre-projet
    • ChatGPT (Mode Développeur): le lancer en HTTP avec un jeton, puis l'ajouter comme connecteur; voir mcp/README.md.
  3. Vérifier: claude mcp list doit afficher base … ✓ Connected.

Read the full file on GitHub · 110 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed bdeb8d58528d
  2. 1mo ago Changed · +1 lines e1dabb92b77e
  3. 2mo ago First seen · 109 lines · 59 tokens per session scan A db2974c72aee

Subscribe to this mod's changes

activer-routage is a skill published in the GitHub repository ai-swiss/base (65 stars, last pushed 8d ago), licensed Apache-2.0. It adds 59 tokens to every session and 1,536 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

activer-routage compared with skills from other repositories

activer-routage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
activer-routageai-swiss/baseSkill658d agoApache-2.0A59Claude Code
complianceericrisco/rsc-harnessSkill5032d agoMITA96Claude Code, Codex
wallet-cliBofAI/skillsSkill1644d agoMITA92Codex
vaultjoelhooks/joelclawSkill65yesterdaynoneA82Claude Code
feishuHmbown/CodeWhaleSkill41k5d agoMITA33Claude Code, Codex
interviewHmbown/CodeWhaleSkill41k5d agoMITA40Claude Code, Codex
atmos-validationcloudposse/atmosSkill1.4kyesterdayApache-2.0A31Claude Code