Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By project-minigrafv0.9.0MITIn 1 marketplace
Lets you query past states of project decisions and dependencies, and link architectural changes to the decisions behind them. It says heuristic extraction needs no API key, while LLM extraction needs ANTHROPIC_API_KEY.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Temporal Reasoning is a graph memory store for coding agents. Use Datalog to query earlier states, follow dependencies, and connect changes in code structure to recorded decisions.
These examples use dependencies and recorded decisions in the same graph:
; What did the dependency graph look like before the auth refactor?
[:find ?caller ?callee
:as-of 30
:where [?caller :calls ?callee]]
; When did this coupling first appear — and what decision caused it?
[:find ?reason
:where [:dependency/service-a :depends-on :dependency/service-b]
[?d :motivated-by ?c]
[?c :description ?reason]]
; Which modules were coupled to the payment service when we made the DB decision?
[:find ?desc
:as-of 15
:where [?module :depends-on :dependency/payment]
[?module :description ?desc]]
Decisions and changes to code structure are stored in the same graph, so one query can join them. See Phase 5 for code structure evolution from git history.
Use transaction-time queries to see what the graph contained at an earlier point and how it changed.
Time travel. Every write is stamped with a transaction number. You can query the graph as it existed at any past transaction:
# Decision made in session 1, transaction 3
minigraf_transact(facts='[[:decision/db :description "PostgreSQL"]]',
reason="Initial choice")
# Changed in session 4, transaction 11
minigraf_retract(facts='[[:decision/db :description "PostgreSQL"]]',
reason="Switching to CockroachDB for geo-distribution")
minigraf_transact(facts='[[:decision/db :description "CockroachDB"]]',
reason="Switching to CockroachDB for geo-distribution")
# Later: what did we think the database was before session 4?
minigraf_query(datalog='[:find ?d :as-of 10 :where [:decision/db :description ?d]]')
# → "PostgreSQL"
# What do we think now?
minigraf_query(datalog='[:find ?d :where [:decision/db :description ?d]]')
# → "CockroachDB"
Retraction with preserved history. Retracting a fact keeps it available in queries about earlier transactions. If you recorded a reason for the change, you can query that too.
Exact Datalog queries, not fuzzy search. Datalog returns facts that satisfy the query. It does not rank them by embedding similarity.
Graph traversal. Store a call between services as a :calls edge, such as :calls :dependency/auth-service, and follow it with Datalog joins. Fixed-depth transitive queries (2-hop, 3-hop) are expressed as multi-hop joins. Rules unify multiple edge types under a single named relation.
Local and offline. The default configuration runs locally and stores the graph in a file. Optional LLM extraction uses Anthropic’s API and requires a network connection and API key.
┌──────────────────────────────────────────────────────────────────┐
│ AI Coding Agent │
│ (Claude Code, OpenCode, Codex) │
└──────────┬───────────────────────────────────────┬───────────────┘
│ MCP tool calls │ per-turn hooks
│ (minigraf_query, minigraf_transact, …) │ (UserPromptSubmit / Stop)
▼ ▼
┌──────────────────────────┐ ┌─────────────────────────────┐
│ MCP Server │ │ Hook scripts │
│ mcp_server.py │◄────────│ prepare_hook.py │
│ (persistent stdio) │ │ finalize_hook.py │
└──────────┬───────────────┘ └─────────────────────────────┘
│
▼
┌──────────────────────────────────────────────────────────────────┐
│ MiniGrafDb Python binding (minigraf package) │
│ https://github.com/project-minigraf/minigraf │
│ - Bi-temporal Datalog engine │
│ - Transaction time + Valid time │
└──────────┬───────────────────────────────────────────────────────┘
│
▼
┌──────────────────────────────────────────────────────────────────┐
│ Graph File │
│ memory.graph (current working directory) │
└──────────────────────────────────────────────────────────────────┘
Two tiers. The difference is auto-memory, not the tool set.
| MCP server only | Full install | |
|---|---|---|
| Clone required | no | yes |
MCP tools (minigraf_query, minigraf_transact, …) | ✓ | ✓ |
SKILL.md synced into the project | — | ✓ |
| Per-turn auto-memory hooks | — | ✓ |
| Graph pinned to the project directory | — | ✓ |
Point any MCP-capable agent at the published package. No clone and no virtualenv — uvx fetches it:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub project-minigraf/temporal_reasoning --plugin temporal-reasoningPlugins from other owners that cover similar ground