
Principle minimize reader load
Reduces how much a reader must trace and hold in mind when reviewing code
Principle minimize reader load is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 5.1K
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Principle minimize reader load
This skill gives the agent a short set of rules for judging how hard code is to follow. It splits reader load into two axes: the number of layers a reader must trace to get from a question to its answer, and the amount of hidden or mutable state they must keep in their head.
When reviewing or shaping code, the agent looks for wrappers with a single caller, adapters without a second implementation and pass-through methods, and suggests inlining them. It also favors returning values over mutating them, locals over fields, and narrower state scope over module-level or global state, and recommends deriving values rather than keeping copies in sync. Invariants should be stated once at the boundary instead of repeated in every consumer.
The skill ends with a practical check: can a new reader say where a value comes from and what can change it within about 30 seconds. If not, the agent is guided to cut layers or cut state. It is written for code review and design discussions and needs no scripts, external tools or inputs beyond the code under discussion.
When your agent uses it
Apply when reviewing or shaping code that's hard to trace. Count layers between question and answer, and hidden state in the reader's head; collapse one-caller wrappers and shrink mutable scope.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (1 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the pstack plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add michael-denyer/pstack-claude
/plugin install pstack@pstack-claudeOr copy only this skill to ~/.claude/skills/principle-minimize-reader-load:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/principle-minimize-reader-load &&
cp -R "$tmp/plugins/pstack/skills/principle-minimize-reader-load" ~/.claude/skills/principle-minimize-reader-load &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/principle-minimize-reader-load inside it instead.
Copy the skill folder to ~/.agents/skills/principle-minimize-reader-load to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/principle-minimize-reader-load &&
cp -R "$tmp/plugins/pstack/skills/principle-minimize-reader-load" ~/.agents/skills/principle-minimize-reader-load &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/principle-minimize-reader-load inside it instead.
Copy the skill folder to ~/.cursor/skills/principle-minimize-reader-load to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/principle-minimize-reader-load &&
cp -R "$tmp/plugins/pstack/skills/principle-minimize-reader-load" ~/.cursor/skills/principle-minimize-reader-load &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/principle-minimize-reader-load inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/michael-denyer/pstack-claude.git --path plugins/pstack/skills/principle-minimize-reader-loadOr copy the folder to ~/.gemini/skills/principle-minimize-reader-load yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/principle-minimize-reader-load:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/principle-minimize-reader-load &&
cp -R "$tmp/plugins/pstack/skills/principle-minimize-reader-load" ~/.copilot/skills/principle-minimize-reader-load &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/principle-minimize-reader-load inside it instead.
Get the folder:
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.gitThen copy pstack-claude/plugins/pstack/skills/principle-minimize-reader-load into your agent's skills folder as principle-minimize-reader-load. Agents that support SKILL.md read one folder per skill.
What it does
- Layer collapsing guidance
- Identifies single-caller wrappers, pass-through methods and single-implementation adapters that can be inlined.
- State scope reduction
- Favors returns over mutations and locals over fields, fields over module state, and module state over globals.
- Derive instead of sync
- Recommends computing values from a source rather than keeping duplicate state in step.
- Boundary invariant placement
- Encourages stating an invariant once at the boundary rather than in every consumer.
- Thirty-second readability test
- Applies a quick check of whether a reader can find where a value comes from and what changes it.
Good for
- Review this module and flag wrappers that only forward calls to one function
- Reduce mutable state in this class so values are returned instead of modified
- Check whether a new reader can trace where this config value comes from
- Simplify this call chain by inlining layers that add no behavior
- Restructure shared state so invariants are checked at one entry point
Principle minimize reader load FAQ
When does Principle minimize reader load trigger?
It is meant to apply when reviewing or shaping code that is hard to trace, according to its description.
Does Principle minimize reader load need any scripts or tools?
No scripts are included and the skill does not set any allowed tools.
What does Principle minimize reader load change in the code?
It gives the agent guidance for review and design. It describes collapsing layers and narrowing state scope; it does not list any automated edits.
How do I install Principle minimize reader load in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/principle-minimize-reader-load to use it in all your projects, or to .claude/skills/principle-minimize-reader-load in one project. Or install the pstack plugin, which includes it: /plugin marketplace add michael-denyer/pstack-claude, then /plugin install pstack@pstack-claude.
Does Principle minimize reader load run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Principle minimize reader load?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Principle minimize reader load?
The closest alternatives to Principle minimize reader load are Code simplifier, Principle laziness protocol, Readable code, Principle subtract before you add and Thermo nuclear code quality review.
Where this comes from
- Description: from the skill's own SKILL.md.
More from michael-denyer/pstack-claude

Makes the agent read pstack's poteto-mode skill first and follow its routing
- Open source
- 5.1K GitHub stars
- Developer tools

Has the agent restate your goals and the problem you're solving in its own words
- Open source
- 5.1K GitHub stars
- Productivity

Prototype 2-3 competing designs and compare them before committing to one
- Open source
- 5.1K GitHub stars
- Developer tools

Sketches types, signatures and module layout before the agent writes code
- Open source
- 5.1K GitHub stars
- Developer tools

Runs parallel candidate attempts at a task, then merges the best parts into one artifact
- Open source
- 5.1K GitHub stars
- Developer tools

Drafts a personal working-style skill from your past agent conversations
- Open source
- 5.1K GitHub stars
- Developer tools



