lidge-jun/codexclaw / plugins/codexclaw/skills/recall
cxc-recall
VerifiedUse for past-session context recovery. Triggers: recall, last time, previous session, chat search, memory search, 그때, 지난번, 저번 세션, 예전에 했던, 기억나?, 리콜, 지난 세션, 이전 작업, 뭐였지, 어떻게 했었지.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.5 KB |
| agents/openai.yaml | config | 235 B |
| references/commands.md | markdown | 7.0 KB |
| references/index-and-injection.md | markdown | 2.2 KB |
| references/optional-memory-lanes.md | markdown | 654 B |
| references/result-checks.md | markdown | 237 B |
| references/scope-and-results.md | markdown | 4.2 KB |
references/index-and-injection.md
View on GitHub## Maintenance
The sidecar index self-refreshes on every chat query (changed files only) unless
`--no-refresh`. `cxc chat index --status` shows freshness; `--rebuild` drops and
re-ingests after schema-level doubts. Deleting `~/.codexclaw/recall/index.sqlite`
is always safe (rebuildable cache).
The index has a size budget: 48 MB by default (`CODEXCLAW_RECALL_MAX_MB` overrides,
minimum 4). Messages are stored up to 4 KB (tool output 1 KB). When the index is
full, the least recently active sessions lose their message text and keep only
their metadata, so search covers recent work and the session list stays complete.
A search whose window reaches trimmed sessions says so; `--scan` reads the raw
rollouts and finds them. `--status` and `cxc memory status` show the size on disk
against the budget; `--compact` evicts down to the budget immediately.
Nobody has to search for the budget to hold. SessionStart launches one detached
background pass per 12 hours (stamp `recall/maintenance.json`, lock
`recall/maintenance.lock`) when an index exists; it waits 30 seconds, refreshes,
evicts and compacts, then records the before/after sizes. A machine where no
session starts does no memory work. `CODEXCLAW_RECALL_MAINTENANCE=off` disables it.
Long messages keep a head+tail window (three quarters head, one quarter tail), so a
tool's final error line survives the cap. `cxc memory status` and `cxc doctor`
(`memory-footprint`) report the whole `~/.codexclaw` footprint by area and warn
above 100 MiB.
## Automatic session-start injection
Separate from these commands, the SessionStart hook injects a short CWD-scoped
list of recent sessions, including the start that follows a compaction. That
list rotates: a session already injected several times is pushed back so a
start sees something it has not seen yet. Counts live in the same rebuildable
sidecar, so deleting the index also resets the rotation to plain newest-first.
The rotation applies to the automatic injection ALONE. `cxc chat search` and
`cxc memory search` never consult it: the same query returns the same ranking
however many times you run it. After compaction the same hook re-fires with
`source=compact` and a smaller block plus a recovery pointer; the PostCompact
recall handler itself emits nothing.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |