Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

read-memories

Skill by duckdb

read-memories searches past Claude Code session logs to recall earlier decisions, patterns, and unresolved work. It is for Claude Code users who want context from prior sessions.

  • Score 73
  • 625 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install read-memories

Built from the published package, never by AI.

git clone --depth 1 https://github.com/duckdb/duckdb-skills /tmp/duckdb-skills && mkdir -p ~/.claude/skills && cp -r /tmp/duckdb-skills/skills/read-memories ~/.claude/skills/read-memories

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install read-memories in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

read-memories is an agent skill that searches past Claude Code session logs for a keyword. It helps the assistant recall earlier decisions, patterns, and unresolved work so it can use that context in the current response. The skill is meant to run when a user asks things like "do you remember" or "what did we do", or when the assistant needs context from earlier sessions.

It runs a DuckDB query over the JSONL files in the user's .claude/projects folder. By default it searches all projects. Passing --here limits the search to the project for the current directory. Results are capped at 40 rows and each message is cut to 500 characters. The skill tells the assistant to use the results silently and not repeat raw logs to the user.

Written from the project's SKILL.md and checked against it.

What it can do

  • Keyword search across sessionsSearches all past Claude Code session logs for a given keyword.
  • Current project scopeWith --here, limits the search to the project for the current directory.
  • Silent context recallExtracts decisions, patterns, TODOs, and corrections without repeating raw logs to the user.

What you need

  • Claude Code session logs in $HOME/.claude/projects
  • DuckDB command line tool
  • Bash tool access

Try asking

  • Do you remember what we decided about the database schema?
  • What did we do about the failing login tests last time?
  • Search my past sessions for "migration" in this project only.

Good to know

  • Results are capped at 40 rows.
  • Each message is truncated to 500 characters.
  • Matches the keyword with a case-insensitive text search.

Security check

B
  • Allowed to use Bash without limitsIn SKILL.md

Checked automatically: skills/read-memories/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Bash

Alternatives to read-memories

All alternatives →

Compare with agentmemory-config, understand-knowledge or reports

read-memories: common questions

Where does read-memories look for past conversations?

It reads the JSONL session files under $HOME/.claude/projects. With --here it reads only the folder for the current project.

Does read-memories show the raw session logs to the user?

No. The skill says to extract decisions, patterns, and unresolved work and use them silently in the response.

What triggers read-memories?

The skill description says to use it when a user says "do you remember" or "what did we do", or refers to past conversations.

How do I install read-memories?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is read-memories free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is read-memories safe to use?

It scores 73 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use bash without limits). Review the code before you install. How grades work.

What are alternatives to read-memories?

Similar skills: agentmemory-config, understand-knowledge, reports, forget.

read-memories Install

Add to stack

Loading.