Lathe: A CLI that turns LLMs into hands-on tutorial generators instead of code-writers
Lathe is a Go-based CLI and skill bundle that flips the usual LLM workflow on its head: instead of having Claude Code, Cursor, or Codex write code for you, it prompts them to generate multi-part technical tutorials you then work through by hand. A local web UI serves the generated content, with built-in affordances to ask clarifying questions, request verification, or extend a tutorial with additional parts—each action surfacing the exact prompt to hand back to the LLM.
The project ships as a self-contained binary installable via Homebrew, curl-pipe-sh, or go install, with skills that drop into .claude/skills, .cursor/commands, or .agents/skills depending on the target agent. Every tutorial records its sources, the model used, and the prompt that shaped its voice. Author Deven Jarvis positions it as a tool for bootstrapping in obscure or nascent domains—he cites writing a 3D slicer and learning embedded Zig as motivating cases—where human-written tutorials simply don’t exist yet.
Jarvis is candid about the tradeoffs: machine-generated tutorials lack the personality and architectural judgment of human-written ones, and he recommends pairing Lathe with the largest reasoning models available. He argues hallucination risk is muted because the learner is actively typing code and naturally questioning oddities, but still advises preferring human tutorials when they exist. The broader provocation is using LLMs as a teaching catalyst rather than a thinking substitute.
Read the full article
Continue reading at Hacker News →This is an AI-generated summary. Read the original for the full story.