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
累計下載
4596
星標
4
全站排名
#2,076
全站前 41% · 「知識管理」前 46%
平台累計安裝累計下載星標評論
ClawHub ↗13841674-
SkillHub ↗17945964—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

主文描述對記憶檔案執行語義搜尋,並透過直接讀取補足上下文。檢索可能涉及個人偏好、專案歷史、日誌或對話轉錄;啟用前確認訪問許可權和索引範圍,敏感對話應限制索引。

資料釋出於 2026-10-27

可以用來做什麼

  • 搜尋與當前問題相關的記憶片段
  • 讀取命中檔案以補充上下文
  • 檢查記憶資訊的來源和時效

什麼時候用

  • 回答依賴先前對話或專案歷史的問題時
  • 僅在允許訪問相關記憶並已限制敏感內容索引時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

檢索與這個專案有關的歷史記錄,並列出來源和日期;不要搜尋敏感對話。

月度資料趨勢

累計下載4596
2644369347412026-03 · 累計下載 27892026-05 · 累計下載 34782026-06 · 累計下載 36402026-07 · 累計下載 40112026-08 · 累計下載 41992026-09 · 累計下載 459626-0326-09
星標4
3452026-03 · 星標 42026-05 · 星標 42026-06 · 星標 42026-07 · 星標 42026-08 · 星標 42026-09 · 星標 426-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-094596—4
2026-084199+4.7%4
2026-074011+10.2%4
2026-063640+4.7%4
2026-053478—4
2026-032789—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),按月更新。口徑說明見資料方法。