VajraSarpa

Rupa — Documentation skill for Claude Code

Documentation community

Renderer layer for Claude Code: Markdown in, themed HTML/PDF out, with verification.

How to install Rupa

This entry records only its repository, not the path inside it, so there is no exact command to give. Open VajraSarpa/rupa and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Rupa does

Renderer layer for Claude Code: Markdown in, themed HTML/PDF out, with verification.

Alternatives in Documentation

  • PDF — Extract text, create PDFs, merge/split documents, and handle forms 94.1k ★
  • Ars Format Convert — ARS academic-paper format-convert mode — convert to LaTeX / DOCX / PDF / Markdown 4.5k ★
  • Docs Serve — Build the HTML documentation and then serve it locally so it can be viewed in a browser 1.1k ★

README

Rupa

[![ci](https://github.com/VajraSarpa/rupa/actions/workflows/ci.yml/badge.svg)](https://github.com/VajraSarpa/rupa/actions/workflows/ci.yml)

**Claude writes the content. Rupa owns the form.**

Rupa is a command-line renderer and a Claude Code plugin. Claude writes plain Markdown; Rupa turns it into a themed HTML page or PDF, checks the PDF with code, and shows Claude page images only when something looks wrong. *Rūpa* is Sanskrit for "form".

**Read the story:** [the case study](docs/dist/Rupa-Case-Study.pdf) covers why Rupa exists, how it was measured, and what the measurements forced me to fix.

Results

Claude Code with the plugin, against Claude Code on its own, on six document tasks Rupa was never tuned on (Rupa v0.1.3, Claude Opus 5.5, five runs per arm, medians, API list prices, 19–20 October 2026; hypotheses and pass rules registered before the runs):

Task Claude Code alone With Rupa Time alone Time with Rupa
One-page CV $0.21 $0.14 42 s 24 s
Five-page lab report from data and a chart $0.77 $0.33 185 s 76 s
Ten-page handbook $0.51 $0.39 140 s 106 s
Two-page postmortem from notes $0.30 $0.16 65 s 27 s
HTML explainer $0.22 $0.18 50 s 36 s
Two-page report, then a revision $1.05 $0.44 142 s 64 s
  • 42% cheaper (0.58× the cost, 90% interval 0.55–0.63), and cheaper on all six tasks. Against Claude Code with a three-line hint on how to make a PDF, 38% cheaper.
  • 71% less context over a working session. Five documents in one session added 16,200 tokens to the conversation with Rupa and 55,300 without, and cost $1.88 against $4.52 (v0.1.2, three runs per arm; every Rupa session stayed under 17,600, every baseline one over 50,400). Per document, Rupa adds about half the context.
  • Fewer API calls. The same session took 13 model calls against 27. Per document it's 0.78× overall: half on the layout-heavy tasks (lab report 7 ag