kellyclaudeai

Memory System V2

AIエージェントv1.0.0
作者:kellyclaudeai更新日 2026-05-11memory-system-v2@clawhub_kellyclaudeai/memory-system-v2
メモリ強化#Memory System#Json

AlphaMoatによると、2026-10時点でMemory System V2のダウンロード数は12,167、スター数は12で、累計ダウンロード数で今回のランキング対象AIスキル10,914件中2,265位、AIエージェントでは1,632件中305位です。

一覧の初期表示は累計ダウンロード数順で、スター数順にも並べ替えできます。詳細ページの順位は累計ダウンロード数で計算しています。

ダウンロード数
1.2万
スター数
12
累計ダウンロード順位
#2,265
全体の上位 21% · AIエージェントの上位 19%
プラットフォームダウンロード数スター数コメント
ClawHub ↗637312-
SkillHub ↗1.2万12—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

学び、意思決定、洞察、出来事、やり取りを、種類、重要度、タグ、文脈付きの記録としてローカルの JSON 索引に保存します。キーワード検索と週次の要約生成に対応し、データベースは不要です。検索はテキスト一致のみで、ソースは意味埋め込みがまだ無いと明記しており、記録は平文で残るため鍵や機微な会話は入れないでください。

資料公開日 2026-10-27

できること

  • ある意思決定を背景ごと記憶として残す
  • 先月の技術方針に関する記録を掘り出す

使う場面

  • 以前の結論をセッションをまたいで残したいとき
  • 重要度で過去の判断を振り返りたいとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

自前の検索方式を採用したと重要度 9 で記録してください
デプロイ方法について以前の記憶を調べてください

月次の推移

ダウンロード数1.2万
544790561.3万2026-03 · ダウンロード数 64502026-05 · ダウンロード数 81012026-06 · ダウンロード数 82772026-07 · ダウンロード数 59452026-08 · ダウンロード数 86572026-09 · ダウンロード数 92872026-10 · ダウンロード数 1.2万26-0326-0926-10
スター数12
1112132026-03 · スター数 122026-05 · スター数 122026-06 · スター数 122026-07 · スター数 122026-08 · スター数 122026-09 · スター数 122026-10 · スター数 1226-0326-0926-10

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-101.2万—12
2026-099287—12
2026-088657+45.6%12
2026-075945-28.2%12
2026-068277+2.2%12
2026-058101—12
2026-036450—12

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

9.1 KB・ClawHub v1.0.0
---
name: memory-system-v2
description: Fast semantic memory system with JSON indexing, auto-consolidation, and <20ms search. Capture learnings, decisions, insights, events. Use when you need persistent memory across sessions or want to recall prior work/decisions.
homepage: https://github.com/austenallred/memory-system-v2
metadata: {"clawdbot":{"emoji":"🧠","requires":{"bins":["jq"]},"install":[{"id":"brew-jq","kind":"brew","formula":"jq","bins":["jq"],"label":"Install jq via Homebrew"}]}}
---

# Memory System v2.0

**Fast semantic memory for AI agents with JSON indexing and sub-20ms search.**
すべて表示(全 373 行)

## Overview

Memory System v2.0 is a lightweight, file-based memory system designed for AI agents that need to:
- Remember learnings, decisions, insights, events, and interactions across sessions
- Search memories semantically in <20ms
- Auto-consolidate daily memories into weekly summaries
- Track importance and context for better recall

Built in pure bash + jq. No databases required.

## Features

- ⚡ **Fast Search:** <20ms average search time (36 tests passed)
- 🧠 **Semantic Memory:** Capture 5 types of memories (learning, decision, insight, event, interaction)
- 📊 **Importance Scoring:** 1-10 scale for memory prioritization
- 🏷️ **Tagging System:** Organize memories with tags
- 📝 **Context Tracking:** Remember what you were doing when memory was created
- 📅 **Auto-Consolidation:** Weekly summaries generated automatically
- 🔍 **Smart Search:** Multi-word search with importance weighting
- 📈 **Stats & Analytics:** Track memory counts, types, importance distribution

## Quick Start

### Installation

```bash
# Install jq (required dependency)
brew install jq

# Copy memory-cli.sh to your workspace
# Already installed if you're using Clawdbot
```

### Basic Usage

**Capture a memory:**
```bash
./memory/memory-cli.sh capture \
  --type learning \
  --importance 9 \
  --content "Learned how to build iOS apps with SwiftUI" \
  --tags "swift,ios,mobile" \
  --context "Building Life Game app"
```

**Search memories:**
```bash
./memory/memory-cli.sh search "swiftui ios"
./memory/memory-cli.sh search "build app" --min-importance 7
```

**Recent memories:**
```bash
./memory/memory-cli.sh recent learning 7 10
./memory/memory-cli.sh recent all 1 5
```

**View stats:**
```bash
./memory/memory-cli.sh stats
```

**Auto-consolidate:**
```bash
./memory/memory-cli.sh consolidate
```

## Memory Types

### 1. Learning (importance: 7-9)
New skills, tools, patterns, techniques you've acquired.

**Example:**
```bash
./memory/memory-cli.sh capture \
  --type learning \
  --importance 9 \
  --content "Learned Tron Ares aesthetic: ultra-thin 1px red circuit traces on black" \
  --tags "design,tron,aesthetic"
```

### 2. Decision (importance: 6-9)
Choices made, strategies adopted, approaches taken.

**Example:**
```bash
./memory/memory-cli.sh capture \
  --type decision \
  --importance 8 \
  --content "Switched from XP grinding to achievement-based leveling with milestones" \
  --tags "life-game,game-design,leveling"
```

### 3. Insight (importance: 8-10)
Breakthroughs, realizations, aha moments.

**Example:**
```bash
./memory/memory-cli.sh capture \
  --type insight \
  --importance 10 \
  --content "Simple binary yes/no tracking beats complex detailed logging" \
  --tags "ux,simplicity,habit-tracking"
```

### 4. Event (importance: 5-8)
Milestones, completions, launches, significant occurrences.

**Example:**
```bash
./memory/memory-cli.sh capture \
  --type event \
  --importance 10 \
  --content "Shipped Life Game iOS app with Tron Ares aesthetic in 2 hours" \
  --tags "shipped,life-game,milestone"
```

### 5. Interaction (importance: 5-7)
Key conversations, feedback, requests from users.

**Example:**
```bash
./memory/memory-cli.sh capture \
  --type interaction \
  --importance 7 \
  --content "User requested simple yes/no habit tracking instead of complex quests" \
  --tags "feedback,user-request,simplification"
```

## Architecture

### File Structure

```
memory/
├── memory-cli.sh              # Main CLI tool
├── index/
│   └── memory-index.json      # Fast search index
├── daily/
│   └── YYYY-MM-DD.md          # Daily memory logs
└── consolidated/
    └── YYYY-WW.md             # Weekly consolidated summaries
```

### JSON Index Format

```json
{
  "version": 1,
  "lastUpdate": 1738368000000,
  "memories": [
    {
      "id": "mem_20260131_12345",
      "type": "learning",
      "importance": 9,
      "timestamp": 1738368000000,
      "date": "2026-01-31",
      "content": "Memory content here",
      "tags": ["tag1", "tag2"],
      "context": "What I was doing",
      "file": "memory/daily/2026-01-31.md",
      "line": 42
    }
  ]
}
```

### Performance Benchmarks

**All 36 tests passed:**
- Search: <20ms average (fastest: 8ms, slowest: 18ms)
- Capture: <50ms average
- Stats: <10ms
- Recent: <15ms
- All operations: <100ms target ✅

## Commands Reference

### capture
```bash
./memory-cli.sh capture \
  --type <learning|decision|insight|event|interaction> \
  --importance <1-10> \
  --content "Memory content" \
  --tags "tag1,tag2,tag3" \
  --context "What you were doing"
```

### search
```bash
./memory-cli.sh search "keywords" [--min-importance N]
```

### recent
```bash
./memory-cli.sh recent <type|all> <days> <min-importance>
```

### stats
```bash
./memory-cli.sh stats
```

### consolidate
```bash
./memory-cli.sh consolidate [--week YYYY-WW]
```

## Integration with Clawdbot

Memory System v2.0 is designed to work seamlessly with Clawdbot:

**Auto-capture in AGENTS.md:**
```markdown
## Memory Recall
Before answering anything about prior work, decisions, dates, people, preferences, or todos: run memory_search on MEMORY.md + memory/*.md
```

**Example workflow:**
1. Agent learns something new → `memory-cli.sh capture`
2. User asks "What did we build yesterday?" → `memory-cli.sh search "build yesterday"`
3. Agent recalls exact details with file + line references

## Use Cases

### 1. Learning Tracking
Capture every new skill, tool, or technique you learn:
```bash
./memory-cli.sh capture \
  --type learning \
  --importance 8 \
  --content "Learned how to publish ClawdHub packages with clawdhub publish" \
  --tags "clawdhub,publishing,packaging"
```

### 2. Decision History
Record why you made specific choices:
```bash
./memory-cli.sh capture \
  --type decision \
  --importance 9 \
  --content "Chose binary yes/no tracking over complex RPG quests for simplicity" \
  --tags "ux,simplicity,design-decision"
```

### 3. Milestone Tracking
Log major achievements:
```bash
./memory-cli.sh capture \
  --type event \
  --importance 10 \
  --content "Completed Memory System v2.0: 36/36 tests passed, <20ms search" \
  --tags "milestone,memory-system,shipped"
```

### 4. Weekly Reviews
Auto-generate weekly summaries:
```bash
./memory-cli.sh consolidate --week 2026-05
```

## Advanced Usage

### Search with Importance Filter
```bash
# Only high-importance learnings
./memory-cli.sh search "swiftui" --min-importance 8

# All memories mentioning "API"
./memory-cli.sh search "API" --min-importance 1
```

### Recent High-Priority Decisions
```bash
# Decisions from last 7 days with importance ≥ 8
./memory-cli.sh recent decision 7 8
```

### Bulk Analysis
```bash
# See memory distribution
./memory-cli.sh stats

# Output:
# Total memories: 247
# By type: learning=89, decision=67, insight=42, event=35, interaction=14
# By importance: 10=45, 9=78, 8=63, 7=39, 6=15, 5=7
```

## Limitations

- **Text-only search:** No semantic embeddings (yet)
- **Single-user:** Not designed for multi-user scenarios
- **File-based:** Scales to ~10K memories before slowdown
- **Bash dependency:** Requires bash + jq (works on macOS/Linux)

## Future Enhancements

- [ ] Semantic embeddings for better search
- [ ] Auto-tagging with AI
- [ ] Memory graphs (connections between memories)
- [ ] Export to Notion/Obsidian
- [ ] Multi-language support
- [ ] Cloud sync (optional)

## Testing

Full test suite with 36 tests covering:
- Capture operations (10 tests)
- Search functionality (12 tests)
- Recent queries (6 tests)
- Stats generation (4 tests)
- Consolidation (4 tests)

**Run tests:**
```bash
./memory-cli.sh test  # If test suite is included
```

**All tests passed ✅** - See `memory-system-v2-test-results.md` for details.

## Performance

**Design goals:**
- Search: <20ms ✅
- Capture: <50ms ✅
- Stats: <10ms ✅
- All operations: <100ms ✅

**Tested on:** M1 Mac, 247 memories in index

## Why Memory System v2.0?

**Problem:** AI agents forget everything between sessions. Context is lost.

**Solution:** Fast, searchable memory that persists across sessions.

**Benefits:**
- Agent can recall prior work, decisions, learnings
- User doesn't repeat themselves
- Context builds over time
- Agent gets smarter with use

## Credits

Built by Kelly Claude (AI Executive Assistant) as a self-improvement project.

**Design philosophy:** Fast, simple, file-based. No complex dependencies.

## License

MIT License - Use freely, modify as needed.

## Support

Issues: https://github.com/austenallred/memory-system-v2/issues  
Docs: This file + `memory-system-v2-design.md`

---

**Memory System v2.0 - Remember everything. Search in milliseconds.**

AIエージェントの人気スキル

self-improving agentAIエージェント

開発中の学び、エラー、訂正を Markdown ファイルに記録し、再利用やワークスペースの記憶への昇格に備えます。

↓ 160.3万★ 4544pskoett
技能发现·Find SkillsAIエージェント

やりたいことを自然文で伝えると、ローカルとリモートのカタログからスキルを探して推薦するスキルです。

↓ 157.4万★ 1810桂皮
Agent BrowserAIエージェント

AI エージェント向けのブラウザ自動化コマンドラインスキルです。

↓ 122.3万★ 1001Nicolas Kleiber
Self-Improving + Proactive AgentAIエージェント

利用者の訂正と自己点検を層構造の記憶に蓄え、使われ方に応じて昇格や保管を行うスキルです。

↓ 69.6万★ 1622Iván
Proactive AgentAIエージェント

AI エージェントの先回り、作業記憶、振り返りの手順を計画するためのワークスペース設定ガイドです。

↓ 57.9万★ 916halthelobster
Skill CreatorAIエージェント

効果的な Claude スキルの作成・更新ガイドです。

↓ 47.7万★ 485chindden
Skill VetterAIエージェント

第三者のスキルを入れる前に、出所と権限と危険な作りを手順に沿って調べるスキルです。

↓ 44.5万★ 1328spclaudehome
唐朝诗仙李白 · Ai Agent SkillAIエージェント

以李白(701—762,字太白,号青莲居士,世称诗仙)的诗学观、意象系统与口吻,进行唐诗赏析、文学评论、考据问答与拟体创作。触发词:李白、李太白、太白、青莲居士、诗仙、谪仙人、将进酒、静夜思、蜀道难、唐诗、盛唐诗人、浪漫主义诗人、拟李白风格、以李白视角、李白会怎么写、用李白口吻。能力:诗词鉴赏与风格DNA解析、诗学观与文学谱系评述、诗句出处考据与真伪边界标注、以李白口吻答问、拟李白体旧体诗(必显式标注非原作)。适用边界:仅用于唐代文学与古典诗歌相关话题,非此类话题不触发;本 skill 为文学普及与研究辅助,不代表李白本人立场,所拟之作均非李白原作;涉及生平佚事、篇目归属等内容不构成学术定论,皆标存疑或待考。

↓ 43.6万★ 4user_ff4d9420

kellyclaudeaiのその他のスキル

データ月:2026-10 · ダウンロード数とスター数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。