memory-recall

A memory lookup skill for coding-agent conversations, using stored notes from earlier work to find related decisions, lessons, and context.

In plain words
What is it for?
Use it to recall past decisions, explain earlier solutions, or bring historical context into a new task, such as authentication work.
Why use it?
It helps prevent repeating investigations or forgetting why a technical choice was made. It can connect current work with similar problems handled before.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/zircote/git-notes-memory/memory-recall
Any agent
npx skills add zircote/git-notes-memory --skill memory-recall
Clone the repo
git clone --depth 1 https://github.com/zircote/git-notes-memory

Made for: Claude Code, Codex.

Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00083 $0.01627
Opus 5 $0.00042 $0.00813
Sonnet 5 $0.00017 $0.00325
Haiku 4.5 $0.00008 $0.00163

Measured yesterday against content hash 277777c5edbc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

memory-recall scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (examples/auto-recall.py, examples/filtered-search.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/memory-recall/SKILL.md · 204 lines

How it starts

The opening of the file, as written. The whole thing — 204 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Memory Recall Skill

Automatically recalls relevant memories from the git-backed memory system to provide historical context during conversations.

Purpose

This skill bridges the gap between conversations by surfacing relevant decisions, learnings, context, and patterns stored in the git notes memory system. It helps maintain continuity across sessions and prevents re-solving problems that have already been addressed.

When This Skill Activates

Direct Triggers

  • Questions about past work: "what did we decide about...", "how did we handle...", "why did we choose..."
  • Explicit recall requests: "recall", "remember when", "previously", "last time"
  • Decision inquiries: "what was the reasoning", "why are we using..."

Contextual Triggers

  • Starting work on a feature that has related memories
  • Encountering errors similar to previously resolved issues
  • Discussing topics with high relevance scores to stored memories
  • Beginning tasks where historical context would be valuable

Core Workflow

Step 1: Context Extraction

Extract key concepts from the current conversation:

from git_notes_memory import get_recall_service

recall = get_recall_service()

# Extract concepts from recent messages
concepts = extract_concepts(conversation_context)
# Examples: file names, function names, error messages, technology terms

Step 2: Memory Search

Perform semantic search across namespaces:

python3 -c "
from git_notes_memory import get_recall_service

recall = get_recall_service()
results = recall.search(
    query='''$EXTRACTED_CONCEPTS''',
    k=5,
    min_similarity=0.7  # Only high-relevance results
)

for r in results:
    print(f'{r.memory.namespace}: {r.memory.summary} (score: {r.similarity:.2f})')
"

Step 3: Format Results

Present memories in a non-intrusive summary:

**Relevant Memories Found** (3 matches)

1. **Decisions** (0.92 relevance): Use PostgreSQL for JSONB support
2. **Learnings** (0.85 relevance): Connection pooling prevents timeouts
3. **Progress** (0.78 relevance): Database schema in migrations/

_Use `/memory:recall` for more details or `/memory:search` for custom queries._

Read the full file on GitHub · 204 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 204 lines · 83 tokens per session scan A 277777c5edbc

Subscribe to this mod's changes

memory-recall is a skill published in the GitHub repository zircote/git-notes-memory (4 stars, last pushed 8mo ago), licensed MIT. It adds 83 tokens to every session and 1,627 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

skills-installer

Install, list enabled, validate, or package LiveAgent skills. Use when you need to inspect the skills enabled in the current conversation, import a local skill directory or package, search/install from ClawHub, install from a GitHub repo/tree URL, or reconcile conflicts during an upgrade.

Stack-Cairn/LiveAgent · 62 tokens

ai-toolkit-trainer

Train custom LoRAs with ostris AI-Toolkit. Covers WAN 2.2/2.1 (people, styles, video motion) and Z-Image (Turbo & Base, low-VRAM image LoRAs). Use when the user wants to train a WAN or Z-Image LoRA; covers local + RunPod setup, dataset prep, key params, and using the result in a ComfyUI workflow.

artokun/comfyui-mcp · 93 tokens

26-thought-leadership-content

Dung khi mot CA NHAN can viet BAI DAI de xay uy tin, khong phai copy ban hang — 3 cau truc chuan cho thi truong VN gom PAS-Insight cho founder, Story-Lesson-CTA cho coach, Hook-List-Reveal cho creator; 6 cong thuc hook long-form; ky thuat nhip cau; do dai theo nen tang LinkedIn, Facebook, newsletter; ma tran tai su…

minhnv0807/ai-business-skills · 216 tokens

27-personal-brand-monetize

Dung khi mot CA NHAN da co nguoi theo doi va muon RA TIEN — 3 phien ban funnel cho founder, coach, creator; offer ladder tu mien phi den high-ticket; tam ly gia cho dich vu gan voi con nguoi; inbound vs outbound; dam phan brand deal cho creator; thue va phap ly ca nhan tai VN. Kich hoat khi user nhac 'kiem tien tu…

minhnv0807/ai-business-skills · 206 tokens

31-offer-design-global

Use when the WHAT being sold needs work, not the price and not the copy — core promise, value stack, bonuses, guarantee and risk reversal, honest scarcity and urgency, tier packaging, upsell and downsell paths, and high-ticket or productized service structures. Trigger on 'design an offer', 'irresistible offer'…

minhnv0807/ai-business-skills · 172 tokens

xiaohongshu-title

《小红书运营手册 · AI工作台》标题生成与优化技能。用于用户明确要为小红书笔记、封面短句、图文/短视频标题、种草、教程、测评、服务内容起标题、改标题、做标题方向选择时触发。输入可以是正文草稿、选题方向、产品卖点、账号定位、图片/视频描述或已有标题。默认用快速模式输出标题;用户要求分析、首推、理由、方向、诊断或优化时用诊断/优化模式。不要在普通文章标题、论文标题、新闻标题、课程命名等非小红书/社媒场景中自动触发。.

mengke-wang/xiaohongshu-ai-workbench · 157 tokens