Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By 3dgiordanov0.6.2Apache-2.0In 1 marketplace
Stops the agent from recording guesses as facts while debugging: each claim needs evidence and a falsifier before it becomes a root cause. Hooks on prompts and tool calls nudge it to check whether a command result supports or contradicts a conjecture.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Observation-vs-conjecture discipline for coding agents. Keeps what the agent saw apart from what it thinks it means, and makes the difference visible: a claim carries its evidence and a named falsifier, and only a claim that survived that falsifier may become a fact, a defect entry, or a closure.
It answers "is what I concluded actually true?" — the sibling of executive-self-monitoring, which answers "am I doing what the plan asks?".
Being wrong is fine. Recording an unverified conjecture as a fact is not.
Humans have a running sense of where a belief came from — "I saw it", "I worked it out", "someone told me" — and a felt difference between the three. Cognitive psychology calls it source monitoring. Coding agents state all three with the same confidence, and a plausible first explanation slides into "the cause is X" with nothing in between.
The skill replaces the missing feeling with a written ladder:
| Rung | Requires |
|---|---|
[observed] | the tool/command it came from |
[conjecture] | a falsifier committed in advance, and its scope |
[verified — by: …] | what was actually run and what it looked at |
| fact / defect / closure | only a [verified] claim |
…and two habits that do most of the work before any test runs: read the authority first (plan, docs, prior attempts, the actual code — most conjectures die there), and name the strongest rival explanation before choosing your own.
skills/epistemic-self-monitoring/SKILL.md) — the protocol, the
claim ladder, the rival-explanation checklist, the closure checks, and the
[EPISTEMIC CLOSE] block format (a markdown list in the message, not a
fenced code block). Single source of truth; every host loads
the same file.| Layer | Claude Code | Cursor |
|---|---|---|
| Load the discipline | UserPromptSubmit: first turn, then every 10th | sessionStart → additional_context |
| Observe — expectation vs. observation nudge right after a shell result | PostToolUse and PostToolUseFailure (matcher Bash|PowerShell|Monitor|BashOutput|TaskOutput: every tool that returns a command's output) → additionalContext; on output that lib/fail.js classes as a failure — the same line rules as persistence, never a bare "error" or "failed" (rate-limited). A command that exits non-zero arrives only as PostToolUseFailure: exit 2 and above is a failure, exit 1 only with output that reads as one (grep, test and diff answer "no" with 1), an abort is not; after a claim the agent marked as a conjecture, the claim nudge instead (lib/conjecture.js) | postToolUse (self-filtered to shell tools) and postToolUseFailure → additional_context; a call Cursor reports as failed (failure_type: error) is a failure whatever its error_message reads - Cursor sends a failed call there, never to postToolUse; the claim nudge after a response that marked a conjecture |
Close — scan the final message for [EPISTEMIC CLOSE] blocks | Stop reads last_assistant_message | afterAgentResponse scans text, stop acts on it |
Cadence constants sit at the top of each adapter (EVERY_N_TURNS,
MIN_GAP_ON_ERROR). From 0.5.0 a command that went as planned draws no
nudge: the every-sixth-command reminder is gone.
From 0.6.0 a result that follows a claim the agent marked as a conjecture -
an inline [conjecture] tag, or an [EPISTEMIC CLOSE] block with Status
conjecture - draws a different nudge, once per mark: does the result support
the claim, contradict it, or say nothing about it? On Claude Code the marks
are read from this turn's text in the session transcript (a subagent's from
its own), and a mark in the previous turn's close is carried to the next
turn's first result. Cursor gives a hook only the final text, so there only
the carried mark is seen. A claim the agent did not mark draws nothing new:
the marks are the trigger because the agent wrote them, and no list of claim
phrases guesses at what a sentence asserts.
The hook watches the tool, not the shell: on macOS and Linux zsh or bash runs
inside Claude Code's Bash tool, and Codex reports every shell command as
Bash. From 0.6.0 it also watches Claude Code's PowerShell tool (on by
default on Windows, opt-in on macOS and Linux with pwsh) and Monitor,
which runs a command in the background and hands its output back line by
line; before, a failure in either drew nothing. BashOutput and TaskOutput,
which read a background command's output in older Claude Code versions, are
watched too. Newer versions read that output file with Read, which the hook
does not watch.
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub 3dgiordano/agent-plugins --plugin epistemic-self-monitoringPlugins from other owners that cover similar ground