{"slug": "show-hn-code-slowmo-understand-your-codebase-without-ever-reading-the-code", "title": "Show HN: Code-slowmo, understand your codebase without ever reading the code", "summary": "A developer publishing under the handle precious112 released code-slowmo, an agent skill that makes coding agents generate a self-contained HTML explainer page of a codebase instead of a wall of text, installable via `npx skills add precious112/code-slowmo` for Claude Code, Codex, Cursor and OpenCode. The skill has the agent read the real code, write page content as a small JSON file, and run `scripts/build.py` to check for structure and writing problems — steps over 40 words, code names with no plain explanation, filler words and passive voice — before building the page from a shared template. Each output combines a system map, a step-by-step timeline and a line-by-line run of the real code, requires Python 3.8 or newer, and needs no server or account to open.", "body_md": "**Understand code by watching it run in slow motion.**\n\n## code-slowmo-launch-film.mp4\n\n*This launch film was made with [demo-director](https://github.com/precious112/demo-director), a skill that plans and renders product demo videos from code.*\n\nAsk your coding agent how something works and you usually get a wall of text. code-slowmo is a skill that makes your agent build an interactive page instead:\n\n- **A system map.** It shows the main parts and which parts talk to each other. Click an area to see its parts, or follow a guided tour of one action.\n- **A step-by-step timeline.** It follows one action from start to end. Each arrow is one part telling another part something. A small mock of the screen and the data change at every step.\n- **A line-by-line run of the real code.** It shows the functions running, the values (yellow when they change), a log, and what you'd see on screen. A couple of steps ask you to guess what happens next before showing you.\n\nEvery sentence is short and plain. Every code name has a plain explanation you can hover. The skill includes a checker that refuses to build a page with jargon, overlong steps or unexplained code names.\n\nThe result is one HTML file. It opens in any browser and needs no server or account.\n\n**See examples** (download a file and open it in your browser):\n\n- [`examples/puck-drop.html`](https://github.com/precious112/code-slowmo/blob/main/examples/puck-drop.html) explains how the[Puck](https://github.com/puckeditor/puck) page editor handles a drag-and-drop, from the system map down to the one line that adds the block.\n- [`examples/puck-undo.html`](https://github.com/precious112/code-slowmo/blob/main/examples/puck-undo.html) explains how undo works in Puck. A fresh agent made it from one question, using only this skill.\n\n**Claude Code, Codex, Cursor and other agents that support skills**\n\n```\nnpx skills add precious112/code-slowmo\n```\n\nTo pick the agent yourself, add `-a`, for example `-a claude-code`.\n\n**Claude Code, as a plugin**\n\n```\n/plugin marketplace add precious112/code-slowmo\n/plugin install code-slowmo@code-slowmo\n```\n\n**OpenCode**\n\nInstall it for one project (run this in the project folder):\n\n```\nnpx skills add precious112/code-slowmo -a opencode\n```\n\nOr install it for every project:\n\n```\nnpx skills add precious112/code-slowmo -a opencode -g\n```\n\nOpenCode finds the skill on its own. Ask a question about your code, or type `/code-slowmo`. If your `opencode.json` limits skills with `permission.skill`, allow `code-slowmo` there.\n\nTo install without npx, copy `skills/code-slowmo/` to `.opencode/skills/code-slowmo/` in your project, or to `~/.config/opencode/skills/code-slowmo/` for every project.\n\n**By hand, for any agent:** copy `skills/code-slowmo/` into your agent's skills folder. For Claude Code that is `~/.claude/skills/`.\n\nYou need Python 3.8 or newer, which the agent uses to build the page.\n\nAsk a question about how code works, in your own words:\n\n- \"How does undo work in this editor? What happens when I press it?\"\n- \"Walk me through what happens when a user signs up.\"\n- \"I'm new to this repo. Give me the big picture.\"\n- \"What exactly does `reconcileChildren` do, line by line?\"\n\nThe agent reads the code, writes the page and saves it to `explainers/` in your project. You can also call the skill by name. In Claude Code, run `/code-slowmo`, or `/code-slowmo:code-slowmo` if you installed it as a plugin.\n\n1. The agent reads the real code first and notes the file and line behind each claim.\n2. It writes the page content as a small JSON file: the question, the parts, the steps and the explanations.\n3. `scripts/build.py` checks that file. It catches structure mistakes and writing problems, such as steps over 40 words, code names with no plain explanation, filler words and passive voice. Then it builds the page from one shared template.\n4. You get one self-contained HTML file. The JSON stays next to it, so you can ask for changes and rebuild.\n\nThe design follows research on learning from pictures and animation. Pages start paused, you control the pace, the layout never jumps around, and you're asked to predict before key moments. The principles and their sources are in [`skills/code-slowmo/references/design-principles.md`](https://github.com/precious112/code-slowmo/blob/main/skills/code-slowmo/references/design-principles.md).\n\n```\nskills/code-slowmo/\n├── SKILL.md                    the instructions the agent follows\n├── references/\n│   ├── writing.md              the plain-writing rules (the most important file)\n│   ├── page-format.md          every field of the page data\n│   ├── choosing-pictures.md    which picture answers which question\n│   └── design-principles.md    why the pages behave the way they do\n├── scripts/\n│   ├── build.py                checks the page data and builds the HTML\n│   └── check_text.py           the plain-writing checker\n└── assets/\n    ├── template.html           the page engine\n    └── examples/puck-drop.json a complete example page\n```\n\nMIT", "url": "https://wpnews.pro/news/show-hn-code-slowmo-understand-your-codebase-without-ever-reading-the-code", "canonical_source": "https://github.com/precious112/code-slowmo", "published_at": "2026-12-01 01:26:33+00:00", "updated_at": "2026-12-01 01:45:31.774220+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools"], "entities": ["code-slowmo", "precious112", "Claude Code", "Codex", "Cursor", "OpenCode", "Puck", "demo-director"], "also_reported_by": [], "takeaway": "code-slowmo's build.py rejects explainer pages with steps over 40 words, unexplained code names, filler words or passive voice, so the agent must produce plain-language, line-referenced explanations before the HTML is generated.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-code-slowmo-understand-your-codebase-without-ever-reading-the-code", "markdown": "https://wpnews.pro/news/show-hn-code-slowmo-understand-your-codebase-without-ever-reading-the-code.md", "text": "https://wpnews.pro/news/show-hn-code-slowmo-understand-your-codebase-without-ever-reading-the-code.txt", "jsonld": "https://wpnews.pro/news/show-hn-code-slowmo-understand-your-codebase-without-ever-reading-the-code.jsonld"}}