memory-recall
/memory-recall
This skill should be used whenever the user asks about something that happened in a past conversation, a specific time window, or current status — "what did we do this morning / yesterday / today", "how''s everything looking", "what''s in flight", "check memory", "do you remember", "have we seen this before", "what is the IP of X". Encodes the rivet-memory recall discipline — workboard for status, browse FIRST for time-bounded questions, multi-angle search plus trigram fallback for topic questions.
- Author
- philbert440 ↗
- Repository
- rivetos ↗
- Licence
- Apache-2.0
- Last repository change
- 26.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
This skill should be used whenever the user asks about something that happened in a past conversation, a specific time window, or current status — "what did we do this morning / yesterday / today", "how''s everything looking", "what''s in flight", "check memory", "do you remember", "have we seen this before", "what is the IP of X". Encodes the rivet-memory recall discipline — workboard for status, browse FIRST for time-bounded questions, multi-angle search plus trigram fallback for topic questions.
Triggers from the description
Original author description
This skill should be used whenever the user asks about something that happened in a past conversation, a specific time window, or current status — "what did we do this morning / yesterday / today", "how''s everything looking", "what''s in flight", "check memory", "do you remember", "have we seen this before", "what is the IP of X". Encodes the rivet-memory recall discipline — workboard for status, browse FIRST for time-bounded questions, multi-angle search plus trigram fallback for topic questions.
How it works
- Step 0 — Whose memory is this? (identity check)
- The rules
- Decision flow
- Worked examples
- Why this exists
SKILL.md preview
---
name: memory-recall
description: 'This skill should be used whenever the user asks about something that happened in a past conversation, a specific time window, or current status — "what did we do this morning / yesterday / today", "how''s everything looking", "what''s in flight", "check memory", "do you remember", "have we seen this before", "what is the IP of X". Encodes the rivet-memory recall discipline — workboard for status, browse FIRST for time-bounded questions, multi-angle search plus trigram fallback for topic questions.'
version: 0.2.1
---
# Memory Recall Discipline
## Step 0 — Whose memory is this? (identity check)
Before recalling anything, run the canonical identity contract:
**CORE.md § "Who Am I Talking To?"** at the workspace root. That block is the
single executable copy — the two commands, both branches, and the fail-safe
live there, once. Apply its outcome; do not restate or improvise the rule
here.
The store your tools hit is shared by every Rivet agent **serving this same
user** — cross-agent recall stays first-class, per user, never across users.
**Delegating to `memory-researcher`? Bind the phrase to the branch** — owner
mode says exactly "node owner"; routed mode says exactly
"routed user: <name> (<id>)". Never phrase the owner as a routed user. The
researcher has no shell and cannot run this check; an unstated identity
forces it into neutral framing.
You have persistent memory of every past conversation with your human — the
node owner, or the routed user when `RIVETOS_USER_ID` is set (Step 0) — via the
`rivet-memory` MCP tools (`memory_search`, `memory_browse`, `memory_stats`). The
tools are correct; what fails is **discipline** — reaching for `memory_search`
(semantic-ranked, keyword-fragile) when the question is time-bounded and
`memory_browse` (chronological, exhaustive) is the right reflex.
This skill exists because of one specific failure mode. Read the case study at
the bottom before you forget why these rules are non-negotiable.
## The rules
### 0. Status / "how's things" / "what's in flight"? → Workboard first
Prompts like "how's everything looking", "status", "catch me up" mean **current work across agents**, not `memory_stats` or box health.
1. Prefer `memory_browse` over the last ~24h (use `window="last_24h"` when available; otherwise local-now−24h → UTC `since`). Read user/assistant closers across agents.
2. Treat workspace `memory/*.md` notes as hints to verify, never as current state.
3. Host/`memory_stats` only as a secondary note when relevant.
**Default browse excludes `role=tool`.** Pass `include_tools=true` only when debugging capture, harness wiring, or tool failures.
### 1. Time-bounded question? → `memory_browse` with `since` / `before`. FIRST.
Any phrasing that pins a window — "this morning", "yesterday", "today",
"recently", "earlier", "last week", "the other day", "a couple days ago" —
means the user already knows *when* the relevant conversation happened. They
don't need relevance ranking. They need everything in that window.
**Timezone — read this once and don't get it wrong.** The DB stores
`created_at` in UTC. The user's "this morning" is in **their local
timezone**, not UTC. Naively passing `<today>T00:00:00Z` cuts off the wrong
slice — for PT/MT/ET users, UTC-midnight is the previous afternoon/evening
local, so a "this morning" query at 9am ET (= 13:00 UTC same day) silently
includes yesterday-evening's conversations and may miss late-morning ones
depending on which day's UTC midnight you picked. Convert the local window
to UTC (subtract the local offset, accounting for DST). If you don't know
the user's timezone, assume system local; never silently treat `currentDate`
as if it were UTC. `currentDate` is a date string, not a timestamp.
**Recipes** (replace dates with today's; ranges are local-then-converted-to-UTC):
- "this morning" → `memory_browse(since="<local-today-00:00 → UTC>", before="<now → UTC>")`
- "yesterday" → `memory_browse(since="<local-yesterday-00:00 → UTC>", before="<local-today-00:00 → UTC>")`
- "today" / "earlier today" → `memory_browse(since="<local-today-00:00 → UTC>")`
- "this week" → `memory_browse(since="<local-monday-00:00 → UTC>")`
- "the X days" / "recently" → start with `since="<now - 3d>"`, widen if thin
Pair with a topic filter only if browse returns more than ~30 entries — never
as the first cut.
### 2. Topic question, no timeframe? → multi-angle `memory_search`, three queries minimum.
For "where does X live", "what's the IP of Y", "have we ever set up Z" — vary
the angle. One semantic query is not enough; embeddings miss when the
vocabulary doesn't co-occur.
Run three queries from different vectors:
- by **service name** (`"frigate"`, `"nginx"`)
- by **host nickname** (`"lab-host"`, `"edge-box"`)
- by **subnet prefix** (`"192.0.2"`, `"198.51.100"`)
- by **role** (`"NVR"`, `"router"`, `"WAP"`)
Three queries from different vectors beats one query, every time.
### 3. Semantic returns thin? → fall back to `mode: "trigram"`.
`memory_search` defaults to semantic embeddings. They miss literal token
matches: IPs, MACs, hostnames, port numbers, exact error strings. The moment
you see ≤ 2 hits on a query that *should* have matched, re-run it with
`mode: "trigram"`. Often the result is already in memory, indexed under
different surrounding text.
### 4. Empty results aren't ground truth.
"No results found" means *your queries didn't surface it*, not *it isn't
there*. If the user pushes back ("check memory", "have you searched?"), treat
that as a **search-quality signal** — re-search with a different mode or
`memory_browse` with a date range before recommending external probes (ping,
nmap, asking the user, etc).
After locating a fact via probing or pushback, write a synonym-bridging memory
entry so the next session finds it from any angle.
## Decision flow
```
User question about past / status / facts
│
▼
Status / how's things / in flight?
YES → workboard browse last_24h (rule 0)
NO
│
▼
Does it mention a timeframe?
("this morning", "yesterday", "today", "recently"…)
│
┌─────┴─────┐
YES NO
│ │
▼ ▼
memory_browse Three memory_search queries
+ since/before from different angles
│ │
▼ ▼
≥ 1 hit? ≥ 1 hit?
│ │
NO NO
│ │
▼ ▼
Widen window Retry with mode: "trigram"
or add topic on each query
│ │
└─────┬─────┘
▼
Still nothing? User pushes back? → re-search,
don't externally probe yet.
```
## Worked examples
**"What were we doing this morning?"**
→ Compute local-today 00:00 in the user's TZ, convert to UTC.
`memory_browse(since="<that UTC>", before="<now UTC>")`. Do NOT use
`memory_search("what did we do this morning")` — that returns empty because
no past message contains those words verbatim. And do NOT pass
`<today>T00:00:00Z` raw — that's UTC midnight, which is yesterday afternoon
or evening for any US local timezone.
**"What's the frigate IP?"**
→ Topic question, no timeframe. Run three searches:
1. `memory_search("frigate NVR")` — semantic, by role
2. `memory_search("lab-host")` — by host nickname
3. `memory_search("192.0.2")` — by subnet, with `mode: "trigram"` if semantic is thin
**"Did we touch the router today?"**
→ Time-bounded ("today"). Compute local-today 00:00 → UTC, browse from
there. Then scan results for router-related entries. Don't search by
keyword first — the conversation might be tagged "openwrt", "198.51.100.1",
"WAP", "DHCP", any of which a single semantic query could miss.
**"Have we seen this error before?"**
→ Topic question with no timeframe. `memory_search` with the exact error
string in `mode: "trigram"` first — error messages are literal tokens, not
semantic concepts.
## Why this exists
Made-up example, not a real incident: an agent is asked what happened to a
lab service that morning. Topic search for the service name, a generic host
nickname, and a documentation-range subnet all return empty. Only
`memory_browse` over the morning window recovers the thread.
The tools were fine. The first reflex was wrong. This skill exists so the
next session does not repeat that.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · philbert440/rivetos | 100 | Apache-2.0 |
| zilliztech/memsearch | 100 | MIT |
| philbert440/rivetos | 100 | Apache-2.0 |
| legacybridge-tech/claude-plugins | 100 | MIT |
| kriscard/Skills | 90 | MIT |
| zilliztech/memsearch | 90 | MIT |
| zilliztech/memsearch | 90 | MIT |
| zilliztech/memsearch | 86 | MIT |
| HG-ha/Argusai | 86 | GPL-3.0 |
Database snapshot: 13.11.2026 · package version e671b7245e33 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90Memory recall and capture
Use this skill when the user wants to recall something from past conversations, project decisions, or learned preferences across sessions — or when they want to explicitly save something to long-term memory. Trigger keywords include "remember", "recall", "what did we decide",… - 95memory-search
Search conversation history and semantic memory to recall previous discussions, decisions, and context. Use when the user asks to "search memory", "what did we discuss", "remember when", "find previous conversation", "check history", or before starting work to recall prior decisions. - 90memory-today
Quick recall of everything from today (local time). Use when user says "what happened today", "anything today about X", "show me today''s work", or similar time-bounded requests for the current day. - 90memory-today
Quick recall of everything from today (local time). Use when user says "what happened today", "anything today about X", "show me today''s work", or similar time-bounded requests for the current day. - 100recall
Find prior Claude Code and Codex sessions with an indexed local search engine, then continue the work, repeat it with fresh inputs, or distill it into a skill. Runs from Claude Code, Codex, or pi; the current index covers Claude Code and Codex transcripts. Use when the user… - 100recall
Search agentmemory for past observations, sessions, and learnings about a topic using hybrid BM25 plus vector plus graph search. Use when the user says "recall", "what did we do about", "did we ever", "have we seen", or needs context from past sessions.