messages-api SKILL.md skillA
messages-api from air-gapped/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add air-gapped/skills/messages-api@git:20261019.a64f79fPins git:20261019.a64f79f in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- air-gapped/skills
- Path
.claude/skills/messages-api/SKILL.md- Versions recorded
- 7
- Latest version
- git:20261019.a64f79f, committed Oct 19, 2026
- First version recorded
- Jul 20, 2026
- Size
- 8,434 bytes
- Repository stars
- 6
- License
- MIT
Reference for the Anthropic Messages API (/v1/messages) as a third-party compatibility protocol — the 7 inference servers that implement it natively (vLLM, SGLang, llama.cpp, Ollama, mistral.rs, Llama Stack/OGX, Lemonade), gateways that adapt it (LiteLLM, Bifrost, Superagent Gateway), client behavior (Claude Code, opencode anthropic provider), Messages ↔ Chat Completions translation, the thinking-signature seam, stop_reason divergences, and streaming quirks. NOT for official Anthropic API…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Messages API Compatibility Reference `POST /v1/messages` is served natively by vLLM, SGLang, llama.cpp, Ollama, mistral.rs, Llama Stack/OGX and Lemonade, and adapted by LiteLLM, Bifrost and Superagent Gateway; Claude Code is the driving client. Sibling skills: **`chat-completions-api`** (the surface this one is translated to or from) and **`responses-api`**. **Fleet property: stateless by protocol.** No `previous_response_id` equivalent exists — full history is resent every turn, so load-balanced same-model fleets cannot hit wrong-replica session errors (contrast the Responses API's server-side state; see the responses-api skill). ## Critical Gotchas - **The thinking-signature seam**: third-party backends fabricate or omit thinking-block signatures. Replaying such thinking to the REAL Anthropic API fails signature validation — keep conversations on one side of the boundary or strip thinking when crossing. Per-implementation signature table: `references/translation-mapping.md`. - **Never rely on `stop_sequence`**: roughly half the implementations never emit it. end_turn/max_tokens/tool_use is the reliable subset; …
Read the whole file at its exact version.
How to install
mdr add air-gapped/skills/messages-api@sha256:69c0f8c75378ea6aThe line at the top of this page pins the label git:20261019.a64f79f, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_hdvqq7hwlmeoqizt)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 7 versions of this file, between Jul 20, 2026 and Oct 19, 2026, about one every 15 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261019.a64f79f latest | 2026-10-19 | a64f79f | 8,434 B | A | view · diff |
| git:20261019.0b0b47f | 2026-10-19 | 0b0b47f | 8,562 B | A | view · diff |
| git:20261019.2ea7ac3 | 2026-10-19 | 2ea7ac3 | 8,252 B | A | view · diff |
| git:20261019.90baa10 | 2026-10-19 | 90baa10 | 8,233 B | A | view · diff |
| git:20261019.dea5516 | 2026-10-19 | dea5516 | 8,621 B | A | view · diff |
| git:20260725.aef8f18 | 2026-07-25 | aef8f18 | 7,936 B | A | view · diff |
| git:20260720.472aa2a | 2026-07-20 | 472aa2a | 7,666 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8434 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
air-gapped/skills · 6 stars · license MIT · pushed 2026-11-04 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_hdvqq7hwlmeoqizt GET https://markdownregistry.com/api/v1/resolve?ref=air-gapped/skills/messages-api GET https://markdownregistry.com/api/v1/blob/69c0f8c75378ea6a6fdc0b8c6e4658689cb8a9868e2a44f24417f3fd3da9d66b
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.