cognitive-load
Separates the cognitive load a task needs from the load a code base's structure adds, and names the change that removes the second.
Install
Claude Code
/plugin marketplace add Akurganow/pegboard
/plugin install cognitive-load@pegboard
CI installs it on Ubuntu, macOS and Windows.
Codex
codex plugin marketplace add Akurganow/pegboard --ref main
codex plugin add cognitive-load@pegboard
CI installs it on Ubuntu, macOS and Windows.
Oh-My-Pi
omp plugin marketplace add Akurganow/pegboard
omp plugin install cognitive-load@pegboard
CI installs it on Ubuntu, macOS and Windows.
Hermes
hermes plugins install Akurganow/pegboard/plugins/cognitive-load --no-enable
hermes plugins list
hermes plugins enable cognitive-load
Keep the plugins/cognitive-load suffix: without it Hermes copies the whole repository, and its two-level scan finds no package.
CI installs it on Ubuntu and macOS.
Cursor
Cursor's documentation names no command that installs from a repository. It names three routes:
- Public marketplace: open Customize, find the plugin, select Install. A plugin appears there only after Cursor reviews a submitted repository, and this repository claims no listing.
- Team marketplace, on Teams and Enterprise plans: in Dashboard, Plugins & MCPs, Team Marketplaces, select Add Marketplace, then Import from Repo, and paste
https://github.com/Akurganow/pegboard. Developers then install from Customize. - Local: copy
bundles/cognitive-loadto~/.cursor/plugins/local/cognitive-load, then restart Cursor or run Developer: Reload Window.
CI does not install it.
OpenClaw
openclaw plugins install cognitive-load --marketplace Akurganow/pegboard
OpenClaw reads this repository's .claude-plugin/marketplace.json. CI does not install it.
Kiro
No install command is given. Kiro's documentation says Powers follow the Agent Plugins specification, and plugins/cognitive-load/plugin.json carries every field the documentation requires. The documentation does not say how Kiro finds several packages in one repository. CI does not install it.
Usage
Name the task and the place where readers struggle:
New hires take weeks to fix their first bug in our billing service.
Find what makes the code hard to follow.
The extraneous skill answers in one reply. When the session holds the code and
its history, it reads them instead of asking, and reports what it had to open
and hold as its own trace of the path. For each place it names the concrete
behaviour a reader has to discover, sorts the elements into intrinsic and
extraneous, matches them to a section of Zakirullin's catalogue, and gives the
change that removes the extraneous ones, its cost and who pays it. It asks only
what the code cannot say, at the end.
What's inside
| Path | What it is |
|---|---|
skills/extraneous/SKILL.md | the procedure |
skills/extraneous/references/theory.md | the working definitions with primary citations, and where the theory stops |
skills/extraneous/references/patterns.md | the essay's catalogue in its own words |
skills/extraneous/references/measures.md | Cognitive Complexity, Intrinsic Complexity Points, studies of programmers, studies of language-model agents |
skills/extraneous/references/sources.md | the copy, commit and date each source was read from, and whether the full text or only the abstract was open |
plugin.json in plugins/cognitive-load/; .claude-plugin/, .codex-plugin/ and .cursor-plugin/ manifests in bundles/cognitive-load/ | the Agent Plugins 1.0.0 manifest in the first build, one manifest per client in the second |
LICENSE | the MIT license |
The package has no script, hook, rule file or network access. The catalogue is Artem Zakirullin's essay "Cognitive load is what matters", under CC BY 4.0.
Boundaries
- Cognitive load theory is a theory of learning, and its effects were shown on instructional material. The skill applies them to code as analogies and says so. Its count of what a reader holds is the agent's trace of a path through the code, not a measurement of a human reader.
- An interface as wide as what it hides, or one change that touches many places,
belongs to the
red-flagsskill ofdesign-review. A trade-off between two measured qualities belongs tocontradictionintriz-thinking. Many complaints with one unclear cause belong toroot-causeintoc-thinking. The skill hands over only to a skill that is installed.
License
MIT. See LICENSE.
Help
See SUPPORT.md. The pegboard marketplace lists the other packages.