From speculate
Learns your MCP call patterns and prefetches likely read-only calls, so Claude Code waits less on tools.
6 events · 14 calls
Ships in speculate. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callsettings.readprompt.submitmcp.callEach event it registers a hook on, with the matcher when it sets one
session.startprompt.submitclassic.PreToolUsetool.callcommand.run{command=speculate}session.endEvery mods API method its source calls, by namespace
aftereverynowsleepregistercallcwdreaddeletegetsetcheckliststatusWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.ts (written ./register.ts)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub lukebward/speculate --plugin speculate