Vanar Neutron

Vanar Neutron Memory

AI 智慧體v1.3.2
作者:Vanar Neutron更新於 2026-05-11共 13 個版本 · 最新版本釋出於 2026-02-28vanar-neutron-memory@clawhub_naeemmaliki036/vanar-neutron-memory
上下文管理記憶增強#Agent Memory

據 AlphaMoat 統計,截至 2026-09,Vanar Neutron Memory 累計下載 3,311 次、獲 1 個星標,在全部 5,078 個 AI 技能中排名第 3,415 位,在「AI 智慧體」分類(969 個)中排名第 701 位。

累計安裝
297
累計下載
3311
星標
1
全站排名
#3,415
全站前 68% · 「AI 智慧體」前 73%
平台累計安裝累計下載星標評論
ClawHub ↗10131581-
SkillHub ↗29733111—

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

這個技能是做什麼的

它把對話、偏好與決策跨會話持久化,支援手動 save/search 命令,也可選擇開啟 Auto-Capture 與 Auto-Recall 鉤子,在每輪 AI 前注入相關記憶。資料透過 HTTPS 發往 Neutron API,文件說明預設不傳送任何資料,僅在執行命令或顯式開啟鉤子時才上傳明確儲存的內容。

資料釋出於 2026-10-27

可以用來做什麼

  • 跨會話儲存和檢索智慧體記憶
  • 用語義搜尋按含義找回相關上下文
  • 選擇開啟自動捕獲與自動召回鉤子

什麼時候用

  • 需要讓智慧體記住使用者偏好或歷史決策時
  • 想按語義而非關鍵詞檢索記憶時
  • 評估遠端記憶儲存可接受並配置 API 金鑰時

示例提示詞

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

儲存‘使用者偏好深色模式’到記憶。
用語義搜尋找出使用者喜歡的主題。
怎麼開啟自動捕獲和自動召回鉤子?

月度資料趨勢

累計下載3311
2194279433942026-03 · 累計下載 22772026-05 · 累計下載 25492026-06 · 累計下載 26832026-07 · 累計下載 29222026-08 · 累計下載 30492026-09 · 累計下載 331126-0326-09
星標1
0122026-03 · 星標 12026-05 · 星標 12026-06 · 星標 12026-07 · 星標 12026-08 · 星標 12026-09 · 星標 126-0326-09

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

月份累計下載環比星標
2026-093311—1
2026-083049+4.3%1
2026-072922+8.9%1
2026-062683+5.3%1
2026-052549—1
2026-032277—1

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

3.3 KB · ClawHub v1.3.2
---
name: vanar-neutron-memory
description: Save and recall agent memory with semantic search. Context that persists across every session.
user-invocable: true
metadata: {"openclaw": {"emoji": "🧠", "requires": {"env": ["API_KEY"]}, "primaryEnv": "API_KEY"}}
---

# Neutron Memory

Every conversation, preference, and decision your agent makes can persist across sessions. Save what matters, and when you need it, semantic search finds the right context by meaning — not keywords. Every session builds on the last.
展開全部(共 90 行)

## How It Works

**Manual** — save and search with simple commands:
1. `./scripts/neutron-memory.sh save "user prefers dark mode" "Preferences"` — save context
2. `./scripts/neutron-memory.sh search "what theme does the user like"` — find it by meaning

**Automatic** (opt-in) — enable hooks to capture and recall automatically:
1. **Auto-Capture** saves conversations after each AI turn
2. **Auto-Recall** finds relevant memories before each AI turn and injects them as context

## Quick Start

See **[SETUP.md](SETUP.md)** for the full setup guide. TL;DR:

1. Get a free API key at **https://openclaw.vanarchain.com/** ($20 free credits, no credit card)
2. `export API_KEY=nk_your_key`
3. `./scripts/neutron-memory.sh test`

## Commands

### Save
```bash
./scripts/neutron-memory.sh save "Content to remember" "Title"
```

### Search
```bash
./scripts/neutron-memory.sh search "what do I know about X" 10 0.5
```

Arguments: `QUERY` `LIMIT` `THRESHOLD(0-1)`

### Diagnose
```bash
./scripts/neutron-memory.sh diagnose
```

Checks all prerequisites: curl, jq, API key, connectivity, and authentication.

## Hooks (Auto-Capture & Auto-Recall)

- `hooks/pre-tool-use.sh` — **Auto-Recall**: Queries memories before AI turn, injects relevant context
- `hooks/post-tool-use.sh` — **Auto-Capture**: Saves conversation after AI turn

Both are **disabled by default** (opt-in only). To enable:

```bash
export VANAR_AUTO_RECALL=true
export VANAR_AUTO_CAPTURE=true
```

## API Endpoints

- `POST /memory/save` — Save text (multipart/form-data)
- `POST /memory/search` — Semantic search (JSON body)

**Auth:** `Authorization: Bearer $API_KEY` — that's it. No other credentials needed.

## Security & Privacy

**No data is sent unless you run a command or explicitly enable auto-capture/auto-recall.** Both hooks are disabled by default.

This skill only sends data you explicitly save (or opt-in auto-captured conversations) to the Neutron API. Here's exactly what happens:

| Action | What's sent | Where |
|--------|------------|-------|
| **Save** | The text you pass to `save` or auto-captured conversation turns | `POST /memory/save` over HTTPS |
| **Search** | Your search query text | `POST /memory/search` over HTTPS |
| **Auto-Recall** | The user's latest message (used as search query) | `POST /memory/search` over HTTPS |
| **Auto-Capture** | `User: {message}\nAssistant: {response}` | `POST /memory/save` over HTTPS |

**What is NOT sent:**
- No local files are read or uploaded
- No environment variables (other than the API key for auth)
- No system information, file paths, or directory contents
- No data from other tools or skills

All communication is over HTTPS to `api-neutron.vanarchain.com`. The source code is fully readable in the `scripts/` and `hooks/` directories — three short bash scripts, no compiled binaries.

「AI 智慧體」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。