memory-recall
/memory-recall
Przywołuje przebieg dawnych rozmów i bieżący status według dyscypliny rivet-memory, zaczynając od tablicy zadań i przeglądania w oknie czasu.
- Autor
- philbert440 ↗
- Repozytorium
- rivetos ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 26.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Przywołuje przebieg dawnych rozmów i bieżący status według dyscypliny rivet-memory, zaczynając od tablicy zadań i przeglądania w oknie czasu.
Wyzwalacze z opisu
Oryginalny opis (EN)
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.
Jak działa
- Step 0 — Whose memory is this? (identity check)
- The rules
- Decision flow
- Worked examples
- Why this exists
Podgląd SKILL.md
---
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.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · 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 |
Migawka bazy z 13.11.2026 · wersja paczki e671b7245e33 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 2 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90Memory recall and capture
Przywołuje ustalenia z dawnych rozmów i zapisuje na prośbę informacje w długotrwałej pamięci, gdy użytkownik odwołuje się do przeszłości. - 95memory-search
Przeszukuje historię rozmów i pamięć semantyczną, żeby przypomnieć wcześniejsze dyskusje, decyzje i kontekst przed rozpoczęciem pracy. - 90memory-today
Przywołuje dzisiejszą pracę według czasu lokalnego, gdy użytkownik pyta o to, co wydarzyło się w bieżącym dniu. - 90memory-today
Odtwarza dzisiejsze wydarzenia według czasu lokalnego na prośbę o przegląd bieżącego dnia. - 100recall
Odnajduje wcześniejsze sesje Claude Code i Codex w lokalnym indeksie i pomaga kontynuować pracę, powtórzyć ją lub przerobić na skill. - 100recall
Przeszukuje agentmemory pod kątem wcześniejszych obserwacji, sesji i wniosków o temacie, łącząc BM25, wyszukiwanie wektorowe i grafowe.