Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

deeprecalldeeprecall 搜索

Agent Skill

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

总安装

13,584

周安装

566

GitHub Stars

1

下载量

4,528
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install deeprecall

简介

纯 Python 实现的递归内存调用框架,专为持久 AI 代理设计。

  • 采用 Manager→workers→综合 RLM 循环架构提升记忆效率。
  • 兼容任意 OpenAI HTTP 接口,无需 Deno 或 fast-rlm 依赖。
  • 适合长对话管理与复杂推理任务的知识回溯需求。
  • 安装后导入模块即可嵌入现有代理工作流中使用。

SKILL.md

name
deep-recall
version
1.0.8
description
Pure-Python recursive memory recall for persistent AI agents. Manager→workers→synthesis RLM loop — no Deno, no fast-rlm, just HTTP calls to any OpenAI-compatible LLM.
metadata
{"openclaw": {"requires": {"env": ["ANTHROPIC_API_KEY (optional)", "OPENAI_API_KEY (optional)", "GOOGLE_API_KEY (optional)", "OPENROUTER_API_KEY (optional)", "DEEPSEEK_API_KEY (optional)", "MISTRAL_API_KEY (optional)", "TOGETHER_API_KEY (optional)", "GROQ_API_KEY (optional)", "FIREWORKS_API_KEY (optional)", "COHERE_API_KEY (optional)", "PERPLEXITY_API_KEY (optional)", "SAMBANOVA_API_KEY (optional)", "CEREBRAS_API_KEY (optional)", "XAI_API_KEY (optional)", "MINIMAX_API_KEY (optional)", "ZHIPU_API_KEY (optional)", "MOONSHOT_API_KEY (optional)", "DASHSCOPE_API_KEY (optional)"], "config_paths": ["~/.openclaw/openclaw.json", "~/.openclaw/agents/*/agent/models.json", "~/.openclaw/credentials/*"]}, "homepage": "https://github.com/Stefan27-4/DeepRecall"}}

DeepRecall v2 — OpenClaw Skill

Pure-Python recursive memory for persistent AI agents. Implements the Anamnesis Architecture: *"The soul stays small, the mind scales forever."*

Description

DeepRecall gives AI agents infinite memory by recursively querying their own memory files through a manager→workers→synthesis RLM loop — entirely in Python. No Deno runtime, no fast-rlm subprocess, no vector database. Just markdown files and HTTP calls to any OpenAI-compatible LLM endpoint.

When the agent needs to recall something, DeepRecall:

  1. Scans the workspace for memory files (scoped by category)
  2. Indexes file metadata — headers, topics, dates, people
  3. Manager selects the most relevant files from the index
  4. Workers (parallel) extract exact verbatim quotes from each file
  5. Synthesis combines quotes into a cited, grounded answer

Workers are constrained by anti-hallucination prompts to return only verbatim quotes. The synthesis step cites every claim with (filename:line).

Installation

pip install deep-recall

Or install from source:

git clone https://github.com/Stefan27-4/DeepRecall
cd DeepRecall && pip install .

Dependencies

  • httpx (preferred) or requests — HTTP client for LLM calls
  • PyYAML — config parsing
  • Python ≥ 3.10
  • An LLM provider configured in OpenClaw
v2 breaking change: Deno and fast-rlm are no longer required. The entire RLM loop runs in-process as pure Python.

Quick Start

from deep_recall import recall

result = recall("What did we decide about the project architecture?")
print(result)

API

recall(query, scope, workspace, verbose, config_overrides) → str

The primary entry point. Runs the full manager→workers→synthesis loop.

from deep_recall import recall

result = recall(
    "Find all mentions of budget discussions",
    scope="memory",          # "memory" | "identity" | "project" | "all"
    verbose=True,            # print progress to stdout
    config_overrides={
        "max_files": 5,      # max files the manager can select
    },
)
ParameterTypeDefaultDescription
querystr*(required)*What to recall / search for
scopestr"memory"File scope — see Scopes
workspace`Path \None`auto-detectOverride workspace path
verboseboolFalsePrint provider, model, file selection info
config_overrides`dict \None`NoneOverride max_files and other settings

Returns: A string containing the recalled information with source citations, or a [DeepRecall] status message if no files/results were found.


recall_quick(query, verbose) → str

Fast, cheap recall scoped to identity files. Best for simple lookups.

from deep_recall import recall_quick

name = recall_quick("What is my human's name?")

Equivalent to recall(query, scope="identity", config_overrides={"max_files": 2}).


recall_deep(query, verbose) → str

Thorough recall across all workspace files. Best for cross-referencing.

from deep_recall import recall_deep

summary = recall_deep("Summarize all decisions from March")

Equivalent to recall(query, scope="all", config_overrides={"max_files": 5}).


CLI

python deep_recall.py <query> [scope]

# Examples
python deep_recall.py "What was the first project we worked on?"
python deep_recall.py "Find budget discussions" all

Scopes

Scopes control which files DeepRecall searches. Narrower scopes are faster and cheaper.

ScopeFiles IncludedSpeedCostUse Case
identitySOUL.md, IDENTITY.md, MEMORY.md, USER.md, TOOLS.md, HEARTBEAT.md, AGENTS.md⚡ FastestCheapest"What's my name?"
memoryIdentity files + memory/LONG_TERM.md + memory/*.md daily logs🔄 FastLow"What did we do last week?"
projectAll readable workspace files (skips binaries, node_modules, .git)🐢 SlowerMedium"Find that config change"
allIdentity + memory + project (everything)🐌 SlowestHighest"Search everything"

File Categories

DeepRecall classifies discovered files into categories:

  • soulSOUL.md, IDENTITY.md — who the agent IS (always in context)
  • mindMEMORY.md, USER.md, TOOLS.md, HEARTBEAT.md, AGENTS.md — compact orientation
  • long-termmemory/LONG_TERM.md — full detailed memories, grows forever
  • daily-logmemory/YYYY-MM-DD.md — raw daily logs
  • workspace — everything else (project files, configs, docs)

Configuration

DeepRecall reads your existing OpenClaw setup — no additional config files needed.

Provider Resolution

Provider, API key, and model are resolved automatically from:

  1. ~/.openclaw/openclaw.json — primary model setting
  2. ~/.openclaw/agents/main/agent/models.json — provider base URLs
  3. ~/.openclaw/credentials/ — cached tokens (e.g. GitHub Copilot)
  4. Environment variables — fallback (ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY, etc. (18+ providers supported, all optional))

Supported Providers (20+)

Anthropic · OpenAI · Google (Gemini) · GitHub Copilot · OpenRouter · Ollama · DeepSeek · Mistral · Together · Groq · Fireworks · Cohere · Perplexity · SambaNova · Cerebras · xAI · Minimax · Zhipu (GLM) · Moonshot (Kimi) · Qwen

Auto Model Pairing

The manager and synthesis steps use your primary model. Workers use a cheaper sub-agent model automatically:

Primary ModelWorker Model
Claude Opus 4 / 4.6Claude Sonnet 4
Claude Sonnet 4 / 4.5Claude Haiku 3.5
GPT-4o / GPT-4GPT-4o-mini
Gemini 2.5 ProGemini 2.0 Flash
DeepSeek ReasonerDeepSeek Chat
Llama 3.1 70BLlama 3.1 8B

config_overrides

Pass overrides via the config_overrides parameter:

recall("query", config_overrides={
    "max_files": 5,       # max files manager can select (default: 3)
})

Skill Files

FilePurpose
deep_recall.pyPublic API — recall, recall_quick, recall_deep, RLM loop
provider_bridge.pyResolves LLM provider, API key, base URL from OpenClaw config
model_pairs.pyMaps primary models to cheaper worker models
memory_scanner.pyDiscovers and categorises workspace files by scope
memory_indexer.pyBuilds a structured Memory Index (topics, people, timeline)
__init__.pyPackage exports

Memory Layout

Recommended workspace structure for the Anamnesis Architecture:

~/.openclaw/workspace/
├── SOUL.md              # Identity — always in context, never grows
├── IDENTITY.md          # Core agent facts
├── MEMORY.md            # Compact index (~100 lines), auto-loaded each session
├── USER.md              # About the human
├── AGENTS.md            # Agent behavior rules
├── TOOLS.md             # Tool-specific notes
└── memory/
    ├── LONG_TERM.md     # Full memories — grows forever, searched via DeepRecall
    ├── 2026-03-05.md    # Daily raw log
    ├── 2026-03-04.md
    └── ...

⚠️ Privacy Notice

DeepRecall reads your workspace memory files and sends their contents to your configured LLM provider (Anthropic, OpenAI, Gemini, etc.) to perform recall. This is how it works — there is no local-only mode.

What gets sent:

  • File metadata (names, headings, topics) → to the manager LLM
  • Full file contents of selected files → to worker LLMs
  • This may include personal notes, daily logs, project files

What is NOT sent:

  • API keys and credentials (read locally for auth, never in prompts)
  • Files outside your workspace

Credentials used locally:

  • ~/.openclaw/openclaw.json and ~/.openclaw/credentials/* — to resolve your LLM provider
  • Env vars (ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY, etc. (18+ providers supported, all optional)) — as fallback if no OpenClaw config found

Recommended Memory Architecture

DeepRecall works best with a two-tier memory system:

Tier 1: MEMORY.md (The Index)

  • Auto-loaded every session — keep it SMALL (~100 lines)
  • Contains: quick reference facts, active projects, key metrics, a table of contents pointing to LONG_TERM.md sections
  • Think of it as your orientation file — "what do I need to know right now?"
  • If it grows past ~120 lines, move details to LONG_TERM.md

Tier 2: memory/LONG_TERM.md (The Encyclopedia)

  • Never auto-loaded — searched via DeepRecall when needed
  • Contains: full context, decisions with reasoning, timestamps, bugs with fixes, architecture details
  • Grows forever — never delete, only append
  • The devil is in the details — "the diary entry, not the Wikipedia summary"

Tier 3: memory/YYYY-MM-DD.md (Daily Logs)

  • Raw notes of what happened each day
  • Distilled into LONG_TERM.md at end of day

Nightly Sync Routine

At the end of each day (or via cron/heartbeat):

  1. Read today's daily log
  2. Append key events, decisions, lessons, bugs, metrics to LONG_TERM.md
  3. Update MEMORY.md index table if new topics appeared
⚠️ Setting this up? Ask your human before restructuring existing memory files. Show them this recommendation and let them decide how to organize their agent's memory.

License

MIT — see LICENSE.

适合场景

01

调用多模型

02

代码和文本生成

03

Agent 推理流程

04

OpenRouter 模型接入

能力概览

能力 1

统一调用多种 LLM

能力 2

支持 Claude、Gemini、Kimi 等模型

能力 3

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

能力 4

可作为 Agent 模型调用入口

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

88.69%
按下载量换算4,016

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills