RichFormat

RichFormat is a skill for Claude Code, Codex from danielmiessler/LifeOS. It costs 164 tokens per session (3,101 once invoked), scanned A, original, MIT.

A terminal display add-on that changes assistant replies into visual forms such as flow diagrams, charts, trees, timelines, colored labels, callouts, and diffs. The stored reply text remains unchanged.

In plain words
What is it for?
It helps present processes, metrics, file trees, timelines, code differences, and verification results in a more readable terminal layout.
Why use it?
Long terminal replies and code changes can be difficult to scan as plain text. Visual formatting makes structure, comparisons, and warnings easier to spot.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit It helps present processes, metrics, file trees, timelines, code differences, and verification results in a more readable terminal layout.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/danielmiessler/lifeos/richformat
About the project

LifeOS is an AI-assisted personal operating system that records a person’s goals, values, context, and current situation to help move them toward a desired future state. It supports work such as building applications, starting businesses, and creative projects. Its catalogue entries extend the system through skills, hooks, agents, and commands.

danielmiessler/LifeOS · 19,616 stars · on GitHub · ourlifeos.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add danielmiessler/LifeOS --skill richformat
Clone the repo
git clone --depth 1 https://github.com/danielmiessler/LifeOS

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for RichFormat

README.md
[![agentmods](https://agentmods.dev/badge/skills/danielmiessler/lifeos/richformat/github.svg)](https://agentmods.dev/skills/danielmiessler/lifeos/richformat)
Your own site
<a href="https://agentmods.dev/skills/danielmiessler/lifeos/richformat"><img src="https://agentmods.dev/badge/skills/danielmiessler/lifeos/richformat/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for RichFormat

Your own site · 80×15
<a href="https://agentmods.dev/skills/danielmiessler/lifeos/richformat"><img src="https://agentmods.dev/badge/skills/danielmiessler/lifeos/richformat.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 164 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,101 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00164 $0.03101
Opus 5.5 $0.00066 $0.01240
Sonnet 5.5 $0.00033 $0.00620
Haiku 4.5 $0.00016 $0.00310

Measured today against content hash 831dccdef029, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

RichFormat scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

The scan reads SKILL.md. This mod also ships 14 executable files (hooks/banner.ts, hooks/charts.ts, hooks/chips.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

LifeOS/install/skills/RichFormat/SKILL.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.compose adds one section to the system prompt that teaches the drawable conventions, in interactive terminal sessions only (Anti-criteria).
  • classic.MessageDisplay receives 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 flow fence as boxed nodes, a diff fence 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.

Anti-criteria

  • The mod never hooks any event besides prompt.compose and classic.MessageDisplay; no ui.render hook on AssistantMessage comes back, even one that passes the answer straight through.
  • A finished answer is never repainted; this mod shapes first draws only.
  • The prompt section is never added outside an interactive terminal session, so iMessage bridges, -p runs, teammates and SDK sessions never learn a convention they cannot draw.
  • A list is never split between two renderers: a 💡 line inside a list or table, a ✓ bullet outside VERIFY, a VERIFY run with any unmarked or nested bullet, and anything inside another code fence stay plain.
  • A double-printed answer is never fixed by turning the statusline off.

Read the full file on GitHub · 124 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 124 lines · 164 tokens per session scan A 831dccdef029

Subscribe to this mod's changes

RichFormat is a skill published in the GitHub repository danielmiessler/LifeOS (19,616 stars, last pushed today), licensed MIT. It adds 164 tokens to every session and 3,101 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-28.

Related

Other skills, from other repositories

artifact-design

Designing and building any user-facing surface: a web page, landing page, dashboard, report, HTML document, email, or a component inside an existing app. Use when asked to build, style, redesign, or beautify UI, when writing HTML/CSS or a React/Vue/Svelte component that a person will look at, and when a generated page…

Zfinix/aster · 0 tokens

figma-to-coded-html

Convert Figma designs into self-contained, shareable single-file HTML with all UI elements coded in HTML/CSS/SVG and only actual photographs embedded as inline base64. Use this skill whenever the user asks to convert a Figma file/URL to HTML, export Figma designs as code, create HTML from Figma, turn a Figma mockup…

agnt-gg/agnt · 224 tokens

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI).…

agnt-gg/agnt · 77 tokens

design-html

Design finalization: generates production-quality Pretext-native HTML/CSS. Works with approved mockups from /design-shotgun, CEO plans from /plan-ceo-review, design review context from /plan-design-review, or from scratch with a user description. Text actually reflows, heights are computed, layouts are dynamic. 30KB…

Global-mindee/WAY · 166 tokens

design-system

A visual guide for designing websites, landing pages, and interface components with consistent colors, fonts, layouts, buttons, cards, and forms. It includes guidance for tools such as shadcn/ui and Tailwind CSS.

Global-mindee/WAY · 97 tokens

visual-verdict

A strict comparison method for judging a generated user-interface screenshot against one or more reference images. It returns a score, a pass or revision decision, identified differences, and suggested changes.

Global-mindee/WAY · 69 tokens