lathe: Skill for Claude Code

.claude/skills/lathe-tag/SKILL.md

lathe-tag is a skill for Claude Code from devenjarvis/lathe. It costs 72 tokens per session (485 once invoked), scanned A, original, MIT.

A tool for choosing and saving searchable tags for a stored Lathe tutorial. Tags are short labels such as a programming language, subject area, or technique that help group and find tutorials.

In plain words
What is it for?
Use it to read a tutorial, assign two to five reusable lowercase tags, or add and remove tags from an existing tutorial.
Why use it?
It turns an otherwise hard-to-find tutorial into something that can be located through search and tag filters. It also supports replacing the full tag set or changing individual tags.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is devenjarvis/lathe's own configuration. It tells Claude Code how to work on lathe 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 lathe configures →

About the project

Lathe is a tool that uses language models to create hands-on, multi-part technical tutorials and lets people study them in a local interface. It is intended for learners who want to follow tutorials themselves, while coding agents can generate, verify, extend, and manage those tutorials through its skills and command-line tool.

devenjarvis/lathe · 1,714 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to devenjarvis/lathe. 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/devenjarvis/lathe/main/.claude/skills/lathe-tag/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/devenjarvis/lathe

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 lathe-tag

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/devenjarvis/lathe/lathe-tag"><img src="https://agentmods.dev/badge/skills/devenjarvis/lathe/lathe-tag.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 485 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00072 $0.00485
Opus 5.5 $0.00029 $0.00194
Sonnet 5.5 $0.00014 $0.00097
Haiku 4.5 $0.00007 $0.00049

Measured 2mo ago against content hash 945ac7512f92, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

lathe-tag 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 2mo 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/lathe-tag/SKILL.md · 38 lines

What it actually says

Lathe — Tag a Tutorial

Choose the tags that make a stored tutorial findable in lathe serve's search and tag filters. Triggered by /lathe-tag <slug>.

Protocol

  1. Read the tutorial at ~/.lathe/tutorials/<slug>/ to understand what it actually teaches.

  2. Pick 2–5 lowercase, reusable tags. Same vocabulary guidance as the lathe skill's tag step: cover, where they apply —

    • the language/runtime — zig, rust, go;
    • the domain — audio, compilers, databases;
    • the core technique — parsing, dsp, concurrency.

    Prefer short, reusable tags that will group naturally with other tutorials over hyper-specific one-offs. Don't pre-lowercase or de-dupe defensively — store.NormalizeTags is the one place that canonicalizes (trim, lowercase, de-dupe), so just pass sensible tags and let it normalize.

  3. Persist them. To set the whole tag list (the usual case — choosing or replacing tags):

    lathe tag <slug> --set zig --set audio --set dsp
    

    For incremental edits to an existing set, use --add / --remove instead:

    lathe tag <slug> --add embedded
    lathe tag <slug> --remove misc
    

    --set replaces the entire list; --add/--remove edit it in place. All three are repeatable and accept comma-separated values.

  4. Report the resulting tag set to the user (the command prints it).

Boundaries

  • Only touches tags, and only via lathe tag. Never edit metadata.json directly.
  • No generation, verification, or extension — just tags.
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. 2mo ago First seen · 38 lines · 72 tokens per session scan A 945ac7512f92

Subscribe to this mod's changes

lathe-tag is a skill published in the GitHub repository devenjarvis/lathe (1,714 stars, last pushed 19d ago), licensed MIT. It adds 72 tokens to every session and 485 once invoked, about $0.0003 per session on Opus 5.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

lathe-tag compared with skills from other repositories

lathe-tag next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lathe-tagdevenjarvis/latheSkill1.7k19d agoMITA72Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code