penglovemeng

agent-memory

AI 智慧體v1.0.0
作者:penglovemeng更新於 2026-05-11peng-agent-memory@clawhub_penglovemeng/peng-agent-memory
記憶增強#Memory System#Agent Memory#Learn

據 AlphaMoat 統計,截至 2026-10,agent-memory 累計下載 11,294 次、獲 0 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 2,431 位,在「AI 智慧體」分類(1,632 個)中排名第 329 位。

列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。

累計下載
1.1萬
星標
-
全站下載量排名
#2,431
全站前 23% · 「AI 智慧體」前 21%
平台累計下載星標評論
ClawHub ↗1269--
SkillHub ↗1.1萬-—

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

這個技能是做什麼的

會話開始時載入相關上下文,對話結束後把重要事實寫進記憶,失敗之後記錄教訓,並按實體跟蹤跨會話的資訊。屬於長期記憶層,依賴已安裝的對應元件才能執行。

資料釋出於 2026-10-27

可以用來做什麼

  • 下次會話接著用上次確認的偏好設定
  • 把踩過的坑記成可複用的經驗

什麼時候用

  • 希望助手記得歷史結論時
  • 需要跨會話追蹤某個人或專案時

示例提示詞

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

把這次的結論記下來,下次直接用
查一下之前關於這個專案記過什麼

月度資料趨勢

累計下載1.1萬
121066261.2萬2026-03 · 累計下載 19572026-05 · 累計下載 29512026-07 · 累計下載 35902026-08 · 累計下載 40752026-09 · 累計下載 52072026-10 · 累計下載 1.1萬26-0326-0926-10
星標-
0112026-03 · 星標 -2026-05 · 星標 -2026-07 · 星標 -2026-08 · 星標 -2026-09 · 星標 -2026-10 · 星標 -26-0326-0926-10

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

月份累計下載環比星標
2026-101.1萬—-
2026-095207—-
2026-084075+13.5%-
2026-073590—-
2026-052951—-
2026-031957—-

SKILL.md 原文

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

1.4 KB · ClawHub v1.0.0
# AgentMemory Skill

Persistent memory system for AI agents. Remember facts, learn from experience, and track entities across sessions.

## Installation

```bash
clawdhub install agent-memory
```
展開全部(共 67 行)
## Usage

```python
from src.memory import AgentMemory

mem = AgentMemory()

# Remember facts
mem.remember("Important information", tags=["category"])

# Learn from experience
mem.learn(
    action="What was done",
    context="situation",
    outcome="positive",  # or "negative"
    insight="What was learned"
)

# Recall memories
facts = mem.recall("search query")
lessons = mem.get_lessons(context="topic")

# Track entities
mem.track_entity("Name", "person", {"role": "engineer"})
```

## When to Use

- **Starting a session**: Load relevant context from memory
- **After conversations**: Store important facts
- **After failures**: Record lessons learned
- **Meeting new people/projects**: Track as entities

## Integration with Clawdbot

Add to your AGENTS.md or HEARTBEAT.md:

```markdown
## Memory Protocol

On session start:
1. Load recent lessons: `mem.get_lessons(limit=5)`
2. Check entity context for current task
3. Recall relevant facts

On session end:
1. Extract durable facts from conversation
2. Record any lessons learned
3. Update entity information
```

## Database Location

Default: `~/.agent-memory/memory.db`

Custom: `AgentMemory(db_path="/path/to/memory.db")`

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

penglovemeng 的其他技能

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