lean-reader

lean-reader is an agent for Claude Code from laurigates/claude-plugins. It costs 37 tokens per session (759 once invoked), scanned A, original, MIT.

A small, read-only workflow agent for extracting, classifying, or summarising named files from a self-contained brief. It starts without the project's usual instructions or tools, so the brief must specify the files and expected output.

In plain words
What is it for?
Use it to fan out independent file-reading jobs, quote source text, classify items using an allowed schema, or return structured summaries for a larger workflow.
Why use it?
Its limited context and permissions make it suitable for mechanical tasks without exposing unrelated project information. It also reports missing or unreadable files instead of filling gaps with guesses.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; mentions subagents.

Part of the agents-plugin plugin — 1 skill, 13 agents shipped together

Good fit Use it to fan out independent file-reading jobs, quote source text, classify items using an allowed schema, or return structured summaries for a larger workflow.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/laurigates/claude-plugins/lean-reader
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.

Clone the repo
git clone --depth 1 https://github.com/laurigates/claude-plugins

Made for: Claude Code.

Or install agents-plugin, the plugin that ships this one along with the rest of its 1 skill, 13 agents.

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 lean-reader

README.md
[![agentmods](https://agentmods.dev/badge/agents/laurigates/claude-plugins/lean-reader/github.svg)](https://agentmods.dev/agents/laurigates/claude-plugins/lean-reader)
Your own site
<a href="https://agentmods.dev/agents/laurigates/claude-plugins/lean-reader"><img src="https://agentmods.dev/badge/agents/laurigates/claude-plugins/lean-reader/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 lean-reader

Your own site · 80×15
<a href="https://agentmods.dev/agents/laurigates/claude-plugins/lean-reader"><img src="https://agentmods.dev/badge/agents/laurigates/claude-plugins/lean-reader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 759 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.00037 $0.00759
Opus 5.5 $0.00015 $0.00304
Sonnet 5.5 $0.00007 $0.00152
Haiku 4.5 $0.00004 $0.00076

Measured 1mo ago against content hash 345392d5ff0f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

lean-reader 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 1mo 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.

agents-plugin/agents/lean-reader.md · 52 lines

How it starts

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

Lean Reader

A cheap, read-only reader. It extracts, classifies or summarises the files named in its brief, and returns exactly the shape the brief asks for. It starts with no CLAUDE.md, no rules, no skill listing and no MCP tools: its first request is about 3k tokens against about 124k for a default subagent. That keeps it under Haiku 5.5's 100k price step (.claude/rules/agent-development.md § Lean subagents).

Everything comes from the brief

You were started without the project's instructions. The brief is the whole job: the files to read, the rubric or schema, and any rule that applies. When the brief leaves something out, do not fill the gap from general knowledge. Say what is missing in your output, and mark that item unresolved.

  • Extract verbatim when the brief asks for it. Quote the source text exactly and do not paraphrase it.
  • Classify only into the values the brief or schema allows. When nothing fits, use the escape value the brief provides (unroutable, unknown), or say that nothing fits.
  • Report only what you read. If a file is missing or unreadable, say so for that item rather than guessing its content.
  • Return a structured result when a schema is given, and nothing else.

Tool Selection

You have Read, Grep and Glob only, so there is no shell.

Need Use
List files by pattern Glob(pattern="docs/**/*.md")
Find text across files Grep(pattern="...", path="...")
Read a file, or part of one Read — use offset/limit to page a long file

Read only the files the brief names, or those its pattern matches. Each extra file adds to the prompt every later request carries.

Turn Budget

maxTurns: 30 ends the run when it is spent, and a run that ends mid-task returns no report at all (issue #3152). Count your turns (a turn is one response of yours, however many tools it calls). Once about 80% are used (about 24 of 30), stop reading and deliver the report in the shape the brief asks for, with each item you did not reach marked unresolved rather than returning nothing.

Read the full file on GitHub · 52 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. 1mo ago Changed · +6 lines 345392d5ff0f
  2. 1mo ago First seen · 46 lines · 37 tokens per session scan A 5d0a605ce615

Subscribe to this mod's changes

lean-reader is an agent published in the GitHub repository laurigates/claude-plugins (60 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 759 once invoked, about $0.0001 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-14.

Related

lean-reader compared with agents from other repositories

lean-reader next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lean-readerlaurigates/claude-pluginsAgent60todayMITA37Claude Code
advisorngocsangyem/MeowKitAgent183d agoMITA91Claude Code
jira-jsmngocsangyem/MeowKitAgent183d agoMITA25Claude Code
comment-reviewermelodic-software/claude-code-pluginsAgent34todayMITA89Claude Code
dev-tooling-runnershopwareLabs/ai-coding-toolsAgent485d agoMITB141Claude Code
securityngocsangyem/MeowKitAgent183d agoMITB79Claude Code
therapistjimmc414/claude-code-plugin-marketplaceAgent42d agoMITB50Claude Code