rove: Skill for Claude Code

.agents/skills/pstack/skills/principle-minimize-reader-load/SKILL.md

principle-minimize-reader-load is a skill for Claude Code, Codex from Sma1lboy/rove. It costs 44 tokens per session (450 once invoked), scanned A, a copy of principle-minimize-reader-load, MIT.

A design principle for statically typed code, where the compiler checks program structure before it runs.

In plain words
What is it for?
It helps design safer data models and function signatures, validate external input at boundaries, handle every variant, and avoid misleading type annotations.
Why use it?
It reduces runtime mistakes by representing invalid states, mismatched values, and unhandled cases so the compiler can catch them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is Sma1lboy/rove's own configuration. It tells Claude Code and Codex how to work on rove itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rove configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Sma1lboy/rove. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Sma1lboy/rove/main/.agents/skills/pstack/skills/principle-minimize-reader-load/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Sma1lboy/rove

Made for: Claude Code, Codex.

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/sma1lboy/rove/principle-minimize-reader-load.svg)](https://agentmods.dev/skills/sma1lboy/rove/principle-minimize-reader-load)
Your own site
<a href="https://agentmods.dev/skills/sma1lboy/rove/principle-minimize-reader-load"><img src="https://agentmods.dev/badge/skills/sma1lboy/rove/principle-minimize-reader-load.svg" alt="Measured on agentmods" 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 450 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 92% copy Near-identical to another mod 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.00450
Opus 5 $0.00022 $0.00225
Sonnet 5 $0.00009 $0.00090
Haiku 4.5 $0.00004 $0.00045

Measured 8d ago against content hash 2d0017bacc9f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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

This is a copy

92% identical to principle-minimize-reader-load — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/pstack/skills/principle-minimize-reader-load/SKILL.md · 26 lines

What it actually says

Minimize Reader Load

Maintainability is the work a reader must do to understand code. Track two axes:

  1. Layers to trace. How many indirections sit between the question and the answer.
  2. State to hold. How much hidden or mutable context the reader must keep in their head.

Why: Code is read far more than it is written. 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.

The pattern:

  • Collapse layers that do not earn their keep: wrappers with one caller, adapters with no second implementation, indirection introduced for a future that never came. 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 this reduce reader load somewhere else 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. 8d ago First seen · 26 lines · 44 tokens per session scan A 2d0017bacc9f

Subscribe to this mod's changes

principle-minimize-reader-load is a skill published in the GitHub repository Sma1lboy/rove (121 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 450 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to principle-minimize-reader-load, differing in 4 lines, and is treated as a copy.

Related

Other skills, from other repositories

fable-review

Perform an independent, evidence-grounded review of git diffs against requested specifications, architectural invariants, and code standards. Use when reviewing pull requests, inspecting code changes before merge, auditing diffs for regressions, or performing pre-commit sanity reviews — even if the user does not…

imMamdouhaboammar/get-fable · 122 tokens

fable-simplify

Refactor and simplify settled, recently modified code to improve readability, remove dead branches, flatten deeply nested logic, and reduce duplication while preserving behavior. Use when cleaning up complex functions, eliminating boilerplate, deduplicating logic, or improving code altitude after tests pass — even if…

imMamdouhaboammar/get-fable · 127 tokens

simplify

Use when refactoring, simplifying, or cleaning up existing code implementations.

imMamdouhaboammar/get-fable · 16 tokens

review-checklist

Systematic code review checklist with severity classification. Activate whenever the user asks for a code review, wants feedback on their code, submits a PR for review, or asks what to look for when reviewing code. Also activate when writing review comments or discussing code quality standards.

VersoXBT/claude-initial-setup · 57 tokens

pr-workflow

Guide pull request creation, review process, CI gates, and merge strategies. Use when the user creates a PR, asks about PR templates, review workflows, CODEOWNERS setup, or merge strategies. Apply when running gh pr create.

VersoXBT/claude-initial-setup · 51 tokens

pr-standards

Enforce pull request best practices: size limits, description templates, testing requirements, and review workflows. Activate whenever the user creates a PR, asks about PR best practices, sets up PR templates, discusses code review turnaround, or mentions PR size, review requirements, or branch protection rules.

VersoXBT/claude-initial-setup · 62 tokens