CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

huggingface-tokenizers

Fast tokenizers optimized for research and production. Rust-based implementation tokenizes 1GB in <20 seconds. Supports BPE, WordPiece, and Unigram algorithms. Train custom vocabularies, track alignments, handle padding/truncation. Integrates seamlessly with transformers. Use when you need high-performance tokenization or custom tokenizer training. Also covers SentencePiece (guides in references/).

Quality

72%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Fix and improve this skill with Tessl

tessl review fix ./skills/tokenization/huggingface-tokenizers/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

61%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A dense, highly actionable reference with excellent code coverage of every major use case, weakened by redundant conceptual explanations of algorithms Claude already knows, absent validation checkpoints in training/batch workflows, and a two-level-deep reference nesting in the merged SentencePiece branch. The core quick-start and pipeline material is exemplary.

Suggestions

Remove or compress the 'How it works', 'Advantages', and 'Trade-offs' blocks for BPE/WordPiece/Unigram (or move them entirely to references/algorithms.md, which already covers them) — Claude knows these algorithms, and they duplicate the deep-dive file.

Add explicit validation steps to the training and batch-encoding workflows: verify the resulting vocab size, round-trip encode/decode a sample to confirm correctness, and check batch output shape before proceeding — this would lift workflow_clarity above the batch-operation cap of 3.

Fix the small executability gaps: define 'text' in the alignment example, define 'corpus' in the multiprocessing example, and consolidate the <20s/GB performance claim (currently stated in at least four places) into the single benchmarks section.

DimensionReasoningScore

Conciseness

The body is mostly efficient, code-forward reference material, but it includes unnecessary explanation Claude already knows: 'How it works' walkthroughs for BPE ('Start with character-level vocabulary, find most frequent character pair...'), WordPiece (with its scoring formula), and Unigram, plus per-algorithm 'Advantages/Trade-offs' sections, a long 'Supported models' listing, generic multiprocessing boilerplate, and the <20s/GB speed claim repeated in at least four places. This matches level 3 ('some unnecessary explanation or could be tightened') rather than level 2, because the padding is a minority of the document and the anchor-2 example is prose-fluffed, which this is not.

3 / 5

Actionability

Nearly all guidance is executable, copy-paste-ready code covering the common cases: installation, 'Tokenizer.from_pretrained("bert-base-uncased")', full BPE/WordPiece/Unigram training snippets, 'TemplateProcessing' patterns, 'enable_truncation'/'enable_padding', and 'train_from_iterator'. It falls short of level 5 only on minor gaps: the alignment example references an undefined 'text' variable, the multiprocessing example uses an undefined 'corpus', and the PreTrainedTokenizerFast snippet assumes a 'BPE' import from an earlier section. Well above level 3, which would require pseudocode or missing key details.

4 / 5

Workflow Clarity

Sequences are present and coherent (train: init model → set pre-tokenizer → configure trainer → train → save), but no validation or verification checkpoints exist anywhere — e.g., nothing checks vocab size after training, round-trips a decode, or sanity-checks batch output. Since tokenizer training and batch/multi-process encoding are batch operations, the rubric's scoring note caps workflow_clarity at 3 despite the otherwise clear sequencing; it is above level 2 because steps are well defined, not 'poorly defined'.

3 / 5

Progressive Disclosure

Good structure overall: a well-organized overview with a clearly signaled 'References' section ('[Training Guide](references/training.md)', '[Algorithms Deep Dive](references/algorithms.md)', etc.) where all referenced files exist, plus a 'Related tools (merged into this skill)' table. It misses level 5's 'one-level-deep references' standard because the bundle actually nests two levels — references/sentencepiece/overview.md itself points to references/sentencepiece/references/training.md and algorithms.md — and the body inlines full algorithm sections that duplicate references/algorithms.md. Above level 3, since references are clearly signaled and the bulk of content is appropriately placed.

4 / 5

Total

14

/

20

Passed

Description

75%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description with concrete, capability-dense language and an explicit 'Use when...' trigger clause. Its main gaps are the missing 'HuggingFace' brand keyword, a narrow when-clause that doesn't mirror all listed capabilities, and a second-person construction that incurs the rubric's voice penalty.

DimensionReasoningScore

Specificity

Quotes multiple concrete actions — 'Train custom vocabularies, track alignments, handle padding/truncation', 'Supports BPE, WordPiece, and Unigram algorithms', 'Integrates ... with transformers' — which meets the level-5 anchor, but the second-person phrasing 'Use when you need high-performance tokenization' triggers the rubric's third-person-voice penalty (-1), and loading/using pretrained tokenizers is only implied by the performance claim rather than stated as an action. Confirmed not level 3, which requires only 1-2 concrete actions, and the penalty rules out level 5.

4 / 5

Completeness

Both parts are explicit: the 'what' ('Fast tokenizers... Train custom vocabularies, track alignments, handle padding/truncation') and a 'when' clause ('Use when you need high-performance tokenization or custom tokenizer training'). The when-clause covers only two triggers while the what lists four capabilities (alignment tracking, padding, transformers integration lack corresponding triggers), matching level 4 ('when could be more explicit or specific') rather than level 5's fully concrete, comprehensive trigger phrases, and clearly exceeding level 3 where 'when' would be absent.

4 / 5

Trigger Term Quality

Good natural keyword coverage: 'tokenization', 'tokenizer training', 'BPE', 'WordPiece', 'Unigram', 'SentencePiece', 'vocabularies', 'padding/truncation'. However the brand term 'HuggingFace' itself never appears in the description (users would naturally say 'HuggingFace tokenizers'), and synonyms like 'subword' or file extensions are absent, so it falls short of the level-5 comprehensive anchor. Clearly above level 3, where common variations would be missing wholesale.

4 / 5

Distinctiveness Conflict Risk

The tokenization niche is well-delineated with distinct algorithm-level triggers ('BPE, WordPiece, and Unigram'), so it is well above level 3. It stops short of level 5 because 'Also covers SentencePiece (guides in references/)' and 'Integrates ... with transformers' broaden it toward closely related skills (a dedicated SentencePiece skill, a transformers skill, tiktoken), creating minor overlap risk.

4 / 5

Total

16

/

20

Passed

Validation

75%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 12 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (524 lines); consider splitting into references/ and linking

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

relative_links

Relative link issues: 1 deeper-than-1-level

Warning

referenced_paths_exist

Referenced path issues: 2 deeper-than-1-level

Warning

Total

12

/

16

Passed

Repository

OpenLAIR/dr-claw

Path

skills/tokenization/huggingface-tokenizers/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.