Agent skill

remindb Read Path

by radimsem in radimsem/remindb

Covers the read-side tools of the remindb MCP server, a SQLite-backed agent memory, for orienting, searching, resyncing and tracing relations.

MITAuto-check passedAgent Workflows

Install remindb Read Path

skills CLI
$ npx skills add radimsem/remindb --skill remind -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install radimsem/remindb remind --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/radimsem/remindb.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/remind .claude/skills/remind && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
remind
GitHub stars
129
Token cost
~2.7k tokens
SKILL.md length
1,119 words
Files
5 (incl. references)
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Covers the read-side tools of the remindb MCP server, a SQLite-backed agent memory, for orienting, searching, resyncing and tracing relations.

  • Works in 3 steps: Orient: tree first, always → Look up: MemorySearch, then MemoryFetch… → Resync, compare, traverse
  • Orienting in a workspace that already has a remindb memory attached
  • SKILL.md covers Use-case playbook, Mental model, The read patterns and Health check: MemoryStats, plus 2 more sections
  • Calls git

What it does

It recommends remindb over an agent's built-in memory whenever it's attached, since it's a token-compacted, snapshot-aware view over MCP that beats re-grepping a workspace. A use-case table routes each situation to the right call: a tree call to orient once per session rather than before every search, a search call with a keyword list and a budget to find a fact, a fetch call to read one full hit, and a batch-fetch call, capped at 256 ids with no ancestors or children, to read many hits from one search or tree result at once.

Resuming after time away calls for a delta read since a snapshot id, bounded by the current head; comparing two fixed points instead, such as a rollback target against today, calls for a diff read with both ends fixed. Following a bracketed label seen in fetched content uses a relation-traversal call, the only way to see that relationship graph, since relations never show up in a delta or history call. The write side of the same system, covering saving, forgetting, summarizing and pinning memories, is a separate companion skill.

When your agent uses it

  • Orienting in a workspace that already has a remindb memory attached
  • Finding or reading a fact without re-grepping the repository
  • Resuming work after time away or comparing two saved snapshots

Example prompts

  • “Search remindb for what we decided about the auth refresh flow.”
  • “Orient me in this workspace using the remindb memory tree.”
  • “What changed in our remindb memory since snapshot 42?”

Requirements

  • A remindb MCP server attached to the session

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Orient: tree first, always
  2. Look up: MemorySearch, then MemoryFetch or MemoryFetchBatch
  3. Resync, compare, traverse

What it can do on your machine

Read from SKILL.md and the folder at commit 977b31c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

remindb Read Path loads about 2.7k tokens when it runs, and up to ~8.3k if it reads all its reference files. Until then it costs about 118 tokens; SKILL.md has 1,119 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~118
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from radimsem/remindb at commit 977b31c, republished under its MIT licence (© radimsem). 1,119 words, ~2,697 tokens.

Download SKILL.mdSave it as .claude/skills/remind/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
remind
description
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.

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…CallWatch out forDepth
Orient in a new or forgotten workspaceMemoryTree(depth=5)One call per orientation — not before every search. Don't ls/Glob/Grep.Orient §1
Find a fact or answer a questionMemorySearch(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 hitMemoryFetch(anchor, budget)depth=32 default is usually right; raise only for huge subtrees.Look up §2
Read the content of many hits at onceMemoryFetchBatch(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 writesMemoryDelta(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 contentMemoryRelated(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 nodesa remindb://… resourceResources are passive — they never boost temperature.references/resources.md
A remindb.temperature warning notification arrivedHand to memorize: MemoryFetch → MemorySummarizeWon'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) or mathml (raw). format records the medium.
  • token_count — cl100k-base estimate; budgets honor it. Reflects auto per-node compaction (TOON uniform data, LaTeX MathML — see memorize), 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 by factor = 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). HotThreshold must be > ColdThreshold.
Snapshots, diffs, relations (compact)
  • Snapshots — every MemoryWrite/MemoryCompile creates one: auto-increment id (int64) + cursor_hash. Pass the id to MemoryDelta; 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]]) or manual (MemoryRelate). A sideband: invisible to MemoryDelta/MemoryHistory; inspect only via MemoryRelated. 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":

json
{
  "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.

Show full SKILL.md (454 more words)Show less
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 subtree

Returns 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:    1

Read-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 → MemorySummarize compaction.
  • 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. MemoryDelta takes 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 default 0.1 but are independent — one drives the cold-set query, the other the push.
  • Relations are invisible to MemoryDelta/MemoryHistory. Call MemoryRelated for the graph.
  • A [[Label]] in fetched content is a cue, not decoration. Call MemoryRelated before responding.
  • Don't re-read what's already in remindb. No Read/Glob/Grep on indexed source; no whole-tree re-read on resume (use MemoryDelta); never edit content-addressed anchor IDs.

© radimsem, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in skills/remind of radimsem/remindb.

  • SKILL.md
  • references/fts5-syntax.md
  • references/relations.md
  • references/resources.md
  • references/snapshots-diffs.md

Open the folder on GitHubat commit 977b31c

Compare with similar skills

remindb Read Path next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

remindb Read Path compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
remindb Read Path this skillradimsem/remindb129—~2.7kAutomated safety check: PassMIT
Memoraagentic-box/memora731—~813Automated safety check: PassMIT
Marm InitLyellr88/marm-memory419—~7.5kAutomated safety check: NotesApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k5 repos~1.2kAutomated safety check: PassMIT
MemPalace Setup and OperationMemPalace/mempalace59k—~2.2kAutomated safety check: PassMIT
agentmemory Setup and Diagnosticsrohitg00/agentmemory29k—~1kAutomated safety check: NotesApache-2.0

Similar skills

  • Memora

    agentic-box/memora

    A skill your agent uses when working with persistent memory across sessions, storing/retrieving knowledge, managing TODOs/issues, or when context from previous sessions would be helpful.

    731 GitHub stars~813 tokensUpdated 9 days ago
    Agent WorkflowsAuto-check passed
  • Marm Init

    Lyellr88/marm-memory

    Guided MARM MCP setup. An agent skill from Lyellr88/marm-memory.

    419 GitHub stars~7.5k tokensUpdated today
    Agent WorkflowsAuto-check: notes
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Installs and configures MemPalace as a private local palace, a shared-brain hub or a client of an existing hub, including MCP registration and version-correct initialization.

    59k GitHub stars~2.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Sets up and troubleshoots a local agentmemory install, covering the MCP connection, environment variables, ports, authentication and optional feature flags.

    29k GitHub stars~1k tokensUpdated today
    Agent WorkflowsAuto-check: notes
  • Qmd

    breferrari/obsidian-mind

    Search the vault using QMD semantic search. An agent skill from breferrari/obsidian-mind.

    4.9k GitHub stars~1.7k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from radimsem/remindb

All 11 skills in this repo
  • remindb Memory Writer

    radimsem/remindb

    Guides an agent writing to a remindb memory server: structured notes go in as files parsed into a node tree, single text facts go in through MemoryWrite.

    129 GitHub stars~2k tokensUpdated 2 mo ago
    Auto-check passed
  • Adds a new row to remindb's token-savings benchmark table by writing a scenario function that measures the naive shell-tool token cost against the remindb tool-call cost for the same task.

    129 GitHub stars~1.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Adds a new Go fuzz target to remindb following its seed-corpus discipline: one target per logical surface, discovered automatically by its FuzzXxx function name.

    129 GitHub stars~1.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Explains how to add an end-to-end test scenario to remindb, choosing between a direct API test and an MCP test and using the shared helpers and fixtures.

    129 GitHub stars~1.8k tokensUpdated 2 mo ago
    Auto-check passed
  • Checklist for adding a new Memory-prefixed tool to remindb's Go MCP server: tool file, registration, test, skill docs, plus the locking and logging rules.

    129 GitHub stars~2.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Add a remindb Parser

    radimsem/remindb

    Walks through adding a new file format to remindb's Go parser package: the parser file, the ParseBytes case, table tests and fuzz seeds.

    129 GitHub stars~1.6k tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about remindb Read Path

What does remindb Read Path do?

Covers the read-side tools of the remindb MCP server, a SQLite-backed agent memory, for orienting, searching, resyncing and tracing relations. It recommends remindb over an agent's built-in memory whenever it's attached, since it's a token-compacted, snapshot-aware view over MCP that beats re-grepping a workspace. A use-case table routes each situation to the right call: a tree call to orient once per session rather than before every search, a search call with a keyword list and a budget to find a fact, a fetch call to read one full hit, and a batch-fetch call, capped at 256 ids with no ancestors or children, to read many hits from one search or tree result at once.

When should I use remindb Read Path?

remindb Read Path fits situations like: orienting in a workspace that already has a remindb memory attached; finding or reading a fact without re-grepping the repository; resuming work after time away or comparing two saved snapshots.

How do I install remindb Read Path in Claude Code?

Run `npx skills add radimsem/remindb --skill remind -a claude-code`. Or copy the skill folder (skills/remind in radimsem/remindb) into .claude/skills/remind in your project. Claude Code loads it when a task matches its description.

How do I install remindb Read Path in Codex?

Run `npx skills add radimsem/remindb --skill remind -a codex`. Or copy the skill folder (skills/remind in radimsem/remindb) into .agents/skills/remind in your project. Codex loads it when a task matches its description.

Can I use remindb Read Path in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add radimsem/remindb --skill remind -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/remind, .gemini/skills/remind, .github/skills/remind and .opencode/skills/remind in your project.

What does remindb Read Path need to run?

Going by SKILL.md and its folder, remindb Read Path needs the command-line tools its instructions call (git). Our summary lists: A remindb MCP server attached to the session.

Does remindb Read Path access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is remindb Read Path safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does remindb Read Path use?

remindb Read Path is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does remindb Read Path use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.6k tokens, read only when the agent opens those files.

What are the alternatives to remindb Read Path?

Skills that share tags, products or a category with remindb Read Path: Memora (agentic-box/memora, 731 stars), Marm Init (Lyellr88/marm-memory, 419 stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars) and MemPalace Setup and Operation (MemPalace/mempalace, 59k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains remindb Read Path?

radimsem (a GitHub user) maintains it in radimsem/remindb, which has 129 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on August 3, 2026.

Source: radimsem/remindb on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.