Search

PythonReactSEOPDF
OpenClaw

memory-on-demand

按需记忆检索。当用户询问历史相关问题时,自动搜索 memory 和 QMD 获取相关信息。

aeoleader0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install aeoleader/memory-on-demand

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Memory On Demand - 按需记忆检索

触发条件

当用户问题包含以下关键词时自动触发:

  • "之前"、"以前"、"上次"
  • "历史"、"记录"
  • "那次"、"那次"
  • "还记得吗"
  • "我之前"
  • "之前我们"
  • "那时候"

执行流程

1. 判断是否需要检索

检查用户问题是否与历史记录相关。

2. 选择检索方式

首选:QMD 搜索(更快、更准确)

qmd search "关键词" --limit 5

备选:Memory 搜索

# 搜索 memory 文件
grep -r "关键词" ~/.openclaw/workspace/memory/

# 或使用 memory_search
3. 返回结果

将搜索结果整理后返回给用户。

使用示例

用户问:"之前那次健身训练的记录是什么?"

自动执行:

  1. 检测到"之前"关键词
  2. 执行 qmd search "健身 训练"
  3. 返回相关记录

优势

  • 按需加载:只在需要时搜索,不浪费 context
  • 自动触发:无需手动指定
  • 多源检索:QMD + Memory 双保险

配置

  • QMD 索引:已配置 workspace + butler + researcher + sessions
  • Memory 文件:自动读取 memory/*.md

自动记忆检索 skill

Source information

Source
github
Repository
openclaw/skills
Path
skills/aeoleader/memory-on-demand
Version
—
Commit
5101e79d70e5275352523631562fb35c0b9d10e8
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# Memory On Demand - 按需记忆检索

## 触发条件

当用户问题包含以下关键词时自动触发:
- "之前"、"以前"、"上次"
- "历史"、"记录"
- "那次"、"那次"
- "还记得吗"
- "我之前"
- "之前我们"
- "那时候"

## 执行流程

### 1. 判断是否需要检索
检查用户问题是否与历史记录相关。

### 2. 选择检索方式

**首选:QMD 搜索**(更快、更准确)
```bash
qmd search "关键词" --limit 5
```

**备选:Memory 搜索**
```bash
# 搜索 memory 文件
grep -r "关键词" ~/.openclaw/workspace/memory/

# 或使用 memory_search
```

### 3. 返回结果
将搜索结果整理后返回给用户。

## 使用示例

用户问:"之前那次健身训练的记录是什么?"

自动执行:
1. 检测到"之前"关键词
2. 执行 `qmd search "健身 训练"`
3. 返回相关记录

## 优势

- **按需加载**:只在需要时搜索,不浪费 context
- **自动触发**:无需手动指定
- **多源检索**:QMD + Memory 双保险

## 配置

- QMD 索引:已配置 workspace + butler + researcher + sessions
- Memory 文件:自动读取 memory/*.md

---
*自动记忆检索 skill*

Related skills

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.