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

/mistral-upgrade-migration

@0d57af8
Run it yourself

Migrate a pinned Mistral client or deprecated API surface through characterization, contract diffing, and staged rollback. Use when upgrading SDKs or moving API generations. Trigger with "upgrade Mistral SDK", "migrate Mistral Agents", or "fix Mistral deprecations".

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈73 tokens for metadata: the name and description. ≈691 when used: this file. ≈236 more on demand in 1 file.

Description uses 3.7% 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 ≈294 characters, or 3.7%.

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.

Mistral SDK and API Surface Upgrade

Overview

Upgrade from evidence, not search-and-replace. Characterize the current adapter, compare exact target contracts, and isolate Public Preview migrations from dependency maintenance.

Prerequisites

  • A clean branch, pinned source/target versions, and adapter inventory.
  • Characterization tests for requests, streams, errors, usage, and state.
  • A canary, compatibility window, and rollback owner.

Current Contract

Current docs expose Public Preview beta Agents and Conversations plus Workflows, while deprecated Agents remains documented. Choose the target per workload; this is not a one-to-one rename.

Authentication

Use offline characterization where possible. Live comparison uses the server-side key, synthetic content, fixed budget, and content-free evidence.

Instructions

  1. Inventory imports, types, endpoints, models, options, parsing, retries, and state IDs.
  2. Lock characterization tests before changing dependencies.
  3. Diff releases, schemas, preview labels, and unsupported features.
  4. Choose per workload: stable chat, Workflows, or explicitly accepted beta Agents/Conversations.
  5. Migrate one adapter path at a time without leaking target SDK objects.
  6. Run offline regression and approved canary; remove compatibility only after rollback expiry.

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

Require approval for dependencies, preview adoption, endpoint changes, live comparison, state migration, or compatibility removal.

Error Handling

  • Compiling can still hide stream, error, usage, or pagination changes.
  • Deprecated-to-beta Agents may require redesigned state lifecycle.
  • Automatic model substitution invalidates quality, price, and safety baselines.

Output

Return source/target pins, contract diff, destination per workflow, changed call sites, tests/canary, preview risks, rollback, and removal date.

Examples

  • Upgrade the TypeScript client behind an unchanged app adapter.
  • Keep stable chat while separately evaluating Workflows.

Validation

Test both adapters with identical fixtures, malformed responses, cancellation, retry classes, usage, and rollback drill.

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

    The skill is a specialized tool for migrating and upgrading Mistral AI SDKs. It uses automated scripts and shell commands to update source code. While it uses dynamic context injection and processes external code files, these actions are within the scope of its primary purpose and do not show malicious intent.

  • 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
<from-version-or-surface> <to-version-or-surface> <scope>
version
1.14.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
All 5 allowed tools
ReadGlobGrepWriteEdit
Other metadata
tags
[
  "saas",
  "mistral",
  "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-upgrade-migration