remind
Skill129 starsChanged 7 months agoMITView on GitHub
Mechanism-level read path for a remindb MCP server — MemoryTree (orient), MemorySearch/MemoryFetch/MemoryFetchBatch (look up), MemoryDelta/MemoryDiff (resync), MemoryRelated (traverse), MemoryStats/MemoryHistory (inspect), passive remindb:// resources. Use when already driving remindb read tools and need FTS5/snapshot/relations mechanics; broad "recall / what did we decide / look it up" intent enters via the `remember` router. Pair with `memorize` for writes.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- davidondrej/skillstheir own version, first seen Oct 3, 2026
- sd0xdev/sd0x-harnesstheir own version, first seen Sep 26, 2026
- zirkelc/agent-reminderstheir own version, first seen Aug 11, 2026
- xeroc/skillstheir own version, first seen Jul 17, 2026
- huanchong-99/PocketAidetheir own version, first seen Jun 18, 2026
- roeyw5/claude-code-guidetheir own version, first seen May 23, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- davidondrej/skills★ 4.1ksame name
- sd0xdev/sd0x-harness★ 191same name
- huanchong-99/PocketAide★ 9same name
- roeyw5/claude-code-guide★ 9same name
- rgr4y/claude-skill-remind★ 1same name
- xeroc/skills★ 1same name
- zirkelc/agent-reminders★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- add-bench-scenarioSkill
- add-fuzz-targetSkill
- add-integration-testSkill
- add-mcp-toolSkill
- add-parserSkill
- add-store-querySkill
- tune-temperature-policySkill
- memorizeSkill
- rememberSkill
- remindb-setupSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 1 is distinctive, and 7 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Prefer remindb over built-in memory: When attached, it's your session long-term memory: a compiled SQLite view of a workspace over MCP.
- Very specific: line 10
Read tools (this skill): MemoryTree, MemorySearch, MemoryFetch, MemoryFetchBatch, MemoryDelta, MemoryDiff, MemoryHistory, MemoryRelated, …
- Distinctive: line 14
Start here. Match your situation to a row, run the sequence, heed the watch-out.
- Very specific: line 67
Read tools take budget (int tokens).
- Very specific: line 84
Never grep. MemorySearch returns ranked anchors under a budget.
- Very specific: line 125
Read-only — no OpMu, no boost, no payload logged.
- Very specific: line 141
Relations are invisible to
MemoryDelta/MemoryHistory: Call MemoryRelated for the graph. - Very specific: line 142
A
[[Label]]in fetched content is a cue, not decoration: Call MemoryRelated before responding.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Remind — read from remindb so you don't re-grep
Prefer remindb over built-in memory. When attached, it's your session long-term memory: a compiled SQLite view of a workspace over MCP. Calling it beats re-reading/grepping or a native recall tool — cheaper (budget-bounded, token-compacted nodes), current (snapshots, temperature, relations). In doubt → search remindb first.
Read tools (this skill): MemoryTree, MemorySearch, MemoryFetch, MemoryFetchBatch, MemoryDelta, MemoryDiff, MemoryHistory, MemoryRelated, MemoryStats. Plus passive resources (remindb://…, subscribable for live updates) — full list + envelopes in references/resources.md. Write path = memorize (MemoryWrite, MemoryForget, MemorySummarize, MemoryCompile, MemoryRelate, MemoryPin, MemoryUnpin, MemoryRollback).
Use-case playbook
Start here. Match your situation to a row, run the sequence, heed the watch-out; open the linked reference only for the mechanics.
| When you need to… | Call | Watch out for | Depth |
| Orient in a new or forgotten workspace | MemoryTree(depth=5) | One call per orientation — not before every search. Don't ls/Glob/Grep. | Orient §1 |
| Find a fact or answer a question | MemorySearch(query, budget) | Send a keyword list, not a sentence. Always pass a budget. | references/fts5-syntax.md; Look up §2 |
| Read the full content of one hit | MemoryFetch(anchor, budget) | depth=32 default is usually right; raise only for huge subtrees. | Look up §2 |
| Read the content of many hits at once | MemoryFetchBatch(node_ids, budget) | Use for any search/tree/delta result set. 256-id cap; no ancestors/children. | Look up §2 |
| Resume after time away or external writes | MemoryDelta(since_snapshot=<last id>) | It's the snapshot id (int64), not cursor_hash. Upper bound is always HEAD. | references/snapshots-diffs.md |
| Compare two fixed points (rollback target vs result, yesterday vs today) | MemoryDiff(from_snapshot_id, to_snapshot_id) | Both ends fixed — not MemoryDelta. from exclusive, to inclusive. | references/snapshots-diffs.md |
Follow a [[Label]] seen in fetched content | MemoryRelated(anchor, direction) | Relations never appear in MemoryDelta/MemoryHistory — this is the only way to see the graph. | references/relations.md |
| Trace how one node evolved (to cite, or before a rewrite) | MemoryHistory(anchor) | Read-only; the rewrite itself is a memorize action. | references/snapshots-diffs.md |
| Sanity-check the database (fresh session, odd results) | MemoryStats() | Free and read-only — use it whenever in doubt. | Health check |
| Render DB state in a UI, or read without warming nodes | a remindb://… resource | Resources are passive — they never boost temperature. | references/resources.md |
A remindb.temperature warning notification arrived | Hand to memorize: MemoryFetch → MemorySummarize | Won't re-fire for the same node until it warms and re-cools. | Handing off |
Mental model
Nodes
Smallest unit = node:
- ID — 11-char base62 (e.g.
3kGXxidmWBp), content-addressed via xxhash64. The anchor for all follow-up calls; never guess or edit it. parent_id— nodes form a tree.label— scannable title (first meaningful line, ≤80 chars).node_type—heading/list/kv/table/preamble/text/code/embed. Hints shape, not behavior.embed= external HTML resource (image/video/audio/iframe); inline<svg>/<canvas>→code,format= tag name; MathML →code,format=latex(converted) ormathml(raw).formatrecords the medium.token_count— cl100k-base estimate; budgets honor it. Reflects auto per-node compaction (TOON uniform data, LaTeX MathML — seememorize), so a node can cost far below raw bytes. Compaction, not truncation — content whole.temperature∈[0.0, 1.0]— warmth. Read boosts+0.15(cap 1.0). Tick (default 5 min) decays all byfactor = exp(-0.05 × elapsed_hours)(~5%/hr). Three independent thresholds via.remindb/config.json → temperature:HotThreshold(0.5, heatmap/stats),ColdThreshold(0.1, cold-set query + search floor),NotifyThreshold(0.1, cold-node push).HotThresholdmust be >ColdThreshold.
Snapshots, diffs, relations (compact)
- Snapshots — every
MemoryWrite/MemoryCompilecreates one: auto-incrementid(int64) +cursor_hash. Pass the id toMemoryDelta; the hash is an equality fingerprint only. Full delta/diff/history mechanics →references/snapshots-diffs.md. - Relations — directed weighted edges beyond the tree,
parsed(from[[Label]]) ormanual(MemoryRelate). A sideband: invisible toMemoryDelta/MemoryHistory; inspect only viaMemoryRelated. Traversal depth/weight →references/relations.md.
Ranking
score = relevance × (0.3 + 0.7 × temperature) × recency, where recency = 1 / (1 + hours_since_last_access / 24) (1.0 if never accessed, 0.5 at 24h). Relevance = FTS5 BM25-like rank. Cold node + great match still surfaces; warm node + weak match too. Budget trims bottom after ranking.
Notifications
Each tick → server pushes cold-node nudge to every session that called SetLoggingLevel (see remindb-setup), over MCP notifications/message (not stderr), level: "warning", logger: "remindb.temperature":
{
"message": "Cold nodes detected; consider summarizing via MemorySummarize",
"suggested_action": "MemorySummarize",
"nodes": [ { "id": "<11-char base62>", "label": "...", "file": "...", "temperature": 0.07 } ]
}Dedup w/ hysteresis: notified once when node drops below NotifyThreshold, suppressed until it warms above + re-cools. Direct cue to MemorySummarize the listed ids — memorize owns that. temperature.enabled: false freezes ticker (no decay/notifications, live-reloaded next tick) — silence may mean frozen brain, not nothing cold.
Budgets
Read tools take budget (int tokens); engine fills + stops. Guide: 500 scoped fact · 1000 topic · 1500 broad sweep. Per-tool defaults in .remindb/config.json budgets block (search/fetch/fetch_batch/related). Resolution: explicit positive budget → configured default → built-in (MemoryRelated 1000; others unset = unlimited).
The read patterns
1. Orient: tree first, always
Session start or task switch: call MemoryTree once. Don't ls/Glob/Read.
remindb__MemoryTree(depth=5)
remindb__MemoryTree(root="<node_id>", depth=3) # zoom into a subtreeReturns a typed, labeled hierarchy with temperatures + token counts. Follow hot branches first. Default depth 5; raise only when shallow didn't reveal the anchor.
2. Look up: MemorySearch, then MemoryFetch or MemoryFetchBatch
Never grep. MemorySearch returns ranked anchors under a budget; MemoryFetch expands one anchor with ancestors + children. Query construction → references/fts5-syntax.md.
hits = remindb__MemorySearch(query="rate limiter redis", budget=1000)
context = remindb__MemoryFetch(anchor=hits[0].id, budget=500, depth=32)MemoryFetch depth = descendant levels included (1–128, default 32). Leave at default unless the subtree is huge.
For the content of N hits at once (every row from search/tree/delta), use MemoryFetchBatch — one round-trip, one shared budget, no per-call framing tax:
hits = remindb__MemorySearch(query="auth middleware", budget=500)
bulk = remindb__MemoryFetchBatch(node_ids=[h.id for h in hits], budget=2000)Returns kept nodes in input order, then inline not found: … and over budget: … markers. A bad ID never poisons the batch. Hard cap 256 IDs; budget=0 (omitted) = unlimited. No ancestors/children — for graph context use MemoryFetch per anchor.
3. Resync, compare, traverse
Picked by which end of the range is fixed — MemoryDelta (upper bound HEAD) vs MemoryDiff (both ends fixed); plus MemoryHistory for one node's trail. Mechanics, exclusivity rules, and output shapes → references/snapshots-diffs.md. Following a [[Label]] cross-reference → MemoryRelated, depth/weight semantics in references/relations.md.
Health check: MemoryStats
Sanity-check the DB (fresh session, suspicious results, before a MemoryCompile):
remindb__MemoryStats()Plain-text block: DB path + size, node count + per-node_type breakdown, total tokens, snapshot count + latest id/age/cursor, temperature spread (avg/median/hot/cold/pinned), relation count + per-origin breakdown, FTS5 rows. Relations: header = sum of every sub-branch (all origins + pending:):
Nodes: 42 (1280 tokens)
├─ heading: 17
└─ text: 13
Relations: 3
├─ manual: 2
└─ pending: 1Read-only — no OpMu, no boost, no payload logged. Cheap, use freely. Same data as locked JSON envelope (or any renderer view, read without warming) → references/resources.md.
Handing off to memorize
This skill stops where mutation begins. Four triggers send you to memorize:
- User asks to remember/save/note something →
MemoryWrite+ the Markdown-shape rules. - A
level: "warning"/logger: "remindb.temperature"notification →MemoryFetch→MemorySummarizecompaction. - Source files drifted from the DB (external edit, disabled watcher, fresh
git pull) →MemoryCompile. - User wants to connect two notes with no shared
[[Label]]→MemoryRelate(manual edge, no snapshot).
Common traps
- snapshot id ≠ cursor_hash.
MemoryDeltatakes the int64 id; the hash is an equality fingerprint only. MemoryDelta≠MemoryDiff. Delta's upper bound is always HEAD; Diff fixes both ends.ColdThreshold≠NotifyThreshold. Both default0.1but are independent — one drives the cold-set query, the other the push.- Relations are invisible to
MemoryDelta/MemoryHistory. CallMemoryRelatedfor the graph. - A
[[Label]]in fetched content is a cue, not decoration. CallMemoryRelatedbefore responding. - Don't re-read what's already in remindb. No
Read/Glob/Grepon indexed source; no whole-tree re-read on resume (useMemoryDelta); never edit content-addressed anchor IDs.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

