Your architecture, stored as a knowledge graph in your repo. Claude reads it automatically — before you type a single character. No files. No guesswork. No wasted tokens.
Every time Claude needs to understand your codebase, it reads dozens of files — burning your budget before writing a single line.
Install once. Speculator intercepts every Claude Code session — injecting your graph context before you ask a question.
At the start of every session, Speculator surfaces your knowledge base stats — entity count, coverage areas, recent changes. Claude starts smart, not cold.
Before Claude responds to your message, Speculator searches the graph for relevant entities and edges — injecting architecture context, file locations, and reasons directly into the prompt.
When you need to curate the graph, use the speculator CLI or MCP tools. Ships with curation agents that help keep your knowledge base accurate and complete.
This is what Claude sees automatically. A subscription system with checkout, Stripe webhooks, entitlements, dunning, and finance ledger. Speculator traverses the graph on every prompt — finding connections even without a direct edge, surfacing file locations, code snippets, and the reasons behind every decision.
Install once. Speculator wires itself into every Claude Code session — injecting graph context before you type a single character.
hooks/hooks.jsonspeculator CLI and MCP server (Node.js ≥ 20)knowledge/ directory ready for entities and edges