{"name":"matthewmathistrellys-scry","owner":{"name":"ClaudePluginHub"},"plugins":[{"name":"matthewmathistrellys-scry","source":{"source":"github","repo":"matthewmathistrellys/scry"},"description":"SessionStart checks that tell an agent session the true state of the world and establish that repository Markdown is untrusted historical material. Also installs PreToolUse speed bumps that turn a first attempt down once and let the same attempt through again: an expensive Elixir force-rebuild, and a headless `claude -p` run that would bill the API account instead of the subscription. Plus an advisory on first contact with a large, actively-worked source file. A SubagentStart hook tells a spawned subagent, and only when it is true, that the worktree it was handed is behind origin/main and how far — SessionStart context never reaches a subagent, so an agent otherwise greps a stale tree and reports missing what merely is not checked out. A PostToolUse advisory notes, once per file, when a session writes a Markdown file this repo's conventions do not expect. Available on demand via /scry. A PreToolUse ADVISORY speaks when a Bash command creates a branch without naming a start point, giving how far HEAD sits behind origin/<default> and how old the last fetch is, since a count measured against a stale remote-tracking ref is itself stale; SCRY_BRANCH_POINT_FETCH_HOURS (default 2) sets when a fetch counts as dated. It never fetches, moves nothing, and denies nothing. A plugin monitor (Claude only) watches when the session's prompt cache goes cold — read from the status-line payload, the only place Claude Code reports it, via a small wrapper the user points statusLine at once — and, at most once per user message, asks the session to write a summary as its reply in the conversation while the cache is still warm — never to a file — opening with the full session id and how to pick it up in a new window; a UserPromptSubmit hook is what re-arms it, and only for a user message, so tool calls, cache hits, task and monitor notifications, and the summary itself never do. It follows the session a /clear starts in the same process. While work the session started is unfinished, it sends instead a keep-alive with a roster of that work as Scry can read it from metadata (workflows with an agent started and no result, however quiet; background commands whose output file a process still holds open; subagents written within SCRY_KEEPALIVE_FRESH_SECS, default 3600, with what the silence means once it nears the TTL) — Scry reports, the session judges. When nothing listed has written for a whole TTL it says that instead: the silent work is the only reason the session is still woken, work that never finishes never sends the notification it is kept warm for, and these are the session's own tasks to look at; it counts how many keep-alives in a row found the same and after SCRY_KEEPALIVE_SILENT_MAX (default 3) stops keeping the cache warm for it. At most SCRY_KEEPALIVE_MAX (default 8) times per user message, then it asks for the summary with the unfinished work named. SCRY_CACHE_HANDOFF=0 disables it; SCRY_CACHE_HANDOFF_LEAD_SECONDS (default 120) sets how long before expiry it speaks. statusline.sh is a whole status line for Claude Code (Claude only): folder, branch when off the default, uncommitted and unpushed counts when non-zero, model, session cost, other live sessions in the directory, the seven-day window with its reset day, context as tokens over the window, and the cache segment — minutes until it goes cold, and the size of the re-read the next request pays once it has. A SessionEnd hook records which session a /clear ended (id, transcript path, directory, time; one small file under $TMPDIR, deleted when the next session reads it, swept after a day), so the session that replaces it is told exactly which one it left, its transcript path, what resuming it costs, and whether Scry asked it for a summary before it went idle — read from Scry's own state file, so the successor knows whether the end of that transcript holds one. At SessionStart it names in-process teammates (named agents that live inside the Claude process and die only with it — /clear does not end them) spawned in this repo family by any session a running Claude process has held, with age, said once per process per set of names; Scry cannot see whether one is still registered, so it names ListAgents as what can, and stops nothing (2026-09-21: twenty idle for four days, found only when asked). It also names what that session left RUNNING: the subagents still writing under its session id, and the background jobs under it that recorded no result. A subagent, workflow agent or background job outlives the session that launched it, but its result reports to a session id that takes no more turns — and before 1.29.0 this hook filed those subagents under \"other sessions\", which reads as somebody else's work and is what makes a replacement session start the same build a second time on the same branch. At two moments it gives an insight from research, never an instruction: when a subagent's report comes back reading as a review, the three kinds of finding (defect, quality, speculative) and how each is settled; when an edit adds comment text to a code file, what keeps a comment true, naming claims about other modules and names, dates or stories when it sees them, in the added text or already in the file. Two notes about shared services, naming none: before a command runs a remote tool (ssh, curl, psql, kubectl, aws, gh api, git fetch) in a loop, in parallel or in the background, it says the session has no reading of that service's health or load and that retries and parallel callers multiply the load; after two or more timeouts, 5xx, 429 or slow calls from remote tools within ten minutes, it says what the answers do and do not show. At SessionStart it flags open PRs that passed review and CI but sit unqueued, PRs knocked out of the merge queue, checks that failed after passing on the run before, and an idle merge queue while reviewed PRs wait. At SessionStart it also names subfolders below the start folder that carry their own AGENTS.md or CLAUDE.md and that what they say is not in context during early planning, search, naming, and builder briefs; and at SessionStart and after a write of an AGENTS.md or CLAUDE.md, it names any folder whose AGENTS.md has no CLAUDE.md that links to or imports it.","version":"1.53.0","keywords":[],"category":"productivity"}]}