RichFormat
Installation
SKILL.md
RichFormat
Contents: Ideal State · Anti-criteria · Intent Routing · What it draws · The LifeOS rule · Tool contracts · Data & Config · Gotchas · Examples
A function-hooks plugin that makes assistant replies faster to read in the terminal. Claude Code loads it from this folder in every interactive session. It hooks two events and nothing else:
prompt.composeadds one section to the system prompt that teaches the drawable conventions, in interactive terminal sessions only (Anti-criteria).classic.MessageDisplayreceives each batch of finished lines while an answer streams and returns the text the terminal shows in their place, with ANSI colour. That text is the answer's first and only copy. A drawable fence is held until it closes, then drawn whole (hooks/stream.ts).
Ideal State
- Every construct in What it draws that parses is drawn, never left as plain markdown: a
flowfence as boxed nodes, adifffence as numbered red and green lines, a fully marked VERIFY run as green and red marks, and a label line in its colour (the engine and pure-logic suites hold each). - The stored message never changes. The model, the transcript file and ctrl+o all see plain markdown.
- On any doubt the lines show as written: a fence that does not parse, a fence still open at the message's last flush, a thrown error, or the option switched off.
- Every answer prints exactly once, at any length, under the full statusline.