bab-ilu: Skill for Claude Code

.claude/skills/distill/SKILL.md

distill is a skill for Claude Code from P1-103n1x/bab-ilu. It costs 105 tokens per session (2,123 once invoked), scanned A, original, MIT.

A command for rewriting foreign-language source material into the vault's working language while preserving important original terms. A vault is a structured collection of linked notes.

In plain words
What is it for?
Reconstructing notes from another language and adding bilingual anchors for important terms.
Why use it?
It makes source material easier to use in the vault without losing key names or technical terms.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is P1-103n1x/bab-ilu's own configuration. It tells Claude Code how to work on bab-ilu 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 bab-ilu configures →

Reuse

Borrowing it

Nothing to install: this file belongs to P1-103n1x/bab-ilu. 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/P1-103n1x/bab-ilu/v2.2-oss-public/.claude/skills/distill/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/P1-103n1x/bab-ilu

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 distill

README.md
[![agentmods](https://agentmods.dev/badge/skills/p1-103n1x/bab-ilu/distill/github.svg)](https://agentmods.dev/skills/p1-103n1x/bab-ilu/distill)
Your own site
<a href="https://agentmods.dev/skills/p1-103n1x/bab-ilu/distill"><img src="https://agentmods.dev/badge/skills/p1-103n1x/bab-ilu/distill/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 distill

Your own site · 80×15
<a href="https://agentmods.dev/skills/p1-103n1x/bab-ilu/distill"><img src="https://agentmods.dev/badge/skills/p1-103n1x/bab-ilu/distill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,123 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.00105 $0.02123
Opus 5 $0.00053 $0.01061
Sonnet 5 $0.00021 $0.00425
Haiku 4.5 $0.00011 $0.00212

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

Security

Grade A, and why

distill 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 12d 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/distill/SKILL.md · 211 lines

How it starts

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

/distill — Lens-aware L2 cognitive reconstruction

Lens awareness (v2.1)

/distill is lens-agnostic in its core mechanic (source language → vault language, preserving key terms as bilingual anchors), but lens-specific in which terms qualify as anchors and where the distilled output lives in the vault.

Runtime wiring:

  1. Resolve the active lens at .agent/lenses/active/lens.yaml via tools/lens_loader.load_lens(lens_id); honor --lens <id>.
  2. Inject tools.lens_context.active_lens_preamble() at the top of the distillation LLM call — the lens's prompts.md encodes domain-appropriate reconstruction judgment (e.g. aesthetic-warburg forbids swapping AAT-canonical terms for folk labels; engineering requires preserving version numbers and CVE IDs verbatim).
  3. Read anchor rules from lens.anchors.authority_fields — the same fields /lint --lens=… enforces on tier-0 pages — and use them to decide which source-language terms must be kept verbatim (with the vault-language gloss in parentheses) versus distilled into target-language phrasing.
  4. Resolve the output folder from lens.entity_model.tier_0 (or the relevant tier depending on the source's shape). Default: wiki/{tier_0}/{slug}.md. Aesthetic-warburg continues to use wiki/aesthetic/ implicitly because tier_0 = work; no change visible to the user.

Anchor preservation by lens

Lens Authority fields preserved verbatim Additional verbatim rules
aesthetic-warburg AAT ID, Iconclass code, Wikidata QID Warburg panel names (German titles); Pathosformel phrases
engineering-alexander RFC number, CVE ID, CWE ID, postmortem URL hash, service names Version numbers; error codes; config keys (kebab/snake case kept)
general-zettelkasten (none declared) Quoted source fragments; named methodologies; author names

Read the full file on GitHub · 211 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. 12d ago First seen · 211 lines · 105 tokens per session scan A 56dc887d13e8

Subscribe to this mod's changes

distill is a skill published in the GitHub repository P1-103n1x/bab-ilu (11 stars, last pushed 4mo ago), licensed MIT. It adds 105 tokens to every session and 2,123 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

chinese-documentation

A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.

jnMetaCode/superpowers-zh · 62 tokens

azure-ai-translation-text-py

Azure AI Text Translation SDK for real-time text translation, transliteration, language detection, and dictionary lookup. Use for translating text content in applications. Triggers: "text translation", "translator", "translate text", "transliterate", "TextTranslationClient".

microsoft/skills · 60 tokens

harden

Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready. Use when the user asks to harden, make production-ready, handle edge cases, add error states, or fix overflow and i18n issues.

fengshao1227/ccg-workflow · 62 tokens

seedance-vocab-ja

This skill should be used when the user asks for Japanese Seedance 2.0 prompt wording, Japanese cinematic vocabulary, or translation of camera, lighting, action, VFX, audio, and production terms into Japanese.

Emily2040/seedance-2.0 · 50 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens

i18n-helper

A helper for adding internationalization, which lets software show different languages and regional text. It finds user-visible text written directly in code and moves it into language files.

laolaoshiren/claude-code-skills-zh · 33 tokens