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
