cursor/plugins/local/cheese-grok/skills/read-mode-probe/SKILL.md
Use when the user wants to interrogate an unfamiliar codebase with structured probes rather than a summary — invariants, data flow, error paths, hot paths, security surface. Triggers on "probe this", "what are the invariants here", "where does X flow", "find the risk in this code", "trace error paths", "what's on the hot path", "security audit this file/module", "what could go wrong here". Returns numbered findings with confidence + citations, never edits.
npx skillsauth add paulnsorensen/dotfiles read-mode-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.
Reader-first. No edits. Pick the probe closest to the user's question;
if ambiguous, ask. Output is a numbered list of findings tagged with
confidence (high / med / low) and a file:line citation, followed by
a "next probes I would run" closer.
List the things that must always be true in this code, and cite where they're enforced. Catalog what would happen if each invariant were violated (silent corruption? hard panic? rejected request?).
Tool order:
mcp__serena__find_symbol for the central type/function.mcp__tilth__tilth_grok to pull its callers + tests in one shot.mcp__serena__find_referencing_symbols to find every check site.Trace a value — a user-id, a request body, an env var, a feature flag — from its entry point to its persistence or external use. Name every file:line where the value is read, transformed, or written.
Tool order:
mcp__tilth__tilth_search (kind=content) for the literal name.mcp__serena__find_referencing_symbols on each definition site.mcp__code-review-graph__get_affected_flows_tool for the
downstream graph.For a given function or module, enumerate every throw, return Err,
panic, reject, or unhandled rejection. For each: where it can be
triggered, who catches it (if anyone), and whether it's recoverable
or terminal.
Tool order:
mcp__tilth__tilth_grok(target=<function>) for body + callers.mcp__tilth__tilth_search(query="catch,try,Result,Err,panic,throw,reject")
to find the surrounding error machinery.Find loops, N+1 queries, sync I/O on request paths, and unbounded allocations. Sort findings by likely impact — flag the worst offender first.
Tool order:
mcp__code-review-graph__get_hub_nodes_tool for high-fan-in
functions.mcp__code-review-graph__find_large_functions_tool for >150-LOC
bodies.mcp__tilth__tilth_search(query="forEach,for.*await,await.*for,for.*\\.length")
for common loop antipatterns.Audit input validation, authz checks, secret handling, deserialization sinks, SQL/shell injection vectors, SSRF, prototype pollution.
Tool order:
mcp__tilth__tilth_search(query="JSON.parse,eval,exec,Function,vm,child_process,spawn")
for deserialization + exec sinks.mcp__tilth__tilth_search(query="req.body,req.params,req.query,process.argv")
for untrusted-input entry points.mcp__serena__find_referencing_symbols to walk from each input
to where it's used.## Findings (<probe-name> probe on <target>)
1. [high] <finding> — `path/to/file.ts:42`
<one-sentence why this matters>
2. [med] <finding> — `path/to/file.ts:88`
<one-sentence why this matters>
...
## Next probes I would run
- <name>: <one-sentence reason>
- <name>: <one-sentence reason>
high = verified by reading the
exact code. med = pattern-matched but not fully traced.
low = suspicious, worth checking but not confirmed.read_file, codebase_search,
find_symbol, mcp__serena__*, mcp__tilth__* (no tilth_edit),
mcp__code-review-graph__*. No edit_file, no
run_terminal_cmd except git log|status|diff|show, ls, wc.tools
Reconstruct what a past coding-agent session was doing so you can resume it — goal, files touched, last verified state, and the next step — by querying the session logs. Use when the user says "what was I working on", "recover that session", "reconstruct where I left off", "resume my last session", "what did that session change", "rebuild context from logs", or invokes /work-recovery. Report-only — it never scores or judges. Do NOT use for usage scoring (that is /skill-improver, /tool-efficiency, /prompt-analytics) or one-off interactive log queries (that is /session-analytics).
development
Curate this repo's hallouminate wiki (.hallouminate/wiki/, the repo:dotfiles:wiki corpus) — add or update architecture pages, per-harness docs, and gotchas. Use when the user says "update the wiki", "document this in the wiki", "refresh the harness docs", "add a wiki page", "curate the wiki", "the wiki is stale", or invokes /wiki-curator. Also use at session end to write back a non-obvious decision or gotcha worth preserving. Grounds the existing wiki first, follows one-topic-per-file conventions, verifies every external doc URL before writing, and reindexes. Do NOT use for general code search (that is cheez-search) or for editing AGENTS.md command reference.
tools
Audit how a tool, command, or MCP server is actually used across coding-agent sessions and produce calibrated recommendations — tool-vs-task fit, error forensics, fix recommendations, permission friction, MCP health, and token economics. Use when the user says "tool efficiency", "am I using X efficiently", "audit tool usage", "why does X keep failing", "how do I fix this error", "what should I change", "permission friction", "is this MCP worth it", "tool error rate", "fix recommendations", or invokes /tool-efficiency. Do NOT use for auditing a skill or agent definition (that is /skill-improver) or for one-off interactive log queries (that is /session-analytics).
tools
Analyze how prompts and skill routing behave across coding-agent sessions and produce calibrated recommendations — prompt-pattern analysis, routing accuracy, and knowledge gaps. Use when the user says "analyze my prompts", "prompt patterns", "is routing working", "which skill should have fired", "knowledge gaps", "what do I keep asking", or invokes /prompt-analytics. Do NOT use for auditing a single skill/agent definition (that is /skill-improver), tool/MCP efficiency (that is /tool-efficiency), or one-off interactive log queries (that is /session-analytics).