transformers-config-tokenizers-expert SKILL.md skillA
transformers-config-tokenizers-expert 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/transformers-config-tokenizers-expert@git:20261027.96b6fc5Pins git:20261027.96b6fc5 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/transformers-config-tokenizers-expert/SKILL.md- Versions recorded
- 10
- Latest version
- git:20261027.96b6fc5, committed Oct 27, 2026
- First version recorded
- Apr 21, 2026
- Size
- 23,140 bytes
- Repository stars
- 6
- License
- MIT
Preflight reference for HuggingFace snapshots — what vLLM, sglang, and transformers.generate see at runtime. Covers config-file precedence (tokenizer.json, tokenizer_config.json, generation_config.json, chat_template.jinja), transformers v5 tokenizer-class taxonomy (TokenizersBackend, PythonBackend, MistralCommonBackend, TikTokenTokenizer), special-token discovery (all_special_ids, added_tokens_decoder, extra_special_tokens, backend_tokenizer.get_added_tokens_decoder), chat-template Jinja…
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
# Transformers config + tokenizers expert Target: engineers writing a preflight tool (or a vLLM/sglang operator) that must decide, before handing a HuggingFace snapshot to an inference engine, *which* files win, *which* tokens are structural, and *which* class will actually instantiate. Almost every major 2026 release has shipped with drift between `tokenizer_config.json`, `generation_config.json`, `config.json`, and the Rust-backed tokenizer state. The skill exists so a preflight tool can answer that drift authoritatively — not guess. --- ## Stance - **Cite, don't paraphrase.** Every load-bearing claim has a file:line or URL citation in `references/`. Point at the source. - **Version-gate.** Transformers v5 (GA 2026-01-26) renamed the tokenizer classes and changed serialization shapes. Pre-5.0 and post-5.0 diverge — check `transformers.__version__` before claiming. - **Rust is truth.** For any model with `tokenizer.json`, the authoritative added-token state is `tokenizer.backend_tokenizer.get_added_tokens_decoder()`. Python-side `all_special_ids` / `special_tokens_map` / `added_tokens_decoder` are views; treat them as such. …
Read the whole file at its exact version.
How to install
mdr add air-gapped/skills/transformers-config-tokenizers-expert@sha256:c7d616727a483b61The line at the top of this page pins the label git:20261027.96b6fc5, 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_a735x5hok4gsfjev)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 10 versions of this file, between Apr 21, 2026 and Oct 27, 2026, about one every 21 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261027.96b6fc5 latest | 2026-10-27 | 96b6fc5 | 23,140 B | A | view · diff |
| git:20261027.67f9b8f | 2026-10-27 | 67f9b8f | 22,912 B | A | view · diff |
| git:20261027.784358b | 2026-10-27 | 784358b | 22,912 B | A | view · diff |
| git:20261027.9576ba0 | 2026-10-27 | 9576ba0 | 22,992 B | A | view · diff |
| git:20260922.5e8f509 | 2026-09-22 | 5e8f509 | 23,207 B | A | view · diff |
| git:20260915.e6eb5e8 | 2026-09-15 | e6eb5e8 | 23,199 B | A | view · diff |
| git:20260915.517712e | 2026-09-15 | 517712e | 22,273 B | A | view · diff |
| git:20260915.223ba3a | 2026-09-15 | 223ba3a | 21,191 B | A | view · diff |
| git:20260426.f30be1c | 2026-04-26 | f30be1c | 19,142 B | A | view · diff |
| git:20260421.9da3584 | 2026-04-21 | 9da3584 | 17,833 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 (23140 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_a735x5hok4gsfjev GET https://markdownregistry.com/api/v1/resolve?ref=air-gapped/skills/transformers-config-tokenizers-expert GET https://markdownregistry.com/api/v1/blob/c7d616727a483b61e1185666d662ad311ac399d27cbe06f1182a1e0efd7b1a54
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.