recall
Retrieve memory from past sessions. Use whenever the user asks about past conversations, prior decisions, "what did we do about X", "when did we last...", "do you remember...", or anything where the answer might live outside the current session's context. Uses progressive disclosure across six tiers (hot memory → dated episodes → raw sessions) with an uncertainty gate — stops expanding context when confidence plateaus.
Best use case
recall is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Retrieve memory from past sessions. Use whenever the user asks about past conversations, prior decisions, "what did we do about X", "when did we last...", "do you remember...", or anything where the answer might live outside the current session's context. Uses progressive disclosure across six tiers (hot memory → dated episodes → raw sessions) with an uncertainty gate — stops expanding context when confidence plateaus.
Teams using recall should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/recall/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How recall Compares
| Feature / Agent | recall | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Retrieve memory from past sessions. Use whenever the user asks about past conversations, prior decisions, "what did we do about X", "when did we last...", "do you remember...", or anything where the answer might live outside the current session's context. Uses progressive disclosure across six tiers (hot memory → dated episodes → raw sessions) with an uncertainty gate — stops expanding context when confidence plateaus.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# recall
Three storage tiers, searched cheapest first. Stop at the tier that answers
the question confidently. Do not expand further if more context is not
helping — that is the uncertainty gate.
## Storage tiers
| Tier | Source | Cost |
|-----------|-------------------------------------|-----------------------|
| Hot | `MEMORY.md`, `USER.md` | ~0 (already in prompt) |
| Episodes | `~/.hermes/episodes/*.md` | grep, small files |
| Sessions | `~/.hermes/sessions/*.jsonl` | grep, large files |
Episodes answer "did this happen, and when". Raw sessions answer "what was
the exact error we hit" — the detail the summary dropped.
## Disclosure levels
Run these in order. Stop as soon as you can answer confidently (see
"Uncertainty gate" below).
### L0 — hot memory
Check `MEMORY.md` and `USER.md` (already in your system prompt). If the
answer is there, you are done.
### L1 — list episode dates
```bash
ls ~/.hermes/episodes/ | grep -E '^[0-9]{4}-[0-9]{2}-[0-9]{2}\.md$' | sort
```
Useful when the user gives a rough date ("last Tuesday", "a couple weeks
ago") — pick the right file and skip to L3.
### L2 — theme match on tag line (canonical themes)
The `[meta] Episode tags (canonical)` entry in MEMORY.md lists searchable
themes. If the user's query maps to one of those themes, grep only the
`tags:` line of each episode file — precise, no false positives from
passing mentions:
```bash
grep -l "^tags:.*\b<theme>\b" ~/.hermes/episodes/*.md
```
### L2.5 — content match across episode files
If L2 misses (query not in canonical themes) or returns nothing, grep
anywhere in episode files:
```bash
grep -il "<query>" ~/.hermes/episodes/*.md
```
### L3 — cat one episode file
Once you have candidate date(s), read the full day's summaries:
```bash
cat ~/.hermes/episodes/<YYYY-MM-DD>.md
```
Each session block has `summary:` and `tags:`. This is usually enough.
### L4 — grep raw session transcripts
When an episode summary dropped the detail you need (exact error string,
code snippet, command used), grep the raw sessions:
```bash
grep -l "<query>" ~/.hermes/sessions/*.jsonl
```
Expensive — only do this if episodes are too coarse.
### L5 — read one raw session
```bash
jq -r '.messages[] | select(.role=="user" or .role=="assistant") | "\(.role): \(.content)"' \
~/.hermes/sessions/<session>.jsonl | less
```
Or a simple `cat` if the jsonl is small. Stop here; do not keep searching.
## Uncertainty gate
After each tier, self-rate your confidence in the current answer on a
0–1 scale:
1. Start at L0. If confidence ≥ 0.7, answer.
2. Else expand one tier. Re-answer. Re-score.
3. If confidence gained from this tier is < 0.1 (context did not help),
**stop** — more context is noise. Tell the user what you found and
what's still uncertain.
4. Hard cap at L5. If still low confidence there, say you don't know.
Do not fabricate.
Skipping tiers is fine when the query shape makes the lower tier irrelevant
(e.g. date-shaped query → straight to L3; exact-error query → straight
to L4).
## Output shape
- If a single clear answer emerged, state it with the episode date as
evidence: *"On 2026-04-15 we fixed the Anthropic proxy routing — the
`_get_model_config()` merge patch."*
- If multiple episodes matched, list them briefly with dates and let the
user pick.
- If nothing matched, say so — do not invent.
## Project-local session extraction
When a project runs its own Hermes Agent instance (e.g., CPE Research at
`~/projects/avgo/hermes_home/`), its sessions live in THAT project's
`hermes_home/sessions/`, not `~/.hermes/sessions/`. If workspace output
files are missing but the run log shows completion, extract outputs from
the session JSON's `write_file` tool call arguments. See
`references/hermes-agent-session-extraction.md` for the extraction pattern.
## Safety rails
- Never expose content from `~/.hermes/.env`, `auth.json`, `state.db`, or
anything in `~/.ssh/` / `~/.aws/`. `recall` reads only `episodes/` and
`sessions/`.
- Never share raw transcript content from group-chat sessions without
summarizing first. Signal UUIDs, phone numbers, and third-party PII
must not appear in your answer even if they appear in the transcript.Related Skills
writer
Write content in Eric's voice — articles, blog posts, tweets, social media posts, marketing copy, newsletter drafts. Loads WRITING-STYLE.md and enforces kill phrases.
positioning-angles
Use when defining product positioning, choosing strategic angles, crafting value propositions, competitive positioning, product messaging, differentiation strategy, or go-to-market angles. Also use for 'how should I position my app', 'what angle should I use', 'painkiller vs vitamin', or 'market positioning'.
outline-generator
Use when generating outlines, article structures, content outlines, blog outlines, planning article sections, structuring posts, breaking down topics into sections, or organizing ideas for long-form content. Also use for 'outline this', 'structure this article', or 'plan the sections'.
last30days-open
Use only when the user explicitly asks for the open variant of last30days, including watchlists, briefings, and history queries. Sources: Reddit, X, YouTube, web.
last30days
Use when researching what happened in the last 30 days on a topic. Also triggered by 'last30'. Sources: Reddit, X, YouTube, web. Produces expert-level summary with copy-paste-ready prompts.
hooks
Use when generating hooks, headlines, titles, and scroll-stopping openers for content. Also use when analyzing viral posts, Reels, TikToks, YouTube Shorts, or successful social examples to extract reusable hook patterns and improve hook guidance.
evaluate-content
Use when judging content quality OR editing/improving existing copy: shareability, readability, voice, cuttability, angle, copy sweeps.
editor-in-chief
Use when a first draft is complete and all Phase 1 gates are done: topic selected (seo-research), title approved (hooks), outline approved (outline-generator), draft written (writer). Runs autonomous diagnosis-prescribe-rewrite loop before Substack.
copywriting
Write or improve marketing copy for any surface: pages, ads, app stores, landing pages, TikTok/Meta scripts, push notifications, UGC. Combines page copy frameworks with direct response principles.
content-strategy
Use when building content strategy: hooks, angles, and ideas from what's trending now. Covers organic and paid creative across TikTok, X, YouTube, Meta, LinkedIn.
content-pipeline
Orchestrator for the 3-article content pipeline — runs research phase, spawns parallel article sub-agents, creates Typefully drafts. Use when running the full content pipeline (usually via cron at 3am).
yt-dlp
Download audio/video from YouTube and other sites using yt-dlp. Use when the user asks to download music, songs, albums, podcasts, or video from YouTube or similar platforms. Triggers on 'download song', 'get mp3', 'yt-dlp', 'youtube download', 'rip audio'.