mistral-router

mistral-router is a skill for Claude Code from Swih/mistral-mcp. It costs 49 tokens per session (1,109 once invoked), scanned A, original, MIT.

A routing guide for choosing a Mistral AI model and tool for a particular task.

In plain words
What is it for?
Use it when selecting among Mistral models for general chat, complex research, technical writing, high-volume classification, or logic and maths tasks.
Why use it?
It reduces trial and error by matching tasks such as research, writing, classification, or reasoning with models suited to their quality, speed, and cost needs.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the mistral-mcp plugin — 11 skills shipped together

Good fit Use it when selecting among Mistral models for general chat, complex research, technical writing, high-volume classification, or logic and maths tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/swih/mistral-mcp/mistral-router
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Swih/mistral-mcp --skill mistral-router
Clone the repo
git clone --depth 1 https://github.com/Swih/mistral-mcp

Made for: Claude Code.

Or install mistral-mcp, the plugin that ships this one along with the rest of its 11 skills.

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 mistral-router

README.md
[![agentmods](https://agentmods.dev/badge/skills/swih/mistral-mcp/mistral-router/github.svg)](https://agentmods.dev/skills/swih/mistral-mcp/mistral-router)
Your own site
<a href="https://agentmods.dev/skills/swih/mistral-mcp/mistral-router"><img src="https://agentmods.dev/badge/skills/swih/mistral-mcp/mistral-router/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 mistral-router

Your own site · 80×15
<a href="https://agentmods.dev/skills/swih/mistral-mcp/mistral-router"><img src="https://agentmods.dev/badge/skills/swih/mistral-mcp/mistral-router.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,109 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.00049 $0.01109
Opus 5.5 $0.00020 $0.00444
Sonnet 5.5 $0.00010 $0.00222
Haiku 4.5 $0.00005 $0.00111

Measured 28d ago against content hash 4e7e5238569c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mistral-router 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 28d 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.

claude-plugin/skills/mistral-router/SKILL.md · 63 lines

How it starts

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

Mistral router

Read mistral://capabilities to identify the active profile, endpoint, and registered tools. Inspect the selected tool's input schema before calling it. Tool arguments mix snake_case and camelCase; preserve their exact spelling.

The default Mistral Cloud profile, core, exposes six tools:

Task Tool Input shape
Invoice or contract extraction process_document source, explicit kind, options
Text generation, summaries, code review mistral_chat messages: [{role, content: "text"}]
Image understanding mistral_vision messages with text and image parts
Raw PDF or image OCR mistral_ocr document
Code insertion between known boundaries codestral_fim prompt, suffix
Audio transcription voxtral_transcribe audio

For invoices and contracts, prefer process_document with supplied text or Markdown:

{
  "source": { "type": "text", "text": "<document text or Markdown>" },
  "kind": "invoice",
  "options": { "cache": "bypass" }
}

Use kind: "contract" for contracts. OCR sources are { "type": "url", "url": "https://example.com/document.pdf" } or { "type": "file_id", "fileId": "<existing upload ID>" }. Text skips OCR and upload; typed extraction still calls chat. OCR depends on endpoint support and account quota. Do not promise free processing. Use the pdf-invoice-extractor or contract-analyzer skill for result interpretation.

Other common shapes:

  • Raw OCR: document: {type: "document_url", documentUrl: "https://..."} or document: {type: "file", fileId: "..."}.
  • Vision: a user message whose content contains {type: "text", text: "..."} and {type: "image_url", imageUrl: "https://..."}.
  • Audio: audio: {type: "file_url", fileUrl: "https://..."} or audio: {type: "file", fileId: "..."}. See audio-dispatch for speaker attribution.
  • Structured chat: response_format: {type: "json_schema", json_schema: {name: "result", schema: {...}, strict: true}}. The generated JSON is in structuredContent.text; parse and validate it before use.

Read the full file on GitHub · 63 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. 28d ago Changed · -25 lines · -10 tokens per session 4e7e5238569c
  2. 1mo ago First seen · 88 lines · 59 tokens per session scan A dc00ea8e1401

Subscribe to this mod's changes

mistral-router is a skill published in the GitHub repository Swih/mistral-mcp (15 stars, last pushed 28d ago), licensed MIT. It adds 49 tokens to every session and 1,109 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.