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

/mistral-reference-architecture

@0d57af8
Run it yourself

Design a Mistral integration from policy gateway through adapter, queues, state reconciliation, and audited output. Use when establishing architecture. Trigger with "design a Mistral architecture", "review a Mistral platform", or "standardize Mistral services".

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

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. ≈757 when used: this file. ≈222 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 Governed Reference Architecture

Overview

Create a workload-aware architecture separating identity, policy, transport, state, and side effects. Route each job to the simplest stable surface and isolate preview/stateful APIs.

Prerequisites

  • A workload inventory for chat, embeddings, classifiers, files/OCR, audio, batch, FIM, and orchestration.
  • Identity, tenant, data, retention, spend, SLO, and incident requirements.
  • Current endpoint/model evidence and owners for stateful stores.

Current Contract

Mistral exposes distinct stateless and stateful surfaces including chat, embeddings, classifiers, files, OCR, audio, batch, Workflows, and Public Preview Agents/Conversations. Their contracts are not interchangeable.

Authentication

Terminate app identity/authorization at a policy gateway; inject provider keys only in trusted adapters. Use approved service identity patterns when supported.

Instructions

  1. Map each workload to data class, latency, state, side effects, endpoint, and stability.
  2. Place auth, tenancy, moderation, budgets, and bounds in the gateway.
  3. Isolate provider calls behind typed adapters and preview APIs behind versioned boundaries.
  4. Use queues/idempotency for async work; reconcile Files, Batch, Workflows, and app state.
  5. Store approved data with tenant keys, provenance, retention, deletion, and audit.
  6. Define observability, failure modes, rollout, rollback, provider exit, and test ownership.

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

Preview selection, uploads, persistent stores, tools, infrastructure, and live traffic require approval. Architecture review alone does not provision or mutate any component.

Error Handling

  • One generic completion wrapper cannot preserve file, batch, event, and conversation contracts.
  • Provider auth does not enforce application tenancy.
  • Untracked uploads create unmanaged data.

Output

Return components and trust boundaries, workload mappings, stores, approvals, failure paths, owners, tests, and migration and rollback plans. Mark every preview dependency explicitly.

Examples

  • Route interactive chat directly and approved bulk work through idempotent batch.
  • Keep beta conversation state behind a replaceable adapter.

Validation

Walk happy, timeout, duplicate, cross-tenant, outage, rotation, deletion, and rollback paths for every workload. Confirm each stateful resource has reconciliation ownership.

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

    This skill provides a reference architecture and best practices for Mistral AI integrations. It defines patterns for singleton clients, Zod-validated configuration, and prompt management. The analysis identified a standard attack surface for indirect prompt injection where untrusted data is interpolated into LLM prompts.

  • 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
<workloads> <data-boundary> <deployment-context>
version
1.14.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
All 5 allowed tools
ReadGlobGrepWriteEdit
Other metadata
tags
[
  "saas",
  "mistral",
  "architecture"
]
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-reference-architecture