whitepaper-density — Claude Code subagent: what it does
whitepaper-density — a subagent that calculates the percentage of useful content in a technical document and identifies empty rhetoric, repetition, and sections without facts.
CC-BY-SA-4.0 ★ 6,529 updated 2026-10-22
.claude/agents/whitepaper-density.mdWhat whitepaper-density does
whitepaper-density reads a document file and evaluates each section: how much of it consists of concrete examples, numbers, and patterns versus introductory phrases, transitions, and general claims without evidence. The subagent returns a density percentage for each section and an overall score for the entire document.
It uses the Read and Glob tools internally. The subagent is triggered on .qmd files but works with any text format. The model is sonnet.
The output is a list of sections with their fluff percentage and the top three candidates for compression. Useful before publishing technical writing where every paragraph must carry weight.
What it helps with
- find empty paragraphs and meaningless transitions in a technical document
- calculate the percentage of useful content by section in a whitepaper
- identify repetition and generic claims without examples before publication
- get a list of sections that need compression or rewriting
Example prompts for the agent
- Analyze the density of
whitepapers/fr/02-personnalisation.qmd - Find fluff in the document
docs/technical-overview.md - Show the fluff percentage by section in
whitepaper-draft.qmd
How to install whitepaper-density
Manually: put the files in place
.claude/agents/whitepaper-density.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/whitepaper-density.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/whitepaper-density.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about whitepaper-density
How do I install whitepaper-density in Claude Code?
Place the subagent file in .claude/agents/whitepaper-density.md and it will become available for invocation.
What does whitepaper-density do?
The subagent reads a technical document and returns the percentage of useful content per section, marking empty rhetoric, repetition, and generic phrases without concrete detail.
Which file formats does whitepaper-density support?
The subagent works with any text file; the documentation examples show .qmd, but it handles .md, .txt, and other document formats.