skills/probe/SKILL.md
Run a cheap, reversible real probe to ground a belief instead of hallucinating. Use when dreamer confidence is low or when you catch yourself guessing about repository state.
npx skillsauth add jason-hchsieh/predictive-mind probeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
World Models research observation: when the learned dynamics model (M) is unreliable, prefer a cheap real probe over an imagined rollout. This skill is that safety valve.
/probeThe following are side-effect-free (or trivially reversible) and are pre-approved in this skill's allowlist:
| Intent | Probe |
|---|---|
| What changed locally? | git status, git diff, git log -5 --oneline |
| What branch am I on? | git branch --show-current |
| What's in this directory? | ls -la <path> |
| Type check without emit | tsc --noEmit |
| What tests exist? | pytest --collect-only -q |
| Are there lint errors? | ruff check <path>, eslint --no-fix <path> |
| Is this dep installed? | npm ls <pkg>, node --version, python --version |
| Is this tool on PATH? | which <cmd> |
/reflect next)./probe is NOT forFor everything else, use /predict then run the action normally.
$ARGUMENTS — the question you want grounded, in one sentence.
Your response should:
tools
Surprise-triggered reflection. When a PostToolUse hook reports high prediction error (surprise >= 0.6), invoke /reflect to update beliefs via the belief-reviser and decide whether to continue, replan, reclarify, or ask the user.
tools
Record an explicit predicted observation before a side-effecting tool call. Use whenever you are about to run a command, edit a file, or invoke any tool whose outcome you have not already observed. Upholds the predict-before-act invariant.
development
Given a goal and a set of candidate next actions, rank them by Expected Free Energy (pragmatic + epistemic value) using past similar episodes, and pick the winner. Delegates scoring to the policy-selector subagent.
testing
Snapshot the current belief state (and optionally git-stash the working tree) under a label, so a risky action can be rolled back if it produces high surprise or breaks acceptance tests.