Agent skill · Code Review & Quality

mistral-common-errors

Diagnose and fix Mistral AI common errors and exceptions. Use when encountering Mistral errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "mistral error", "fix mistral", "mistral not working", "debug mistral".

majiayu000github.com/majiayu000GitHub ↗
claude-coderead-onlyMIT
Install
npx skills add majiayu000/claude-skill-registry --skill mistral-common-errors --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Version: 1.0.0
Declared author: Jeremy Longshore <jeremy@intentsolutions.io>
Allowed tools: ReadGrepBash(curl:*)
Path: skills/ai-llm/mistral-common-errors/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Mistral AI Common Errors ## Overview Quick reference for the most common Mistral AI errors and their solutions. ## Prerequisites - Mistral AI SDK installed - API credentials configured - Access to error logs ## Instructions ### Step 1: Identify the Error Check error message, status code, and request ID in your logs or console. ### Step 2: Find Matching Error Below Match your error to one of the documented cases. ### Step 3: Apply Solution Follow the solution steps for your specific error. ## Output - Identified error cause - Applied fix - Verified resolution ## Error Handling ### 401 Unauthorized - Authentication Failed **Error Message:** ``` Error: Authentication failed. Invalid API key. Status: 401 ``` **Cause:** API key is missing, expired, or invalid. **Solution:** ```bash # Verify API key is set echo $MISTRAL_API_KEY # Test API key curl -H "Authorization: Bearer ${MISTRAL_API_KEY}" \ https://api.mistral.ai/v1/models ``` **Code Fix:** ```typescript // Ensure API key is loaded const apiKey = process.env.MISTRAL_API_KEY; if (!apiKey) { throw new Error('MISTRAL_API_KEY is not set'); } const client = new Mistral({ apiKey }); ``` --- ### 429 Too Many Requests - Rate Limited **Erro

What's inside
Steps it walks through
  1. Overview
  2. Prerequisites
  3. Instructions
  4. Step 1: Identify the Error
  5. Step 2: Find Matching Error Below
  6. Step 3: Apply Solution
  7. Output
  8. Error Handling
  9. 401 Unauthorized - Authentication Failed
  10. 429 Too Many Requests - Rate Limited
  11. 400 Bad Request - Invalid Parameters
  12. 413 Payload Too Large - Context Exceeded
  13. 500/503 Server Error - Mistral Service Issue
  14. Network Timeout
Ships with 1 file
  • metadata.json
Commands it runs
Verify API key is set
echo $MISTRAL_API_KEY
Test API key
curl -H "Authorization: Bearer ${MISTRAL_API_KEY}" \
Check Mistral status
curl -s https://status.mistral.ai/ | head -20
Implement circuit breaker
Check API connectivity
curl -I https://api.mistral.ai/v1/models \
List available models
More from claude-skill-registry
All skills →
About this skill
What does the mistral-common-errors skill do?

Diagnose and fix Mistral AI common errors and exceptions. Use when encountering Mistral errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "mistral error", "fix mistral", "mistral not working", "debug mistral".

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill mistral-common-errors --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going