explain-as
Reviewed
at commit 0e9b4ce
Sends data to ElevenLabs, only for video narration when you set ELEVENLABS_API_KEY
/explain turns answers into plain ASD-STE100 prose, a Mermaid diagram or an HTML page shown as a zoomable picture in a pane (screenshot by a local headless…
0 upvotes
Log in to upvote or save- Made by
- Sumit Paul
- Pinned commit
-
0e9b4ceb169d7b825ae70ef5e4d763858cfde745 - What we checked
-
Adds /explain, which makes Claude answer as simple technical English, a Mermaid diagram, an HTML page or a narrated video (now with a choice of 3B1B or Playful Flat look), and shows the result in a pane or opens it in Chrome. It saves files in .explain/ in your project and runs a headless browser, ffmpeg and open commands. The video format can send narration text to ElevenLabs if you set an API key.
Review details
Static review of the source at the pinned commit; not run. Delta review of the changes since 0620e86; the rest carries over from the review at that commit. The delta adds a theme setting: a THEMES table of two fixed look descriptions, a /explain theme <3b1b|playful-flat> subcommand, a theme button in the picker shown when the format is video, and a prompt.submit change that appends the chosen look text to the video rule as extra context. The look text is static prompt prose with no commands, URLs or tool permissions, and the theme value is stored in a plugin atom. The video rule itself only loses its 3Blue1Brown wording. Registers session.start (registers /explain and its own 'show' tool), command.run, prompt.submit (appends a formatting rule to the prompt context), tool.call for Write, Edit and the show tool, and ui.render for a pane and a picker above the prompt. The show tool writes the source Claude passes to .explain/<sanitized-name>.mmd/.html/.video.html with $.fs.write, bypassing the Write permission prompt, then runs headless Chrome, Chromium or Brave with --screenshot for up to 60 s, runs sips and ffmpeg for image handling, osascript to reload matching Chrome tabs, and opens video pages with open or xdg-open. Pages are Claude-written HTML with JavaScript, run in that browser with network access. Mermaid pages import mermaid@11 from cdn.jsdelivr.net at render time. The video format tells Claude to use ELEVENLABS_API_KEY with curl only if set, never to print it. Edits or writes to .explain files by the normal tools also trigger rendering.
- What it uses
-
- Reads your prompts: yes
- Sees tool calls: yes
- Blocks or changes tool calls: yes
- Reads or writes files: yes
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: yes
- Stores data: yes
- Shows something on screen: yes
/explain: get answers as ASD-STE100 prose, a diagram, an HTML page, or a 3b1b-style video
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/explain-as/)