Borrowing it
Nothing to install: this file belongs to lightpaperorg/lightpaper. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/lightpaperorg/lightpaper/main/CLAUDE.mdgit clone --depth 1 https://github.com/lightpaperorg/lightpaperWrote 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.
[](https://agentmods.dev/instructions/lightpaperorg/lightpaper/claude-md)<a href="https://agentmods.dev/instructions/lightpaperorg/lightpaper/claude-md"><img src="https://agentmods.dev/badge/instructions/lightpaperorg/lightpaper/claude-md/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.
<a href="https://agentmods.dev/instructions/lightpaperorg/lightpaper/claude-md"><img src="https://agentmods.dev/badge/instructions/lightpaperorg/lightpaper/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.05450 | $0.05450 |
| Opus 5.5 | $0.02180 | $0.02180 |
| Sonnet 5.5 | $0.01090 | $0.01090 |
| Haiku 4.5 | $0.00545 | $0.00545 |
Grade A, and why
lightpaper CLAUDE.md 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 2mo ago.
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.
How it starts
The opening of the file, as written. The whole thing — 353 lines — stays where its author put it; the contents beside it link to each section on GitHub.
lightpaper.org — Claude Code Instructions
Architecture
FastAPI + async SQLAlchemy + PostgreSQL 16. Single-process async app deployed on Google Cloud Run.
Key Files
| File | Purpose |
|---|---|
app/main.py |
FastAPI app, middleware (CORS, security headers, body size, rate limiting) |
app/config.py |
Pydantic settings from env vars |
app/auth.py |
API key + email OTP + LinkedIn OAuth authentication |
app/models.py |
SQLAlchemy ORM models (18 tables) |
app/schemas.py |
Pydantic request/response schemas with size limits |
app/rate_limit.py |
slowapi limiter singleton |
app/utils.py |
get_client_ip() for Cloud Run proxy |
app/routes/publish.py |
POST /v1/publish — the core endpoint |
app/routes/search.py |
GET /v1/search — full-text + gravity ranking |
app/routes/documents.py |
CRUD /v1/documents/{id}, notifies search engines on update/delete |
app/routes/books.py |
Book publishing: POST /v1/books, chapter management |
app/routes/write.py |
Writing IDE API: sessions, chat, files, publish |
app/routes/ide.py |
Serves the React SPA at /write |
app/services/wave_engine.py |
Wave Method system prompts per wave |
app/ide/ |
React + Vite frontend for the Writing IDE |
app/routes/reading.py |
GET /{slug}, GET /books/{slug} — content negotiation (HTML/JSON) |
app/routes/discovery.py |
robots.txt, sitemap.xml, feed.xml, llms.txt, OG images, IndexNow + Google ping |
app/routes/auth.py |
Email OTP + LinkedIn OAuth login/signup endpoints |
app/routes/linkedin.py |
LinkedIn OAuth verification for existing accounts |
app/routes/verification.py |
Domain DNS, ORCID verification, gravity status |
app/routes/credentials.py |
Agent-driven credential verification |
app/routes/narration.py |
Audiobook narration: estimate, create, status, callback |
app/routes/print.py |
Print PDF export: preview, interior, cover, certificate |
app/services/narration.py |
ElevenLabs TTS, markdown→plaintext, GCS upload |
app/services/print_pdf.py |
WeasyPrint interior PDF + certificate generation |
app/services/print_cover.py |
Pillow cover PDF generation (300 DPI) |
app/services/licenses.py |
License info map, copyright notice generator |
app/services/renderer.py |
markdown-it-py + nh3 HTML sanitization |
app/services/quality.py |
Deterministic quality scoring (0-100) |
app/services/gravity.py |
Non-hierarchical author gravity (0-5) |
app/services/slug.py |
URL slug generation + reserved slug list |
app/services/og_image.py |
Pillow-based OG image generation |
app/services/api_keys.py |
API key generation utility |
app/services/email.py |
Resend API email delivery for OTP |
mcp/server.py |
MCP server with 25 tools + 3 prompts (stdio transport) |
app/routes/mcp_http.py |
Remote MCP endpoint (Streamable HTTP transport at /mcp) |
lightpaper_mcp/ |
Standalone PyPI package for MCP server distribution |
AGENTS.md |
OpenAI AGENTS.md standard — project-level agent instructions |
init.sql |
Database schema (13 tables) |
migrations/*.sql |
Idempotent SQL migrations (run at startup) |
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.
- 2mo ago First seen · 353 lines · 5,450 tokens per session scan A 71917725e418
lightpaper CLAUDE.md is an instructions file published in the GitHub repository lightpaperorg/lightpaper (0 stars, last pushed 4mo ago), licensed MIT. It adds 5,450 tokens to every session, about $0.0218 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-08-31.
lightpaper CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lightpaper CLAUDE.mdlightpaperorg/lightpaper | Instructions file | 0 | 4mo ago | MIT | A | 5,450 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 275k | 3d ago | MIT | A | 4,313 | Codex, OpenCode |