principle-minimize-reader-load

principle-minimize-reader-load is a skill for Claude Code from michael-denyer/pstack-claude. It costs 44 tokens per session (415 once invoked), scanned A, original, MIT.

A code-reading principle for making difficult code easier to follow. It focuses on reducing the number of layers a reader must trace and the amount of hidden state they must remember.

In plain words
What is it for?
Use it when reviewing or reshaping code that is hard to understand. It guides decisions about collapsing unnecessary indirection and narrowing mutable scope.
Why use it?
It helps identify wrappers, adapters, and mutable state that add mental effort without clarifying the code. The goal is to make the path from a question to its answer shorter.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the pstack plugin — 69 skills, 4 agents, 1 hook shipped together

Good fit Use it when reviewing or reshaping code that is hard to understand. It guides decisions about collapsing unnecessary indirection and narrowing mutable scope.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/michael-denyer/pstack-claude/principle-minimize-reader-load
About the project

pstack-claude is a set of opinionated coding-agent skills and workflows ported from Cursor to Claude Code, Codex, Pi, and other agent harnesses. It guides agents toward concise, simple, and verified code by routing goals to suitable workflows and supporting subagent tools. The catalogue entries are the project's skills, agents, hook, and plugin implementations for these agent environments.

michael-denyer/pstack-claude · 3,246 stars · on GitHub

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 michael-denyer/pstack-claude --skill principle-minimize-reader-load
Clone the repo
git clone --depth 1 https://github.com/michael-denyer/pstack-claude

Made for: Claude Code.

Or install pstack, the plugin that ships this one along with the rest of its 69 skills, 4 agents, 1 hook.

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 principle-minimize-reader-load

README.md
[![agentmods](https://agentmods.dev/badge/skills/michael-denyer/pstack-claude/principle-minimize-reader-load/github.svg)](https://agentmods.dev/skills/michael-denyer/pstack-claude/principle-minimize-reader-load)
Your own site
<a href="https://agentmods.dev/skills/michael-denyer/pstack-claude/principle-minimize-reader-load"><img src="https://agentmods.dev/badge/skills/michael-denyer/pstack-claude/principle-minimize-reader-load/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 principle-minimize-reader-load

Your own site · 80×15
<a href="https://agentmods.dev/skills/michael-denyer/pstack-claude/principle-minimize-reader-load"><img src="https://agentmods.dev/badge/skills/michael-denyer/pstack-claude/principle-minimize-reader-load.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 415 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. Third-party audits
  • Socket pass 13 Oct 2026
  • Snyk pass 13 Oct 2026
How audits are shown
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.00044 $0.00415
Opus 5.5 $0.00018 $0.00166
Sonnet 5.5 $0.00009 $0.00083
Haiku 4.5 $0.00004 $0.00042

Measured 9d ago against content hash d10f8f6f185a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

principle-minimize-reader-load 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 9d 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.

Origin

Copies of this mod

8 near-identical copies found in the catalogue:

plugins/pstack/skills/principle-minimize-reader-load/SKILL.md · 19 lines

What it actually says

Minimize Reader Load

Maintainability is the work a reader must do to understand code. Track two axes: layers to trace (indirections between the question and the answer) and state to hold (hidden or mutable context the reader must keep in their head). LOC, cyclomatic complexity, and "clean architecture" are proxies. Reader load is the thing that matters. The two axes are independent. A flat file with 50 globals can be as hard to reason about as a 6-layer adapter stack. Guard both. This is the human analog of Guard the Context Window. Working memory is finite for readers too.

  • Collapse layers that cost more than they save: wrappers with one caller, adapters with no second implementation, speculative indirection that was never needed. Inline them.
  • Make adjacent layers change the abstraction. A layer that repeats the same methods and arguments adds reader load without compression. Collapse pass-through layers.
  • Demand interface compression. A broad interface that hides little complexity makes readers learn both the surface and the implementation. Prefer boundaries that hide meaningful decisions.
  • Shrink state scope: prefer pure functions (returns over mutations), locals over fields, fields over module state, and module state over globals. Derive instead of sync.
  • Name the invariant at the boundary, not in every consumer, so the reader learns it once.
  • Before adding a layer or a piece of state, ask: does it reduce reader load elsewhere by at least as much?

The test: can a new reader answer "where does X come from?" and "what can change X?" in under 30 seconds? If not, cut layers or cut state.

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. 9d ago Changed · -5 lines d10f8f6f185a
  2. 28d ago Changed 772bd55686c2
  3. 1mo ago Changed 002a973547e2
  4. 1mo ago First seen · 24 lines · 44 tokens per session scan A 0a3a24ec27c9

Subscribe to this mod's changes

principle-minimize-reader-load is a skill published in the GitHub repository michael-denyer/pstack-claude (3,246 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 415 once invoked, about $0.0002 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-30.