0xGondarxyz/claude-code-mods/tree/main/output-ladder
output-ladder
一个 Claude Code mod,会通过 ASD-STE100 文本、图表、HTML 页面或讲解视频四种形式重新解释模型的上一条回答,并在状态行中为每条回答评分 STE 风格。
关于这个 mod
output-ladder 通过斜杠命令(/ste、/diagram、/page、/video)或屏幕按钮,以四种格式重新解释模型的上一条回答;当回答包含 120 个以上的散文词时,按钮会出现。/ste 会将文本约 80% 改写为 ASD-STE100 风格(使用 full 时为 strict),/diagram 生成 100 列 ASCII 图,/page 生成带内嵌 SVG 的自包含 HTML 页面,/video 请求一个 3Blue1Brown 风格的讲解视频。每次回答后,状态行会显示根据句长、被动语态占比和词长占比计算的 STE 分数;代码块、标题和 URL 不计入,少于 40 个散文词的回答会保留先前分数。安装方式:/plugin marketplace add 0xGondarxyz/claude-code-mods,然后 /plugin install output-ladder@claude-code-mods;也可以 clone 后运行 claude --plugin-dir。MIT 许可。
安装
请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。
claude plugin marketplace add 0xGondarxyz/claude-code-mods claude plugin install output-ladder
原文 / README
output-ladder
A Claude Code mod that asks the model to re-explain its last answer as ASD-STE100 text, a diagram, an HTML page or an explainer video, and scores each answer for STE style in the status line.
Based on a post by Andrej Karpathy about making LLM output easier to understand (ASD-STE100 text, diagrams, HTML pages, explainer videos). Not affiliated with him.
Install
/plugin marketplace add 0xGondarxyz/claude-code-mods
/plugin install output-ladder@claude-code-mods
Or try it without installing:
git clone https://github.com/0xGondarxyz/claude-code-mods
claude --plugin-dir claude-code-mods/output-ladder
Mods are not sandboxed. They run with the same access as Claude Code. Read the source before you install any mod, including this one.
Commands
Each command sends a prompt about your last answer. Text you type after the command is added as Extra instruction: <text>.
| Command | What it asks for |
| --- | --- |
| /ste | The last answer rewritten about 80% of the way to ASD-STE100. /ste full asks for strict ASD-STE100. |
| /diagram | An ASCII diagram with boxes and arrows, 100 columns wide, plus at most 3 lines of notes. |
| /page | One self-contained HTML page with inline SVG. It is published if an Artifact or publish tool exists, otherwise saved to a file. |
| /video | A short explainer video in the style of 3Blue1Brown: a scene plan first, free or local tools, an MP4 at the end. |
Buttons
When an answer has 120 or more words of prose, four buttons appear above the prompt: STE, Diagram, Page, Video. Pressing one sends the same prompt as the command (without extra instruction) and hides the buttons. The buttons also hide when you send a new prompt.
STE score
After each answer the status line shows STE 82%. The score is 100 times a weighted mix of three shares:
- 60%: the share of sentences with 20 words or fewer.
- 25%: the share of sentences with no passive voice (a form of "to be" followed by a word ending in -ed or -en).
- 15%: the share of words that are 12 characters or shorter.
Code blocks, inline code, table rows, headings and URLs are left out. List items count as sentences. An answer with fewer than 40 prose words gets no score, and the status line keeps the previous one.
The score measures style only. The official ASD-STE100 dictionary and rules are not bundled, so it cannot tell whether a word is approved. The passive check is a simple pattern and has false positives and misses.
Tests
claude plugin test .
MIT
