# Principle minimize reader load

> Principle minimize reader load is an open-source agent skill for developer tools. Reduces how much a reader must trace and hold in mind when reviewing code. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/michael-denyer/pstack-claude/tree/main/plugins/pstack/skills/principle-minimize-reader-load
- **Repository:** https://github.com/michael-denyer/pstack-claude
- **GitHub stars:** 5,057
- **License:** MIT
- **Skill name:** principle-minimize-reader-load
- **Collection:** https://github.com/michael-denyer/pstack-claude
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/michael-denyer/pstack-claude/tree/HEAD/plugins/pstack/skills/principle-minimize-reader-load)
- [License: MIT](https://github.com/michael-denyer/pstack-claude/tree/HEAD/plugins/pstack/skills/principle-minimize-reader-load)

## Features

- **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

## Install

### Claude Code

This skill ships in the `pstack` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add michael-denyer/pstack-claude
/plugin install pstack@pstack-claude
```

Or copy only this skill to `~/.claude/skills/principle-minimize-reader-load`:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/principle-minimize-reader-load` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/principle-minimize-reader-load` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/michael-denyer/pstack-claude.git --path plugins/pstack/skills/principle-minimize-reader-load
```

Or copy the folder to `~/.gemini/skills/principle-minimize-reader-load` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/principle-minimize-reader-load`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git
```

Then 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.

## 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.

## Alternatives

- [Code simplifier](https://ai-powered.com/skills/code-simplifier): Code simplifier is an open-source agent skill for developer tools.
- [Principle laziness protocol](https://ai-powered.com/skills/principle-laziness-protocol): Principle laziness protocol is an open-source agent skill for developer tools.
- [Readable code](https://ai-powered.com/skills/readable-code): Readable code is an open-source agent skill for developer tools.
- [Principle subtract before you add](https://ai-powered.com/skills/principle-subtract-before-you-add): Principle subtract before you add is an open-source agent skill for developer tools.
- [Thermo nuclear code quality review](https://ai-powered.com/skills/thermo-nuclear-code-quality-review-michael-denyer): Thermo nuclear code quality review is an open-source agent skill for developer tools.
- [Principle foundational thinking](https://ai-powered.com/skills/principle-foundational-thinking): Principle foundational thinking is an open-source agent skill for developer tools.
- [Readable cpp](https://ai-powered.com/skills/readable-cpp): Readable cpp is an open-source agent skill for developer tools.
- [Principle test behavior not implementation](https://ai-powered.com/skills/principle-test-behavior-not-implementation): Principle test behavior not implementation is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/principle-minimize-reader-load
