Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add terrizoaguimor/celiums-memory --skill context-recoverygit clone --depth 1 https://github.com/terrizoaguimor/celiums-memoryWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/terrizoaguimor/celiums-memory/context-recovery)<a href="https://agentmods.dev/skills/terrizoaguimor/celiums-memory/context-recovery"><img src="https://agentmods.dev/badge/skills/terrizoaguimor/celiums-memory/context-recovery/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/terrizoaguimor/celiums-memory/context-recovery"><img src="https://agentmods.dev/badge/skills/terrizoaguimor/celiums-memory/context-recovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00037 | $0.00611 |
| Opus 5.5 | $0.00015 | $0.00244 |
| Sonnet 5.5 | $0.00007 | $0.00122 |
| Haiku 4.5 | $0.00004 | $0.00061 |
Grade A, and why
context-recovery scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cognitive Reflex: Context Recovery
Neural Basis
Waking from sleep, the brain doesn't rebuild itself from zero. Procedural memory, semantic memory, and episodic recall all survive the gap. The first few seconds of consciousness are spent re-establishing state: who am I, where am I, what was I doing. This reflex models that orientation ritual.
Tulving, E. (2002). Episodic memory: From mind to brain. Annual Review of Psychology, 53, 1-25.
When It Fires
Activation signals:
- First turn of any session — always
- Post-compaction — the
SessionStarthook inject tells you; also detectable by "context continues" signals - Cold restart — user explicitly says "let's continue where we left off"
- Memory outage recovery — first successful recall after a failure
The Instinct
Three calls, in order, before responding.
1. timeline(hours: 24, limit: 10) — what happened recently
2. search(query: <last project>) — project-specific context
3. emotion() — current baseline state
The timeline call is the most important — it gives chronological context. search narrows to the current project. emotion sets the response calibration.
Total token cost: ~200-400 tokens. Do it anyway.
What To Do With The Results
Synthesize internally — do not dump the raw results to the user unless they ask for a status report.
The pattern is:
[recover state silently]
[acknowledge what you remember in one sentence]
[continue where you left off]
Good:
"Picking up from yesterday — we had the plugin published and you were about to start Reddit posts. Training should be around 40% now."
Bad:
"I just recovered 47 memories from the last 24 hours. Here is a dump of all of them: ..."
The user wants continuity, not an inventory.
Failure Mode
Skipping recovery produces session amnesia: every conversation starts cold even when memories exist. The user has to re-establish context, feels ignored, and concludes the AI has no memory.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 70 lines · 37 tokens per session scan A a08016972f09
context-recovery is a skill published in the GitHub repository terrizoaguimor/celiums-memory (23 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 37 tokens to every session and 611 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
context-recovery compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| context-recoveryterrizoaguimor/celiums-memory | Skill | 23 | 2mo ago | Apache-2.0 | A | 37 | Claude Code |
| openmemoryCaviraOSS/OpenMemory | Skill | 4.6k | 19d ago | Apache-2.0 | A | 96 | Claude Code, Codex |
| ccs-alignthedotmack/claude-mem | Skill | 114k | yesterday | Apache-2.0 | A | 136 | Claude Code |
| weekly-digeststhedotmack/claude-mem | Skill | 114k | yesterday | Apache-2.0 | A | 93 | Claude Code |
| mode-creatorthedotmack/claude-mem | Skill | 114k | yesterday | Apache-2.0 | A | 94 | Claude Code |
| handoffthedotmack/claude-mem | Skill | 114k | yesterday | Apache-2.0 | A | 66 | Claude Code |
| cloud-syncthedotmack/claude-mem | Skill | 114k | yesterday | Apache-2.0 | A | 64 | Claude Code |