Official agent skill

Read Memories

by duckdb in duckdb/duckdb-skills

Search past Claude Code session logs to recall prior decisions, patterns, or unresolved work.

OfficialMITAuto-check: notes

Install Read Memories

skills CLI
$ npx skills add duckdb/duckdb-skills --skill read-memories -a claude-code

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

GitHub CLI
$ gh skill install duckdb/duckdb-skills read-memories --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/duckdb/duckdb-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/read-memories .claude/skills/read-memories && 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
read-memories
GitHub stars
604
Used in
1 other repo
Token cost
~346 tokens
SKILL.md length
83 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

Search past Claude Code session logs to recall prior decisions, patterns, or unresolved work.

  • Works in 2 steps: Query → Internalize
  • User says do you remember
  • SKILL.md covers Step 1 — Query and Step 2 — Internalize
  • Calls duckdb

What it does

Read Memories is an agent skill from duckdb/duckdb-skills, published by the product's own GitHub organization. Search past Claude Code session logs to recall prior decisions, patterns, or unresolved work. Use when user says "do you remember", "what did we do", references past conversations, or you need context from prior sessions.

Its SKILL.md is about 350 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The licence is MIT.

When your agent uses it

  • User says do you remember
  • References past conversations
  • You need context from prior sessions

Example prompts

  • “do you remember”
  • “what did we do”
  • “/read-memories”

Requirements

  • Pre-approved tools (allowed-tools): Bash

Workflow steps

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

  1. Query
  2. Internalize

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • duckdb

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

  • Network

    No URLs in SKILL.md.

    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

Read Memories loads about 346 tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 83 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~346

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash

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 duckdb/duckdb-skills at commit 7feda8e, republished under its MIT licence (© duckdb). 83 words, ~346 tokens.

Download SKILL.mdSave it as .claude/skills/read-memories/SKILL.md (or your agent's skills folder).
name
read-memories
description
Search past Claude Code session logs to recall prior decisions, patterns, or unresolved work. Use when user says "do you remember", "what did we do", references past conversations, or you need context from prior sessions.
allowed-tools
Bash
argument-hint
<keyword> [--here]

Search past session logs silently — do NOT narrate the process. Absorb the results and continue with enriched context.

$0 is the keyword. Pass --here as $1 to scope to the current project only.

Step 1 — Query

bash
duckdb :memory: -c "
SELECT
  regexp_extract(filename, 'projects/([^/]+)/', 1) AS project,
  strftime(timestamp::TIMESTAMPTZ, '%Y-%m-%d %H:%M') AS ts,
  message.role AS role,
  left(message.content::VARCHAR, 500) AS content
FROM read_ndjson('<SEARCH_PATH>', auto_detect=true, ignore_errors=true, filename=true)
WHERE message::VARCHAR ILIKE '%<KEYWORD>%'
  AND message.role IS NOT NULL
ORDER BY timestamp
LIMIT 40;
"

Search paths:

  • All projects: $HOME/.claude/projects/*/*.jsonl
  • Current only (--here): $HOME/.claude/projects/$(echo "$PWD" | sed 's|[/_]|-|g')/*.jsonl

Replace <SEARCH_PATH> and <KEYWORD> before running.

Step 2 — Internalize

From the results, extract decisions, patterns, unresolved TODOs, and user corrections. Use this to inform your current response — do not repeat raw logs to the user.

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

Files

Just SKILL.md in skills/read-memories of duckdb/duckdb-skills.

Open the folder on GitHubat commit 7feda8e

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in duckdb/duckdb-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Read Memories 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.

Read Memories compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Read Memories this skillduckdb/duckdb-skills6041 repos~346Automated safety check: NotesMIT
Memori Long-Term MemoryMemoriLabs/Memori17k—~2kAutomated safety check: NotesCustom licence
Cognee Memory Recalltopoteretes/cognee32k—~2.6kAutomated safety check: PassApache-2.0
Memori Long-Term MemoryMemoriLabs/Memori17k—~2kAutomated safety check: PassApache-2.0
Memory Recallzilliztech/memsearch2.7k—~1kAutomated safety check: PassMIT
Memory Recallzilliztech/memsearch2.7k—~807Automated safety check: PassMIT

Similar skills

  • Memori Long-Term Memory

    MemoriLabs/Memori

    Connects Claude Code to Memori Cloud for long-term memory, recalling stored context before substantive replies and saving new context afterward.

    17k GitHub stars~2k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check: notes
  • Cognee Memory Recall

    topoteretes/cognee

    Explains how to query cognee agent memory with recall(): how the search type is chosen, how to narrow a query to datasets, and what the returned results contain.

    32k GitHub stars~2.6k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Memori Long-Term Memory

    MemoriLabs/Memori

    Adds structured long-term memory to OpenClaw agents, built automatically from sessions, with tools the agent calls to recall facts, summaries and decisions.

    17k GitHub stars~2k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • Memory Recall

    zilliztech/memsearch

    Search and recall relevant memories from past sessions via memsearch.

    2.7k GitHub stars~1k tokensUpdated 15 days ago
    AI & LLM EngineeringAuto-check passed
  • Memory Recall

    zilliztech/memsearch

    Search and recall relevant memories from past sessions via memsearch.

    2.7k GitHub stars~807 tokensUpdated 15 days ago
    AI & LLM EngineeringAuto-check passed
  • Memory

    yc-software/qm

    Deliberately search, add to, or curate your long-term memory with the memory tool — beyond the automatic recall/capture every turn already does.

    15k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from duckdb/duckdb-skills

All 8 skills in this repo
  • Spatial

    duckdb/duckdb-skills

    Official

    Answer questions about spatial data using DuckDB. An agent skill from duckdb/duckdb-skills.

    604 GitHub starsUsed in 1 repo~1k tokens
    Auto-check: notes
  • Convert File

    duckdb/duckdb-skills

    Official

    Convert any data file to another format: CSV, Parquet, JSON, Excel, GeoJSON, and more.

    604 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • S3 Explore

    duckdb/duckdb-skills

    Official

    Explore and query data on S3, Cloudflare R2, GCS, MinIO, or any S3-compatible storage.

    604 GitHub starsUsed in 1 repo~848 tokens
    Auto-check: notes
  • Read File

    duckdb/duckdb-skills

    Official

    Read any data file (CSV, JSON, Parquet, Avro, Excel, spatial, SQLite) or remote URL (S3, HTTPS).

    604 GitHub starsUsed in 1 repo~917 tokens
    Auto-check: notes
  • Attach DB

    duckdb/duckdb-skills

    Official

    Attach a DuckDB database file for use with /duckdb-skills:query.

    604 GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check: notes
  • Duckdb Docs

    duckdb/duckdb-skills

    Official

    Search DuckDB and DuckLake documentation and blog posts. An agent skill from duckdb/duckdb-skills.

    604 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check: notes

Questions about Read Memories

What does Read Memories do?

Search past Claude Code session logs to recall prior decisions, patterns, or unresolved work. Read Memories is an agent skill from duckdb/duckdb-skills, published by the product's own GitHub organization. Search past Claude Code session logs to recall prior decisions, patterns, or unresolved work.

When should I use Read Memories?

Read Memories fits situations like: user says do you remember; references past conversations; you need context from prior sessions.

How do I install Read Memories in Claude Code?

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

How do I install Read Memories in Codex?

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

Can I use Read Memories 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 duckdb/duckdb-skills --skill read-memories -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/read-memories, .gemini/skills/read-memories, .github/skills/read-memories and .opencode/skills/read-memories in your project.

What does Read Memories need to run?

Going by SKILL.md and its folder, Read Memories needs the command-line tools its instructions call (duckdb). Its frontmatter pre-approves these tools: Bash.

Does Read Memories access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Read Memories safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Read Memories use?

Read Memories 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 Read Memories use?

About 346 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Read Memories?

Skills that share tags, products or a category with Read Memories: Memori Long-Term Memory (MemoriLabs/Memori, 17k stars), Cognee Memory Recall (topoteretes/cognee, 32k stars), Memori Long-Term Memory (MemoriLabs/Memori, 17k stars) and Memory Recall (zilliztech/memsearch, 2.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Read Memories?

duckdb (a GitHub organization, an official publisher) maintains it in duckdb/duckdb-skills, which has 604 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on April 23, 2026.

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