Common Memory

Four tools. Every option. What comes back.

Four read-only tools, from a terminal or over MCP.

recall

What was I working on?

Sums up a stretch of time: which projects were active, how many commits and AI sessions, and on which days.

commonmemory recall [range]

range
november, 2026-08, "last 2 weeks", yesterday, 2026-11-01..2026-11-15, or all
-p, --project
Only this project
-l, --limit
How many projects to list. Default 8
--include-others
Count commits by every author, not only your own addresses
commonmemory recall "last 2 weeks"

find

Where is it?

Finds a project from a rough description, or exact text in any file, across every project at once. Left alone it decides which you meant, and if it finds nothing it says it looked in both places.

commonmemory find [query]

-w, --what
auto (default), project for folders matching a description, or text for exact text in files
-p, --project
Only this project
-e, --ext
Only files with this extension, for example ts
-s, --case-sensitive
Match capitals exactly
-l, --limit
How many results. Default 12
commonmemory find "rate limit" --ext rs

history

Why did it change?

Given a file, lists its commits, the files that changed with it and the AI sessions that mention it. Given words, finds past commits and prompts on that topic.

commonmemory history [file or topic]

-f, --file
Treat this path as the file, and any other words as a topic to search alongside it
-s, --source
Only one source: git, claude, codex, shell or doc
-r, --range
Only this stretch of time, written as for recall
-p, --project
Only this project
-l, --limit
How many results. Default 12
commonmemory history pricing tables --range 2026-11

code

Where is this defined, who calls it, and what could a change reach?

Looks a symbol up in the code structure. Callers are split into confirmed uses (the same file, or one whose import resolves to the definition) and possible ones (the same name with no import to confirm it). Parsed languages are JavaScript, TypeScript, Python and Rust; a name in any other language is still found as plain text.

commonmemory code <name>

-m, --mode
definition (default), callers, or impact for everything a change could reach
-p, --project
Only this project
-l, --limit
How many results. Default 20
commonmemory code price_for --mode callers

What every answer contains.

Every answer opens by saying how fresh it is, and closes by saying what it left out. Each tool also takes --max-tokens (over MCP, max_tokens), the size limit for an answer. The default is 1000.

index_as_of: 2026-12-01T09:14:02+11:00 (1s ago)
stale: false
paths_relative_to: /Users/you/code
find text "rate limit": 14 matching lines in 6 files, the 12 most recently modified listed
gateway/src/limits.rs:22: /// Token-bucket rate limit, keyed by API key.
   [gateway] modified 2026-11-24, why: 2026-11-16 commit "Rate limit the admin API after the scrape"
truncated: 9 of 12 results shown, best first (max_tokens=1500); raise max_tokens or narrow the query
index_as_of
When the sources behind this answer were last read. If several were used, it is the oldest.
stale
True when the answer may no longer match the disk, with the reason: a result's file changed or vanished, its repo has newer commits, or an AI session log has grown since it was read.
The first result line
Starts with the tool's name (recall, find project, find text, history or code), then how much was found and how much is shown.
why
The most recent commit that touched the file.
truncated
Results are ranked best first. When the answer would pass its size limit, whole results are dropped from the bottom, never part of one, and this line says how many.
incomplete
What the answer could be missing, such as uses that no import confirms or folders outside what was indexed. Shown only when it applies.

When nothing is found.

An empty answer says what was looked through and how sure it is, so an agent has grounds to stop looking. The last line is left out when the index is behind.

find text "frobnicate": no matches in indexed text files
searched: the text of 3,412 files in 30 projects: source, config and docs, which leaves out dependencies, build output, hidden folders and files over 512 KB
Confident this does not exist in your projects: the disk was checked just now and nothing is newer than the index.

Both examples use sample projects.

No one starts from zero.

Every person and every agent, sharing what the company already knows.

Need a security review first? See how your data is handled.