unsloth-mcp-server: Skill for Claude Code

.claude/skills/superbpe/SKILL.md

superbpe is a skill for Claude Code from ScientiaCapital/unsloth-mcp-server. It costs 58 tokens per session (7,317 once invoked), scanned A, original, Apache-2.0.

A skill for training and using SuperBPE, a tokenization method that breaks text into pieces for language models. It covers adapting the tokenizer to a project’s text and connecting it to different language-model tools.

In plain words
What is it for?
Use it to train, test, optimize, and integrate SuperBPE tokenizers in language-model projects.
Why use it?
It helps reduce how many text pieces a model must process, which can lower per-token costs and leave more room for content in a model’s context window.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: positional $N argument.

This is ScientiaCapital/unsloth-mcp-server's own configuration. It tells Claude Code how to work on unsloth-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything unsloth-mcp-server configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./tokenizers/.

Reuse

Borrowing it

Nothing to install: this file belongs to ScientiaCapital/unsloth-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ScientiaCapital/unsloth-mcp-server/main/.claude/skills/superbpe/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ScientiaCapital/unsloth-mcp-server

Made for: Claude Code.

Wrote 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.

agentmods badge for superbpe

README.md
[![agentmods](https://agentmods.dev/badge/skills/scientiacapital/unsloth-mcp-server/superbpe/github.svg)](https://agentmods.dev/skills/scientiacapital/unsloth-mcp-server/superbpe)
Your own site
<a href="https://agentmods.dev/skills/scientiacapital/unsloth-mcp-server/superbpe"><img src="https://agentmods.dev/badge/skills/scientiacapital/unsloth-mcp-server/superbpe/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.

agentmods 80×15 button for superbpe

Your own site · 80×15
<a href="https://agentmods.dev/skills/scientiacapital/unsloth-mcp-server/superbpe"><img src="https://agentmods.dev/badge/skills/scientiacapital/unsloth-mcp-server/superbpe.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,317 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.07317
Opus 5 $0.00029 $0.03658
Sonnet 5 $0.00012 $0.01463
Haiku 4.5 $0.00006 $0.00732

Measured 10d ago against content hash 2aadc12d408b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

superbpe 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 10d ago.

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.

.claude/skills/superbpe/SKILL.md · 1,052 lines

How it starts

The opening of the file, as written. The whole thing — 1,052 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SuperBPE - Advanced Tokenization

Expert guidance for SuperBPE tokenizer training, optimization, and deployment across any LLM project.

What is SuperBPE?

SuperBPE is a 2025 tokenization method that achieves significant improvements over standard BPE:

Key Benefits

  • 20-33% fewer tokens - More efficient encoding
  • Faster inference - Fewer tokens to process
  • Lower API costs - Pay per token reduction
  • Better context utilization - Fit 40% more content in same window
  • Domain-specific optimization - Train for your specific use case
  • Framework-agnostic - Use with any LLM (OpenAI, Anthropic, open-source)

How It Works

SuperBPE improves upon standard BPE by:

  1. Selective merge inheritance - Inherits 70-90% of BPE merges
  2. Domain-aware training - Optimizes for your specific corpus
  3. Frequency-based optimization - Prioritizes common patterns
  4. Special token handling - Better handling of domain-specific tokens

Performance Impact

Standard BPE:  "The implementation utilizes convolutional neural networks" → 12 tokens
SuperBPE:      "The implementation utilizes convolutional neural networks" → 8 tokens
Reduction:     33% fewer tokens

Monthly savings example:
- 100M tokens/month at $20/1M tokens
- 30% reduction = 30M fewer tokens
- Savings: $600/month = $7,200/year

Quick Start

1. Train SuperBPE Tokenizer

from unsloth.tokenizer import train_superbpe

tokenizer = train_superbpe(
    corpus_path="./training_data.txt",    # Local file or HF dataset
    output_path="./tokenizers/my_tokenizer.json",
    vocab_size=50000,
    num_inherit_merges=40000  # 80% of vocab_size (recommended)
)

2. Compare with Standard Tokenizers

from unsloth.tokenizer import compare_tokenizers

results = compare_tokenizers(
    text="Your sample text here...",
    tokenizer1="meta-llama/Llama-3.2-1B",      # Standard BPE
    tokenizer2="./tokenizers/my_tokenizer.json" # Your SuperBPE
)

print(f"Standard BPE: {results['tokenizer1']['tokens']} tokens")
print(f"SuperBPE: {results['tokenizer2']['tokens']} tokens")
print(f"Reduction: {results['reduction']}")  # e.g., "25.3%"

Read the full file on GitHub · 1,052 lines

Changes

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.

  1. 10d ago First seen · 1,052 lines · 58 tokens per session scan A 2aadc12d408b

Subscribe to this mod's changes

superbpe is a skill published in the GitHub repository ScientiaCapital/unsloth-mcp-server (2 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 58 tokens to every session and 7,317 once invoked, about $0.0003 per session on Opus 5. 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-08-31.