Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/mistral-migration-deep-dive

@0d57af8
Run it yourself

Migrate an existing model workload to Mistral through semantic mapping, dual-run evaluation, bounded canary, and provider rollback. Use when re-platforming from another provider. Trigger with "migrate to Mistral", "move from OpenAI to Mistral", or "compare a workload with Mistral".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/mistral-migration-deep-dive

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈78 tokens for metadata: the name and description. ≈722 when used: this file. ≈231 more on demand in 1 file.

Description uses 3.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈312 characters, or 3.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Cross-Provider Migration to Mistral

Overview

Treat migration as behavior and operations redesign, not field renaming. Preserve the application contract while re-evaluating models, prompts, streams, tools, safety, state, data, spend, and incidents.

Prerequisites

  • A source workload inventory and application-owned adapter.
  • Golden/adversarial evaluation sets with governed data.
  • Current Mistral access, dual-run budget, canary, rollback, and exit owners.

Current Contract

Chat, embeddings, classifiers, files/OCR, audio, batch, Workflows, and Public Preview stateful APIs are provider-specific. No source feature, model, tool, safety result, or state object is automatically equivalent.

Authentication

Keep source and Mistral credentials in separate secret references with independent owners. Dual-run data must be approved for both providers.

Instructions

  1. Inventory source messages, streams, tools, structure, embeddings, files, state, retry, usage, and safety.
  2. Define the stable app contract and identify source-specific behavior to adapt or retire.
  3. Map workloads to current Mistral surfaces; reject unsupported or unacceptable preview substitutions.
  4. Build target adapter and run offline characterization against shared normalized fixtures.
  5. Run approved dual evaluation for correctness, safety, latency, usage, failure, and governance.
  6. Canary bounded traffic with kill switch; reconcile state, cut over, and retain rollback.

Tool Discipline

Use Read, Glob, and Grep to inspect code, locks, configuration, tests, and evidence. Use Write and Edit only for approved repository changes. Invocation alone does not authorize network calls, paid usage, uploads, stateful resources, admin mutations, deployments, or deletion.

Approval Boundaries

Dual submission, customer data, new spend, preview APIs, production routing, state copying, source shutdown, or credential deletion require approval.

Error Handling

  • Equivalent parameter names can differ in defaults/semantics.
  • Dual-run doubles exposure and spend unless bounded.
  • Rollback fails when new provider state lacks reconciliation.

Output

Return source/target contract matrix, gaps, evaluation, data/spend delta, canary, reconciliation, cutover, rollback, and source exit.

Examples

  • Preserve app tool authorization while adapting provider call shape.
  • Reject stateful agent migration until preview and rollback risks are accepted.

Validation

Run identical golden, adversarial, timeout, stream, tool, tenant, and outage cases; verify cutover and rollback.

Resources

  • Current first-party evidence map — recheck dated sources before relying on mutable endpoints, models, limits, prices, preview status, or retention.
  • Record live account observations as environment-specific evidence, not universal Mistral guarantees.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill acts as a migration utility to help transition integrations from OpenAI or Anthropic to Mistral AI. It includes assessment scripts and code patterns for a provider-agnostic adapter. No security risks were identified.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 months ago
What it can do
Reads files Edits files
Modelinherit
argument-hint
<source-provider> <workload> <migration-window>
version
1.14.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
All 5 allowed tools
ReadGlobGrepWriteEdit
Other metadata
tags
[
  "saas",
  "mistral",
  "provider-migration"
]
model
inherit
effort
high
compatibility
Designed for Claude Code; live or external Mistral actions require network access and explicit approval

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/mistral-migration-deep-dive