llm-cli-gateway: Skill for Claude Code

.agents/skills/provider-mistral/SKILL.md

provider-mistral is a skill for Claude Code from verivus-oss/llm-cli-gateway. It costs 78 tokens per session (1,836 once invoked), scanned A, original, MIT.

A maintenance guide for keeping the Mistral Vibe command-line tool's integration aligned with its upstream release contract. The contract covers flags, agent modes, session logs, output formats, environment variables, and subcommands.

In plain words
What is it for?
It is for checking Mistral Vibe releases and investigating contract-check failures for Mistral requests.
Why use it?
It helps detect when Vibe changes could make the gateway's integration incorrect.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

This is verivus-oss/llm-cli-gateway's own configuration. It tells Claude Code how to work on llm-cli-gateway 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 llm-cli-gateway configures →

Part of the llm-gateway plugin — 24 skills, 4 commands, 2 MCP servers shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to verivus-oss/llm-cli-gateway. 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/verivus-oss/llm-cli-gateway/main/.agents/skills/provider-mistral/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/verivus-oss/llm-cli-gateway

Made for: Claude Code.

Or install llm-gateway, the plugin that ships this one along with the rest of its 24 skills, 4 commands, 2 MCP servers.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/verivus-oss/llm-cli-gateway/provider-mistral/github.svg)](https://agentmods.dev/skills/verivus-oss/llm-cli-gateway/provider-mistral)
Your own site
<a href="https://agentmods.dev/skills/verivus-oss/llm-cli-gateway/provider-mistral"><img src="https://agentmods.dev/badge/skills/verivus-oss/llm-cli-gateway/provider-mistral/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 provider-mistral

Your own site · 80×15
<a href="https://agentmods.dev/skills/verivus-oss/llm-cli-gateway/provider-mistral"><img src="https://agentmods.dev/badge/skills/verivus-oss/llm-cli-gateway/provider-mistral.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,836 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 warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 26
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Output Handling · line 79
    Output size or generation rate is not bounded. Unbounded output enables denial-of-service through resource exhaustion, log flooding, or context-window stuffing.
    Fix: Set explicit limits on output length, generation count, and rate. Use max_tokens and truncation to prevent unbounded output.
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.00078 $0.01836
Opus 5 $0.00039 $0.00918
Sonnet 5 $0.00016 $0.00367
Haiku 4.5 $0.00008 $0.00184

Measured 5d ago against content hash 1a9b8abaeab8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

provider-mistral 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 5d 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.

.agents/skills/provider-mistral/SKILL.md · 129 lines

How it starts

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

Provider: Mistral Vibe CLI

Process guidance for keeping the gateway's Mistral (vibe) integration aligned with the upstream CLI. This skill does not define argv/env behaviour; the single mechanical source of truth is UPSTREAM_CLI_CONTRACTS.mistral in src/upstream-contracts.ts, enforced by validateUpstreamCliArgs / validateUpstreamCliEnv. Never re-encode flags, agent modes, output formats, the env-model rule, or resume rules here or in TOML.

Identity

Field Value
CliType mistral
Executable vibe
Package mistral-vibe (pypi; also uv / brew)
Repo https://github.com/mistralai/mistral-vibe
Release API https://api.github.com/repos/mistralai/mistral-vibe/releases/latest
Watch categories flags, agent-modes, session-logging, output-formats, env-model

These values mirror UPSTREAM_CLI_CONTRACTS.mistral.upstreamMetadata and docs/upstream/provider-sources.dag.toml ([providers.mistral]). The TypeScript metadata is authoritative; the TOML is scanner input only.

When to use

  • A Mistral Vibe release lands and you need to check for contract drift.
  • A mistral request fails the upstream contract check before spawn.
  • npm run upstream:scan -- --live reports a change on the Vibe releases page.

How LLM agents should use Mistral Vibe through the gateway

  1. Discover the live gateway/provider surface before relying on Vibe-specific controls:
    provider_tool_capabilities({cli:"mistral"})
    
    For a cached read-only resource, use provider-tools://mistral.
  2. Use mistral_request for normal turns and mistral_request_async for long-running review, analysis, or fifth-perspective checks. Sync calls may auto-defer; poll llm_job_status and fetch with llm_job_result when that happens.
  3. Omit model unless the caller explicitly asked for a specific variant; the gateway selects the resolved model through VIBE_ACTIVE_MODEL.
  4. The gateway emits --agent <mode> explicitly and defaults programmatic callers to accept-edits. Use approvalStrategy:"legacy" for Mistral; callers may use permissionMode:"plan" or another supported Vibe mode when they need a different behavior. Mistral rejects mcp_managed before launch, and approvalPolicy has no effect.
  5. allowedTools maps to repeated --enabled-tools flags and disallowedTools maps to repeated --disabled-tools flags. Check provider_tool_capabilities before relying on either provider-native control.
  6. mcpServers is descriptive metadata only; Vibe owns its MCP configuration.
  7. Vibe supports output format, trust, working directory/additional directories, workspace/worktree, session, and max-turn/price/token controls as reported by provider_tool_capabilities. It does not support gateway effort / reasoningEffort.
  8. Vibe continuity is real via sessionId, resumeLatest, and createNewSession. Continuation, trust:true, and a non-empty addDir retain the provider's native behavior under legacy. Current Vibe defaults session logging on; check doctor --json for an explicit [session_logging] enabled = false warning before assuming continuity transcripts are retained.
  9. Bind concurrent repository work with workingDir or a verified workspace. Use gateway worktree only with an explicit provider-native sessionId that is not overridden by createNewSession; fresh, createNewSession, and resumeLatest-only worktree requests fail closed. An unscoped child uses a fresh neutral temporary cwd, and cwd-scoped resumeLatest fails closed without a stable target. Vibe's current prompt contract is argv-bound, so oversized UTF-8 input returns non-retryable input_too_large without truncation. All other caller-controlled argv values are admitted in their final encoded form before spawn. Embedded NUL bytes return non-retryable invalid_input without exposing the rejected value.

Read the full file on GitHub · 129 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. 5d ago Changed 1a9b8abaeab8
  2. 9d ago First seen · 129 lines · 78 tokens per session scan A 3d5f69e6b6be

Subscribe to this mod's changes

provider-mistral is a skill published in the GitHub repository verivus-oss/llm-cli-gateway (15 stars, last pushed 2d ago), licensed MIT. It adds 78 tokens to every session and 1,836 once invoked, about $0.0004 per session on Opus 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.