Agent skill · Backend & API

mistral-hello-world

Create a minimal working Mistral AI chat completion example. Use when starting a new Mistral integration, testing your setup, or learning basic Mistral API patterns. Trigger with phrases like "mistral hello world", "mistral example", "mistral quick start", "simple mistral code", "mistral chat".

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill mistral-hello-world --agent claude-code

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

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Version: 1.0.0
Declared author: Jeremy Longshore <jeremy@intentsolutions.io>
Allowed tools: ReadWriteEdit
Path: skills/ai-llm/mistral-hello-world/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 Hello World ## Overview Minimal working example demonstrating core Mistral AI chat completion functionality. ## Prerequisites - Completed `mistral-install-auth` setup - Valid API credentials configured - Development environment ready ## Instructions ### Step 1: Create Entry File **TypeScript (hello-mistral.ts)** ```typescript import Mistral from '@mistralai/mistralai'; const client = new Mistral({ apiKey: process.env.MISTRAL_API_KEY, }); async function main() { const response = await client.chat.complete({ model: 'mistral-small-latest', messages: [ { role: 'user', content: 'Say "Hello, World!" in a creative way.' } ], }); console.log(response.choices?.[0]?.message?.content); } main().catch(console.error); ``` **Python (hello_mistral.py)** ```python import os from mistralai import Mistral client = Mistral(api_key=os.environ.get("MISTRAL_API_KEY")) def main(): response = client.chat.complete( model="mistral-small-latest", messages=[ {"role": "user", "content": "Say 'Hello, World!' in a creative way."} ], ) print(response.choices[0].message.content) if __name__ == "__main__": main() ``` ### Step 2: Run the Example ```bash # TypeScript npx tsx hello-mistral.ts # Python pyt

What's inside
Steps it walks through
  1. Overview
  2. Prerequisites
  3. Instructions
  4. Step 1: Create Entry File
  5. Step 2: Run the Example
  6. Step 3: Streaming Response (Advanced)
  7. Output
  8. Error Handling
  9. Examples
  10. Multi-turn Conversation
  11. With Temperature Control
  12. Resources
  13. Next Steps
Ships with 1 file
  • metadata.json
Commands it runs
TypeScript
npx tsx hello-mistral.ts
Python
python hello_mistral.py
More from claude-skill-registry
All skills →
About this skill
What does the mistral-hello-world skill do?

Create a minimal working Mistral AI chat completion example. Use when starting a new Mistral integration, testing your setup, or learning basic Mistral API patterns. Trigger with phrases like "mistral hello world", "mistral example", "mistral quick start", "simple mistral code", "mistral chat".

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill mistral-hello-world --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