aigentic-net

Memory Search

知识管理v1.0.0
作者:aigentic-net更新于 2026-05-11memory-search@clawhub_aigentic-net/memory-search
知识库问答信息检索

据 AlphaMoat 统计,截至 2026-09,Memory Search 累计下载 4,596 次、获 4 个星标,在全部 5,078 个 AI 技能中排名第 2,076 位,在「知识管理」分类(442 个)中排名第 199 位。

累计安装
179
累计下载
4,596
星标
4
全站排名
#2,076
全站前 41% · 「知识管理」前 46%
平台累计安装累计下载星标评论
ClawHub ↗1384,1674-
SkillHub ↗1794,5964—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

主文描述对记忆文件执行语义搜索,并通过直接读取补足上下文。检索可能涉及个人偏好、项目历史、日志或对话转录;启用前确认访问权限和索引范围,敏感对话应限制索引。

资料发布于 2026-10-27

可以用来做什么

  • 搜索与当前问题相关的记忆片段
  • 读取命中文件以补充上下文
  • 检查记忆信息的来源和时效

什么时候用

  • 回答依赖先前对话或项目历史的问题时
  • 仅在允许访问相关记忆并已限制敏感内容索引时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

检索与这个项目有关的历史记录,并列出来源和日期;不要搜索敏感对话。

月度数据趋势

累计下载4,596
2,6443,6934,7412026-03 · 累计下载 2,7892026-05 · 累计下载 3,4782026-06 · 累计下载 3,6402026-07 · 累计下载 4,0112026-08 · 累计下载 4,1992026-09 · 累计下载 4,59626-0326-09
星标4
3452026-03 · 星标 42026-05 · 星标 42026-06 · 星标 42026-07 · 星标 42026-08 · 星标 42026-09 · 星标 426-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-094,596—4
2026-084,199+4.7%4
2026-074,011+10.2%4
2026-063,640+4.7%4
2026-053,478—4
2026-032,789—4

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

3.7 KB · ClawHub v1.0.0
# Memory Search

You have two tools for recalling information from your memory files. Use them.

## Tools

### `memory_search`

Semantic vector search across your indexed memory files (MEMORY.md, memory/*.md, and session transcripts).
展开全部(共 102 行)
**Parameters:**

| Param | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Natural language question or topic to search for |
| `maxResults` | number | no | Max results to return (default: 6) |
| `minScore` | number | no | Minimum relevance score threshold (0-1) |

**Example calls:**

```json
{ "query": "what projects is the human working on" }
{ "query": "preferences about code style", "maxResults": 3 }
{ "query": "important dates birthdays deadlines", "maxResults": 10, "minScore": 0.3 }
```

**Returns:** Array of results, each with:
- `snippet` — the matching text chunk
- `path` — relative file path (e.g. `MEMORY.md`, `memory/2026-02-07.md`)
- `startLine` / `endLine` — line range in the source file
- `score` — relevance score
- `citation` — formatted source reference (in direct chats)

### `memory_get`

Read a specific section of a memory file by path and line range. Use this after `memory_search` to pull more context around a result.

**Parameters:**

| Param | Type | Required | Description |
|---|---|---|---|
| `path` | string | yes | Relative path from workspace (e.g. `MEMORY.md`, `memory/2026-02-07.md`) |
| `from` | number | no | Starting line number |
| `lines` | number | no | Number of lines to read |

**Example calls:**

```json
{ "path": "MEMORY.md" }
{ "path": "memory/2026-02-07.md", "from": 15, "lines": 30 }
```

## When to Use Memory Search

**Always search before answering about:**

- Prior conversations or decisions
- The human's preferences, habits, or opinions
- Dates, deadlines, birthdays, events
- Project status or history
- Anything the human said "remember this" about
- Todos, action items, or commitments
- People, names, relationships

**The pattern is:**

1. Receive a question that might involve past context
2. Call `memory_search` with a relevant query
3. Review the results
4. If a snippet looks promising but needs more context, call `memory_get` with the path and line range
5. Answer using what you found (cite sources in direct chats)

## When NOT to Use

- Purely factual questions with no personal context ("what is Python?")
- The human explicitly gives you all the context you need in the message
- You just searched and the results are still in your context

## Tips

- **Be specific in queries.** "birthday" works better than "important information about the human."
- **Search multiple angles.** If one query returns nothing useful, try rephrasing. "project deadlines" and "what's due soon" might return different results.
- **Don't over-fetch.** Start with default maxResults. Only increase if you need more coverage.
- **Use memory_get sparingly.** The search snippets are usually enough. Only pull full sections when you need surrounding context.
- **Say when you checked.** If you searched and found nothing, tell the human: "I checked my memory and didn't find anything about that." Don't silently guess.

## What Gets Indexed

Your memory search covers:

- `MEMORY.md` — your curated long-term memory
- `memory/*.md` — daily notes and raw logs
- Session transcripts (if enabled)

These files are automatically indexed. You don't need to trigger indexing — just write to the files and the system handles the rest.

## Do NOT

- Do NOT try to run shell commands like `cat` or `ls` to read memory files. Use `memory_search` and `memory_get`.
- Do NOT try to configure or debug the search system. That's operator config, not your job.
- Do NOT assume memory is empty without searching first. The index may have content even if the `memory/` directory looks sparse.

「知识管理」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。