total-recall

total-recall is a skill for Claude Code from skillmds/skillmd. It costs 87 tokens per session (3,502 once invoked), scanned B, a copy of total-recall, MIT.

An automatic memory system for AI-agent conversations. It watches conversation records, turns them into prioritised notes, combines older notes, and restores relevant information when a new session starts.

In plain words
What is it for?
Use it to record observations from conversations, consolidate growing notes, recover missed session details, and capture context before the agent shortens its working history.
Why use it?
It reduces the need to save important context by hand and helps prevent useful details from being lost between sessions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; positional $N argument; built for openclaw.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash skills/total-recall/scripts/setup.sh.

Part of the agents-mcp plugin — 34 skills shipped together

Good fit Use it to record observations from conversations, consolidate growing notes, recover missed session details, and capture context before the agent shortens its working history.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/skillmds/skillmd
agentmods
npx agentmods add skills/skillmds/skillmd/total-recall

Made for: Claude Code.

Or install agents-mcp, the plugin that ships this one along with the rest of its 34 skills.

Wrote 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.

agentmods badge for total-recall

README.md
[![agentmods](https://agentmods.dev/badge/skills/skillmds/skillmd/total-recall/github.svg)](https://agentmods.dev/skills/skillmds/skillmd/total-recall)
Your own site
<a href="https://agentmods.dev/skills/skillmds/skillmd/total-recall"><img src="https://agentmods.dev/badge/skills/skillmds/skillmd/total-recall/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.

agentmods 80×15 button for total-recall

Your own site · 80×15
<a href="https://agentmods.dev/skills/skillmds/skillmd/total-recall"><img src="https://agentmods.dev/badge/skills/skillmds/skillmd/total-recall.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,502 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00087 $0.03502
Opus 5.5 $0.00035 $0.01401
Sonnet 5 $0.00017 $0.00700
Haiku 4.5 $0.00009 $0.00350

Measured 4d ago against content hash 465c348b8db9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-23, from the pricing page.

Security

Grade B, and why

total-recall scanned grade B with 2 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 4d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt install inotify-tools

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

bins: ["jq", "curl"]
Origin

This is a copy

100% identical to total-recall — 1 line differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/agents-mcp/skills/total-recall/SKILL.md · 343 lines

How it starts

The opening of the file, as written. The whole thing — 343 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Total Recall — Autonomous Agent Memory

The only memory skill that watches on its own.

No database. No vectors. No manual saves. Just an LLM observer that compresses your conversations into prioritised notes, consolidates when they grow, and recovers anything missed. Five layers of redundancy, zero maintenance. ~$0.00/month (using free-tier models).

While other memory skills ask you to remember to remember, this one just pays attention.

Architecture

Layer 1: Observer (cron, every 15-30 min)
    ↓ compresses recent messages → observations.md
Layer 2: Reflector (auto-triggered when observations > 8000 words)
    ↓ consolidates, removes superseded info → 40-60% reduction
Layer 3: Session Recovery (runs on every /new or /reset)
    ↓ catches any session the Observer missed
Layer 4: Reactive Watcher (inotify daemon, Linux only)
    ↓ triggers Observer after 40+ new JSONL writes, 5-min cooldown
Layer 5: Pre-compaction hook (memoryFlush)
    ↓ emergency capture before OpenClaw compacts context

What It Does

  • Observer reads recent session transcripts (JSONL), sends them to an LLM, and appends compressed observations to observations.md with priority levels (high, medium, low)
  • Reflector kicks in when observations grow too large, consolidating related items and dropping stale low-priority entries
  • Session Recovery runs at session start, checks if the previous session was captured, and does an emergency observation if not
  • Reactive Watcher watches the session directory with inotify so high-activity periods get captured faster than the cron interval
  • Pre-compaction hook fires when OpenClaw is about to compact context, ensuring nothing is lost

Quick Start

1. Install the skill

clawdhub install total-recall

2. Set your API key

Add to your .env or OpenClaw config:

OPENROUTER_API_KEY=sk-or-v1-xxxxx

3. Run the setup script

bash skills/total-recall/scripts/setup.sh

This will:

  • Create the memory directory structure (memory/, logs/, backups)
  • On Linux with inotify + systemd: install the reactive watcher service
  • Print cron job and agent configuration instructions for you to add manually

Read the full file on GitHub · 343 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 4d ago First seen · 343 lines · 87 tokens per session scan B 465c348b8db9

Subscribe to this mod's changes

total-recall is a skill published in the GitHub repository skillmds/skillmd (1 stars, last pushed yesterday), licensed MIT. It adds 87 tokens to every session and 3,502 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). It is 100% identical to total-recall, differing in 1 line, and is treated as a copy.

Related

Other skills, from other repositories

save-learning

Saves user instructions as persistent learnings for future sessions. Use when the user says 'remember this', 'always do X', 'from now on', 'never do Y', or gives any instruction they want persisted across sessions. Proactively suggest when the user states a preference, convention, or rule they clearly want followed in…

caliber-ai-org/ai-setup · 71 tokens

memory

Persistent, token-efficient project memory. When ON, maintains a .shob/memory/ folder of structured .md files so the full context of the project is NEVER lost across responses, sessions, or context compaction. Uses progressive disclosure — routes through a lightweight INDEX and loads only the files a task needs…

shobcoder/shob · 146 tokens

mnemon

Persistent memory CLI for LLM agents. Store facts, recall past knowledge, link related memories, manage lifecycle.

mnemon-dev/mnemon · 25 tokens

durable-session-state

Persist plans, scope decisions, evidence, and reviewer/critic verdicts to durable files during long or multi-phase tasks so work survives context compaction, session resumes, and handoffs. Use for swarm-mode tasks, before context grows large, when recording approval gates, and when resuming after compaction or a…

ZaxbyHub/opencode-swarm · 70 tokens

mnemon

Persistent memory for MiniMax Code. Recall durable context, store important facts and decisions, and link related memories with the mnemon CLI.

mnemon-dev/mnemon · 30 tokens

brain-ingest

The process for digesting a conversation, document, or research result, classifying it, and writing it down as brain content (a root-page update or a new/updated page) through the brain CLI.

mindmuxai/brain.md · 48 tokens