Token导航 LogoToken导航

Agent Skill · 研究检索

total-recall(总回忆)

total-recall 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

total-recall 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 4,419。

总安装 32,592周安装 1,358GitHub Stars 2下载 10,864核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.5.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:total-recall(总回忆)
来源仓库:https://github.com/gavdalf/total-recall
安装命令:
openclaw skills install total-recall
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install total-recall

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

基于对话上下文自动生成记忆摘要。total-recall 属于研究检索类 Skill,可作为该场景下的辅助能力补充。无需向量数据库,仅观察压缩当前会话重点。适用于长期任务跟踪与优先级提炼场景。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。不存储历史数据,隐私性较强但不可回溯。

建议定期导出摘要用于人工复核与归档。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install total-recall;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

total-recall 怎么安装?

在终端执行 openclaw skills install total-recall。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

total-recall 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

total-recall 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

total-recall 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

total-recall 用的人多吗?

公开数据是累计安装 32,592 次,近一周安装 1,358 次,下载 10,864 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

total-recall 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
total-recall

总回忆 · 本页

32,5922接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
total-recall
description
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.10/month. While other memory skills ask you to remember to remember, this one just pays attention.
metadata
openclaw
emoji
🧠
requires
bins
["jq", "curl"]
env
label
OpenRouter API key (for LLM calls)
required
true
config
memorySearch
description
Enable memory search on observations.md for cross-session recall

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.10/month.

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

4. Configure your agent to load observations

Add to your agent's workspace context (e.g., MEMORY.md or system prompt):

At session startup, read `memory/observations.md` for cross-session context.

Or use OpenClaw's memoryFlush.systemPrompt to inject a startup instruction.

Platform Support

PlatformObserver + Reflector + RecoveryReactive Watcher
Linux (Debian/Ubuntu/etc.)Full supportWith inotify-tools
macOSFull supportNot available (cron-only)

All core scripts use portable bash. stat, date, and md5 commands are handled cross-platform via _compat.sh.

Configuration

All scripts read from environment variables with sensible defaults:

VariableDefaultDescription
OPENROUTER_API_KEY(required)OpenRouter API key for LLM calls
MEMORY_DIR$OPENCLAW_WORKSPACE/memoryWhere observations.md lives
SESSIONS_DIR~/.openclaw/agents/main/sessionsOpenClaw session transcripts
OBSERVER_MODELdeepseek/deepseek-v3.2Primary model for compression
OBSERVER_FALLBACK_MODELgoogle/gemini-2.5-flashFallback if primary fails
OBSERVER_LOOKBACK_MIN15Minutes to look back (daytime)
OBSERVER_MORNING_LOOKBACK_MIN480Minutes to look back (before 8am)
OBSERVER_LINE_THRESHOLD40Lines before reactive trigger (Linux)
OBSERVER_COOLDOWN_SECS300Cooldown between reactive triggers (Linux)
REFLECTOR_WORD_THRESHOLD8000Words before reflector runs
OPENCLAW_WORKSPACE~/your-workspaceWorkspace root

LLM Provider Configuration

Total Recall uses any OpenAI-compatible chat completion API. Switch providers by setting environment variables:

VariableDefaultDescription
LLM_BASE_URLhttps://openrouter.ai/api/v1API endpoint
LLM_API_KEYfalls back to OPENROUTER_API_KEYAPI key
LLM_MODELdeepseek/deepseek-v3.2Model to use

Provider examples

# OpenRouter (default)
export OPENROUTER_API_KEY="your-key"

# Ollama (local)
export LLM_BASE_URL="http://localhost:11434/v1"
export LLM_API_KEY="ollama"
export LLM_MODEL="llama3.1:8b"

# Groq
export LLM_BASE_URL="https://api.groq.com/openai/v1"
export LLM_API_KEY="your-groq-key"
export LLM_MODEL="llama-3.3-70b-versatile"

Files Created

memory/
  observations.md          # The main observation log (loaded at startup)
  observation-backups/     # Reflector backups (last 10 kept)
  .observer-last-run       # Timestamp of last observer run
  .observer-last-hash      # Dedup hash of last processed messages
logs/
  observer.log
  reflector.log
  session-recovery.log
  observer-watcher.log

Cron Jobs

The setup script creates these OpenClaw cron jobs:

JobScheduleDescription
memory-observerEvery 15 minCompress recent conversation
memory-reflectorHourlyConsolidate if observations are large

Reactive Watcher (Linux only)

The reactive watcher uses inotifywait to detect session activity and trigger the observer faster than cron alone. Requires Linux with inotify-tools installed.

# Install inotify-tools (Debian/Ubuntu)
sudo apt install inotify-tools

# Check watcher status
systemctl --user status total-recall-watcher

# View logs
journalctl --user -u total-recall-watcher -f

Cost

Using DeepSeek v3.2 via OpenRouter:

  • ~$0.03-0.10/month for typical usage (observer + reflector)
  • ~15-30 cron runs/day, each processing a few hundred tokens

How It Works (Technical)

Observer

  1. Finds recently modified session JSONL files
  2. Filters out subagent/cron sessions
  3. Extracts user + assistant messages from the lookback window
  4. Deduplicates using MD5 hash comparison
  5. Sends to LLM with the observer prompt (priority-based compression)
  6. Appends result to observations.md
  7. If observations exceed the word threshold, triggers reflector

Reflector

  1. Backs up current observations
  2. Sends entire log to LLM with consolidation instructions
  3. Validates output is shorter than input (sanity check)
  4. Replaces observations with consolidated version
  5. Cleans old backups (keeps last 10)

Session Recovery

  1. Runs at every /new or /reset
  2. Hashes recent lines of the last session file
  3. Compares against stored hash from last observer run
  4. If mismatch: runs observer in recovery mode (4-hour lookback)
  5. Fallback: raw message extraction if observer fails

Reactive Watcher

  1. Uses inotifywait to monitor session directory
  2. Counts JSONL writes to main session files only
  3. After 40+ lines: triggers observer (with 5-min cooldown)
  4. Resets counter when cron/external observer runs are detected

Customizing the Prompts

The observer and reflector system prompts are in prompts/:

  • prompts/observer-system.txt — controls how conversations are compressed
  • prompts/reflector-system.txt — controls how observations are consolidated

Edit these to match your agent's personality and priorities.


Dream Cycle

The Dream Cycle is an optional nightly agent that runs after hours to consolidate observations.md. It archives stale items and adds semantic hooks so nothing useful is actually lost. Context stays lean; everything remains findable.

What It Does

  • Classifies every observation by impact (critical / high / medium / low / minimal) and age
  • Archives items that have passed their relevance threshold
  • Adds a semantic hook for each archived item (specific keywords + archive reference)
  • Validates the result and rolls back automatically if something goes wrong

Features

Multi-Hook Retrieval — 4-5 alternative search phrasings per archived item. Searches using different words than the original still find the memory.

Confidence Scoring — every observation gets a confidence score (0.0-1.0) and source type (explicit, implicit, inference, weak, uncertain). High-confidence items are preserved longer; low-confidence items are archived sooner.

Memory Type System — 7 types with per-type TTLs: event (14d), fact (90d), preference (180d), goal (365d), habit (365d), rule (never), context (30d). Embedded as invisible HTML metadata comments in observations.md.

Observation Chunking — clusters of 3+ related observations are compressed into single summary entries. Source observations are archived; a chunk hook replaces them. Achieves up to 75% token reduction.

Importance Decay — per-type daily decay applied to importance scores before each archival decision. Items that decay below the archive threshold are queued for removal. Rates: event (-0.5/day), fact (-0.1/day), preference (-0.02/day), rule/habit/goal (no decay).

Pattern Promotion — scans recent dream logs for recurring themes (3+ occurrences across 3+ separate days). Writes promotion proposals to memory/dream-staging/ for human review. Use staging-review.sh to list, show, approve, or reject proposals. The context type is never promoted automatically.

Setup

  1. Run bash skills/total-recall/scripts/setup.sh — creates Dream Cycle directories automatically.
  1. Add the nightly cron job:
   # Dream Cycle — nightly at 3am
   0 3 * * * OPENCLAW_WORKSPACE=~/your-workspace bash ~/your-workspace/skills/total-recall/scripts/dream-cycle.sh preflight
  1. Configure your cron agent using prompts/dream-cycle-prompt.md as the system prompt. Recommended models: Claude Sonnet for the Dreamer (analysis + decisions), DeepSeek v3.2 for the Observer (cheap, fast).
  1. Start with READ_ONLY_MODE=true for the first few nights. Check memory/dream-logs/ after each run to verify what it would have archived.
  1. Switch to READ_ONLY_MODE=false once satisfied.

Configuration

VariableDefaultDescription
DREAM_TOKEN_TARGET8000Token target for observations.md after consolidation
READ_ONLY_MODEfalseSet true for dry-run analysis without writes

Files

FileDescription
scripts/dream-cycle.shShell helper: preflight, archive, update-observations, write-log, write-metrics, validate, rollback
prompts/dream-cycle-prompt.mdAgent prompt for the nightly Dream Cycle run
dream-cycle/README.mdDream Cycle quick reference
schemas/observation-format.mdExtended observation metadata format

Directories Created

memory/
  archive/
    observations/        # Archived items (one .md file per night)
    chunks/              # Chunked observation groups
  dream-logs/            # Nightly run reports
  dream-staging/         # Pattern promotion proposals awaiting human review
  .dream-backups/        # Pre-run safety backups
research/
  dream-cycle-metrics/
    daily/               # JSON metrics per night

Troubleshooting

Observer not running?

  • Check logs/observer.log for errors
  • Verify OPENROUTER_API_KEY is set and valid
  • Confirm cron is active: crontab -l

Observations not being loaded at session start?

  • Ensure your agent's startup instructions include reading memory/observations.md
  • Check MEMORY_DIR points to the right location

Reactive watcher not triggering (Linux)?

  • Run systemctl --user status total-recall-watcher
  • Check inotify-tools is installed: which inotifywait
  • View watcher logs: journalctl --user -u total-recall-watcher -f

Dream Cycle archiving too aggressively?

  • Enable READ_ONLY_MODE=true and review dream logs before going live
  • Adjust DREAM_TOKEN_TARGET upward to archive less per run

Dream Cycle not archiving enough?

  • Lower DREAM_TOKEN_TARGET to trigger more aggressive consolidation

Inspired By

This system is inspired by how human memory works during sleep — the hippocampus (observer) captures experiences, and during sleep consolidation (reflector), important memories are strengthened while noise is discarded.

Read more: Your AI Has an Attention Problem

*"Get your ass to Mars." — Well, get your agent's memory to work.*

适合场景

01

调用多模型

02

代码和文本生成

03

Agent 推理流程

04

OpenRouter 模型接入

能力概览

能力 1

统一调用多种 LLM

能力 2

支持 Claude、Gemini、Kimi 等模型

能力 3

适合聊天、代码和推理任务

能力 4

可作为 Agent 模型调用入口

平台分布

OpenClaw

79.15%
按下载量换算8,599

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills