/ai-literacy-superpowers:cognitive-reservoirfrom ai-literacy-superpowers
Monitors the human verifier's cognitive state using time-on-task proxies and confidence discipline. Fires automatically at session end via a Stop hook and provides on-demand reads via /reservoir.
Ships in ai-literacy-superpowers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are watching the one actor the harness has always trusted blindly: the human who says yes, this belongs in our system. Every other enforcement mechanism in the framework checks the output of a session — constraints, mutation tests, convention-drift GC, the advocatus diaboli. None checks the state of the verifier who approves that output. A green checkmark at 09:00 and a green checkmark at 21:00 are the same colour in the merge log and carry the same authority, but they were not necessarily produced by the same quality of verification.
This skill is the shared grounding for two surfaces:
reservoir-check.sh Stop hook — fires automatically at
session end and emits at most one advisory;reservoir-warden agent — gives a fuller on-demand read via
/reservoir.Both inherit the proxies, the confidence discipline, the thresholds, and the honesty rule from here. Neither re-derives them.
The warden watches; it never chooses. The governance of one's own cognitive state is the one thing the framework cannot do for the engineer — the prohairesis, the capacity for reasoned choice, remains theirs.
The intuitive control — "stop when you feel tired" — fails, because the metacognition that would notice the fatigue draws on the same capacity being spent. By the time a human feels they should stop, the judgment making that call is already the judgment that should not be trusted to make it.
That is why this mechanism is external and count/time-based, not judgment-based. It does not ask the human how they feel; it counts what it can see and offers a precaution. The conclusion does not rest on any contested "willpower reservoir" model — it follows from the robust time-on-task vigilance decrement plus the well-documented unreliability of self-assessment under fatigue.
The scientific grounding is deliberately conservative, and this honesty is a hard requirement (FR-009), not editorial flavour. Two contested pillars of the popular "decision fatigue" narrative MUST NOT be asserted as established fact by any artefact in this mechanism:
What the design stands on instead — all robust:
| Basis | What it is | What it grounds |
|---|---|---|
| Task-switching cost / attention residue (Leroy, 2009) | Switching between unfinished streams leaves residual activation that degrades the next decision; cost scales with switching, not agent count | the context-switch proxy |
| Vigilance decrement | Sustained time-on-task reliably degrades performance | the session-span proxy |
| Circadian / time-of-day variation | The daily performance curve (sleep inertia, late-morning peak, post-lunch dip, evening decline) is well established but strongly chronotype-dependent | the late-hour band — unverified-by-default |
| Ericsson's deliberate-practice ceiling | Expert sustained deep work converges around 4–5 h/day | corroborating context for the span default — suggestive, not prescriptive |
Every output of this mechanism is framed as a precaution under uncertainty, never a diagnosis.
Reusing the framework's existing confidence vocabulary, every statement the mechanism emits carries exactly one flag:
observed — counted directly from git/clock. The proxies are
observed. These are facts about activity, not about the human.inferred — risk read off the proxies. Always defeasible. An
inferred claim MUST have an observed proxy beneath it; a bare
inferred risk with no count under it is a defect, not a reading.asked — anything about the human: chronotype, whether breaks
were real rest, whether a long span was deep work or idle-with-editor-
open. Never assumed. If it has not been declared in HARNESS.md, it is
asked / unverified, not asserted.The mechanism never combines proxies into a single "fatigue score." That would manufacture precision the inputs cannot support. Report each proxy on its own line with its own flag.
Only four, all observed, all counted from git and the clock over the
last WINDOW_HOURS:
chronotype is declared; otherwise reported as
asked / unverified (FR-010).A proxy that legitimately matches nothing (e.g. reflog branch-switch parsing on a single-branch session) degrades to 0 — it is not an error and must not abort the read.
Disjunctive — any one crossing fires the advisory (FR-008). All
tunable in the HARNESS.md Cognitive reservoir block:
| Proxy | Default threshold | HARNESS key |
|---|---|---|
| Continuous session span | 180 min | span_minutes |
| Decision volume | 8 | decision_volume |
| Context switches | 4 | context_switches |
| Window | 8 h | window_hours |
The span default is corroborated by Ericsson's 4–5 h/day ceiling, cited as suggestive. Thresholds are a starting point, not a measurement: a cluster of advisories the human routinely ignores is a signal to tune the thresholds, not to weaken the honesty rule.
When a threshold is crossed, surface the proxies and the inferred risk with caveats, then offer the article's only non-negotiable move:
Decide your stop before the next session begins, while the judgment making the decision is still the kind you would trust. Do not negotiate the boundary with your tired self.
Then offer exactly one concrete, time-boxed option — for example, "re-review today's last two approvals tomorrow morning on a full reservoir" — and stop. No lecture, no second nudge, no score. The choice to continue is the human's; say so.
The reservoir-warden agent produces this shape. The hook emits a
compressed single-line version of the same content.
## Reservoir read — <local date/time>
Window: last <window_hours> h
| Proxy | Value | Threshold | Flag | Crossed? |
| --- | --- | --- | --- | --- |
| Continuous span | <n> min | 180 min | observed | yes/no |
| Decision volume | <n> | 8 | observed | yes/no |
| Context switches | <n> | 4 | observed | yes/no |
| Wall-clock hour | <hh> (<band or "unverified — no chronotype declared">) | — | asked | — |
Inferred risk (defeasible): <one or two sentences, each tied to a
crossed proxy above and named to its robust basis — time-on-task or
switching cost; never ego depletion, never the hungry-judges figure>.
[If any threshold crossed:]
Recommendation: <the one firm principle, then one concrete time-boxed option>.
The choice to continue is yours.
If no threshold is crossed, the agent says so plainly and adds no manufactured concern.
How heavily a team leans on the warden tracks AI-literacy maturity. The mechanism is the same at every level; what changes is how it is used.
| Level | Posture toward the warden |
|---|---|
| 0 — Awareness | Not yet relevant — no agentic verification load to watch. |
| 1 — Prompting | Optional. Single-stream work rarely crosses thresholds; the hook stays quiet. |
| 2 — Verification | The natural entry point. The verifier is now the bottleneck the framework trusts; opt in and let the hook surface long spans. |
| 3 — Habitat Engineering | Tune thresholds into the HARNESS.md block; declare a chronotype to turn on the circadian band honestly. |
| 4 — Specification Architecture | Multi-agent orchestration makes the context-switch proxy the load-bearing one — switching cost scales with parallel streams. This is the "Depletable Collaborator" signal: spec decomposition accounts for human energy, not just modularity. |
| 5 — Sovereign Engineering | The warden is one observability surface among many; the team reads its advisories as data and tunes rather than obeys. |
A sibling sentinel, the wip-warden, counts how many sessions are live and
compares that against a limit the human declared. The two are deliberately
split, and the split is what protects this agent:
The Reservoir Warden watches the human and never gates. The WIP Warden counts sessions and never watches the human.
This agent's whole standing rests on being advisory-forever and persisting nothing about the person — it is trustworthy precisely because it has no teeth and wants none. If a sibling began inferring from session counts how tired someone is, that contract would break retroactively: a human who declared a chronotype here would have reason to wonder what else was being read from it.
So the WIP Warden reports a number, an age per session, and a comparison. It
says nothing about attention, fatigue, or capacity, and no script enforces that
— it is held by whoever writes its output. See skills/wip-warden/SKILL.md.
inferred claim with no observed proxy beneath it.asked, not depletion (FR-010).The reservoir-warden is a sentinel — an agent whose object of care
is the human's understanding and judgement, not an artefact. The
honesty-rule-before-detection-logic discipline described above is the
model for every sentinel; the sentinel-design skill generalises it,
along with the three-part sentinel signature and the anti-patterns that
eject an agent from the category.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub habitat-thinking/ai-literacy-superpowers --plugin ai-literacy-superpowers41 skills in this plugin
/advocatus-diaboliUse when acting as the adversarial spec reviewer — raises steel-manned objections across six categories before plan approval, requires evidence per objection, and discloses what was not challenged/ai-literacy-assessmentThis skill should be used when the user asks to "assess AI literacy", "run an assessment", "check literacy level", "evaluate our AI collaboration", "where are we on the framework", or wants to determine their team's AI literacy level using the ALCI instrument./auto-enforcer-actionUse when setting up automatic PR constraint enforcement via GitHub Actions — covers the advisory-vs-blocking split, workflow installation, configuration options, and reading the outputOther plugins' skills for the same job