Mistral SDK and API Surface Upgrade
SkillAI & modelsMigrate 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 Mistral SDK and API Surface Upgrade in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Mistral SDK and API Surface Upgrade and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Mistral SDK and API Surface Upgrade skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by jeremylongshore/tons-of-skills-marketplace in skills/.curated/mistral-upgrade-migration/SKILL.md and read by ahel’s review.
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
- Inventory imports, types, endpoints, models, options, parsing, retries, and state IDs.
- Lock characterization tests before changing dependencies.
- Diff releases, schemas, preview labels, and unsupported features.
- Choose per workload: stable chat, Workflows, or explicitly accepted beta Agents/Conversations.
- Migrate one adapter path at a time without leaking target SDK objects.
- 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.
Signals
- GitHub stars
- 3k
- Forks
- 415
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
mistral-upgrade-migration- Source
- github.com/jeremylongshore/tons-of-skills-marketplace
github.com/jeremylongshore/tons-of-skills-marketplace
Related picks
Skill · mattpocock
The pick for TypeScripttypescript-pro
Skill · jeffallan
The pick for TypeScriptskill-creator
Skill · anthropics
More in AI & modelstriage
Skill · mattpocock
More in AI & modelsalgorithmic-art
Skill · anthropics
More in AI & modelscode-review-and-quality
Skill · addyosmani
More in AI & models