Skip to content
Agentmart
Submit a tool

deep-recall

4-layer recall procedure (durable → semantic → PostgreSQL → daily notes) before claiming "no context".

Skill by netanel-abergel

IndexedMIT★ 6
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/netanel-abergel-deep-recall

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

4-layer recall procedure (durable → semantic → PostgreSQL → daily notes) before claiming "no context". Invoke when user explicitly asks "do you remember", "what did we discuss about X", "search history". NOT a general assistant — only fires when recall is the explicit task. Drop the prior "use proactively" rule. Triggers: "do you remember", "what did we discuss", "when did", "find that conversation about".

Use cases: productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/deep-recall

What's inside

Skill name
deep-recall
Description
4-layer recall procedure (durable → semantic → PostgreSQL → daily notes) before claiming "no context". Invoke when user explicitly asks "do you remember", "what did we discuss about X", "search history". NOT a general assistant — only fires when recall is the explicit task. Drop the prior "use proactively" rule. Triggers: "do you remember", "what did we discuss", "when did", "find that conversation about".
License
MIT
Instructions
66 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Deep Recall

**Rule: Never say "I don't have context" without searching all sources first.**

## Search Order (mandatory, in sequence)

### 1. Memory Search (semantic)
```
memory_search(query="<topic>")
```
Searches MEMORY.md + memory/*.md + indexed session transcripts.

### 2. Session Search (FTS + PostgreSQL + daily notes)
```bash
python3 tools/session_search.py "<query>" --limit 10 --days 30
```
Full-text search across SQLite FTS5 index, WhatsApp DB, and daily notes.

### 3. PostgreSQL Direct (for specific conversations)
```python
import os, psycopg2
conn = psycopg2.connect(os.environ['PA_DB_URL'])
cur = conn.cursor()
cur.execute("""
    SELECT body, ts, chat_id, is_from_me 
    FROM messages 
    WHERE body ILIKE %s 
    AND ts > NOW() - INTERVAL '30 days'
    ORDER BY ts DESC LIMIT 10
""", ('%keyword%',))
```

### 4. Daily Notes Grep (for dated events)
```bash
grep -rn "<keyword>" memory/daily/ | tail -20
```

### 5. WhatsApp DM Context Files
```bash
grep -rn "<keyword>" memory/whatsapp/dms/*/context.md
```

## When to Trigger

- Any question starting with "did we", "when did", "what about", "do you remember"
- Before saying "I don't have context on this"
- Before saying "I'll need to check"
- When the owner references something from a past conversation
- When another PA asks about a previous interaction

## Output Rules

- If found: cite the source (file:line or timestamp)
- If not found after all 5 searches: say "I searched memory, WhatsApp history, and daily notes — no match found"
- Never say "I don't remember" without running all searches
- If partial match: share what was found and ask for clarification

## Common Recall Failures to Avoid

- Saying "let me check" and then not actually checking
- Searching only one source and giving up
- Assuming something wasn't discussed because it's not in MEMORY.md (check PostgreSQL!)
- Forgetting that WhatsApp group messages exist in the DB too
- Not checking DM context files in `memory/whatsapp/dms/`

From netanel-abergel/pa-skills, MIT.

More from netanel-abergel/pa-skills

Signals

Stars
6
Forks
1
Open issues
0
Last commit (this folder)
May 9, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from netanel-abergel

Cite this page

deep-recall skill. Agent Mart. https://agentmart.dev/skills/netanel-abergel-deep-recall (last updated 2026-10-24)