Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ashish7802/awesome-api-skills --skill mistralgit clone --depth 1 https://github.com/ashish7802/awesome-api-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ashish7802/awesome-api-skills/mistral)<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/mistral"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/mistral/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/mistral"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/mistral.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00549 |
| Opus 5 | $0.00000 | $0.00275 |
| Sonnet 5 | $0.00000 | $0.00110 |
| Haiku 4.5 | $0.00000 | $0.00055 |
Grade A, and why
mistral scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mistral AI API Skill
Overview
Mistral AI provides frontier open and commercial AI models, featuring mistral-large-latest, mistral-small-latest, codestral-latest for coding, and mistral-embed for semantic search.
Installation
npm install @mistralai/mistralai
pip install mistralai
Authentication & Client Setup
import { Mistral } from '@mistralai/mistralai';
const client = new Mistral({
apiKey: process.env.MISTRAL_API_KEY,
});
Core API Operations
1. Chat Completion with Tool Calling
const response = await client.chat.complete({
model: 'mistral-large-latest',
messages: [
{ role: 'user', content: 'What is the stock price of AAPL?' },
],
tools: [
{
type: 'function',
function: {
name: 'getStockPrice',
description: 'Get the current stock price for a ticker',
parameters: {
type: 'object',
properties: {
ticker: { type: 'string' },
},
required: ['ticker'],
},
},
},
],
toolChoice: 'auto',
});
2. Code Generation (Codestral)
const codeCompletion = await client.chat.complete({
model: 'codestral-latest',
messages: [
{ role: 'system', content: 'You are an expert TypeScript developer.' },
{ role: 'user', content: 'Write a debounce function in TypeScript with type generics.' },
],
});
3. Generate Semantic Text Embeddings
const embeddings = await client.embeddings.create({
model: 'mistral-embed',
inputs: ['Document chunk 1', 'Document chunk 2'],
});
console.log(embeddings.data[0].embedding.length); // 1024
AI Pitfalls & Anti-Hallucination Guidelines
- Codestral Endpoint Confusion: Codestral has dedicated API keys and rate limits when accessed via
codestral.mistral.ai. - JSON Mode Requirement: When requesting JSON mode, the word "json" must explicitly appear in the prompt instructions.
Production Checklist
- Structured JSON responses verified with Zod
- Safe fallback for tool calls without infinite agent loops
- Rate limits handled on embedding batch calls
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today First seen · 82 lines · 0 tokens per session scan A 8506735afda9
mistral is a skill published in the GitHub repository ashish7802/awesome-api-skills (13 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 549 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-10.
Other skills, from other repositories
dify-workflow
Use when dify AI workflow platform — LLM apps, knowledge bases, agents, workflow orchestration, API deployment. Use when working with dify workflow.
ai-expertise-engine
Comprehensive AI/ML expertise covering prompt engineering, LLM architecture, AI agent design, RAG systems, fine-tuning, AI safety, and cutting-edge AI research for building and leveraging AI systems.
ai-llm-skills-guide
Guide for AI Agents and LLM development skills including RAG, multi-agent systems, prompt engineering, memory systems, and context engineering.
gemini-api-dev
Use when build applications using Google Gemini API. Handle chat completions, multimodal inputs, function calling, streaming, and grounding with Google Search. Use when building applications using google gemini api. handle chat completions, multimodal.
dspy
Build complex AI systems with declarative programming, optimize prompts automatically, create modular RAG systems and agents with DSPy - Stanford NLP's framework for systematic LM programming.
wshobson-rag-implementation
Skill "wshobson-rag-implementation" from ItamarZand88/awesome-agent-conventions, covering rag implementation, when to use this skill, core components, 1. vector databases and 2. embeddings.