AlphaMoatによると、2026-10時点でSession Memoryのダウンロード数は8,724、スター数は1で、累計ダウンロード数で今回のランキング対象AIスキル10,914件中3,188位、AIエージェントでは1,632件中422位です。
一覧の初期表示は累計ダウンロード数順で、スター数順にも並べ替えできます。詳細ページの順位は累計ダウンロード数で計算しています。
| プラットフォーム | ダウンロード数 | スター数 | コメント |
|---|---|---|---|
| SkillHub ↗ | 8724 | 1 | — |
プラットフォームごとに集計方法と集計時点が異なります。
Bash と Node のツールで主題、タグ、重要度を付けて保存し、複数キーワードで検索し、重要度と新しさに応じて文脈を読み込みます。主題別の整理、編集、削除、入出力、アーカイブにも対応し、記録はローカルの JSONL に保存されます。 ローカルファイルには個人情報やプロジェクト情報が含まれる場合があります。作業ディレクトリへのアクセスを制限し、処理対象を確認してください。
資料公開日 2026-10-27
スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。
2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。
| 月 | ダウンロード数 | 前月比 | スター数 |
|---|---|---|---|
| 2026-10 | 8724 | — | 1 |
| 2026-09 | 6569 | — | 1 |
| 2026-08 | 6182 | +3.3% | 1 |
| 2026-07 | 5987 | +6.4% | 1 |
| 2026-06 | 5627 | +4.7% | 1 |
| 2026-05 | 5375 | — | 1 |
| 2026-03 | 4203 | — | 1 |
作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。
---
name: session-memory
description: Persistent memory toolkit for AI agents. Save context, recall with relevance scoring, consolidate insights, track decisions across sessions. Features importance levels, multi-keyword search, session context loader, export/import, memory stats. Pure bash+node, no dependencies. v2.0.0
homepage: https://github.com/voidborne-d/session-memory-skill
metadata: {"openclaw":{"emoji":"🧠","requires":{"bins":["node"]}}}
---
# Session Memory 🧠 v2.0
Persistent memory for AI agents. Save what matters, recall what's relevant, consolidate what you've learned.
**v2.0:** relevance-scored search, importance levels, session context loader, consolidation, export/import, stats, edit/delete.
## Quick Start
```bash
# Save a memory (with optional importance)
MEMORY_IMPORTANCE=high ./scripts/save.sh "decision" "Chose Postgres over SQLite for scale"
# Recall with relevance scoring
./scripts/recall.sh "database" --limit 5
# Load session context (startup)
./scripts/context.sh --days 3
# Consolidate by topic
./scripts/consolidate.sh --since 2026-01-01
# Stats
./scripts/stats.sh
```
---
## Commands
### save.sh — Save a Memory
```bash
./scripts/save.sh "topic" "content" [tags...]
```
| Env | Default | Description |
|-----|---------|-------------|
| `AGENT_MEMORY_DIR` | `~/.agent-memory` | Storage directory |
| `MEMORY_IMPORTANCE` | `normal` | low / normal / high / critical |
```bash
# Basic save
./scripts/save.sh "insight" "Users prefer dark mode 3:1" ui design
# High importance
MEMORY_IMPORTANCE=high ./scripts/save.sh "decision" "Migrated to TypeScript" refactor
# Critical (always surfaces in context.sh)
MEMORY_IMPORTANCE=critical ./scripts/save.sh "credential" "API key rotated, new one in vault"
```
### recall.sh — Search Memories
```bash
./scripts/recall.sh "query" [--json] [--limit N] [--topic T] [--importance I] [--since YYYY-MM-DD]
```
Features:
- **Multi-keyword AND search** — all words must match
- **Relevance scoring** — based on word match ratio + importance + recency
- **Filters** — by topic, importance level, date range
```bash
./scripts/recall.sh "database migration"
./scripts/recall.sh "API" --topic decision --limit 20
./scripts/recall.sh "deploy" --since 2026-03-01 --json
./scripts/recall.sh "error" --importance high
```
### context.sh — Session Startup Loader
```bash
./scripts/context.sh [--days N] [--limit N] [--json]
```
Loads the most relevant memories for a new session:
- Recent memories (last N days, default 3)
- High/critical importance items regardless of age
- Sorted by importance then recency
- Grouped by date
```bash
# Quick context
./scripts/context.sh
# Wider window
./scripts/context.sh --days 7 --limit 30
# For programmatic use
./scripts/context.sh --json
```
### daily.sh — Day View
```bash
./scripts/daily.sh [YYYY-MM-DD] [--json]
```
### topics.sh — Topic Index
```bash
./scripts/topics.sh [--json]
```
### consolidate.sh — Topic Consolidation
```bash
./scripts/consolidate.sh [--since YYYY-MM-DD] [--topic T] [--json]
```
Groups all memories by topic, showing counts, date ranges, top tags, and latest entries. Useful for periodic review.
### stats.sh — Memory Statistics
```bash
./scripts/stats.sh [--json]
```
Shows: total entries, date range, entries/day average, storage size, topic breakdown, importance distribution.
### edit.sh — Edit or Delete
```bash
./scripts/edit.sh <timestamp_ms> --content "new content"
./scripts/edit.sh <timestamp_ms> --topic "new topic"
./scripts/edit.sh <timestamp_ms> --importance critical
./scripts/edit.sh <timestamp_ms> --delete
```
### export.sh — Export Memories
```bash
./scripts/export.sh [-o backup.json] [--since YYYY-MM-DD] [--topic T]
```
### import.sh — Import Memories
```bash
./scripts/import.sh backup.json [--dry-run]
```
Deduplicates by timestamp — safe to run multiple times.
### prune.sh — Archive Old Memories
```bash
./scripts/prune.sh [days]
```
Moves memories older than N days (default: 30) to `archive/`.
---
## Storage
```
~/.agent-memory/
├── 2026/
│ ├── 01/
│ │ ├── 15.jsonl
│ │ └── 16.jsonl
│ └── 02/
│ └── 01.jsonl
└── archive/ # Pruned memories
```
Each line is a JSON object:
```json
{"ts":1706793600000,"topic":"decision","content":"Chose X because Y","tags":["project"],"importance":"high"}
```
## Importance Levels
| Level | When to Use | Behavior |
|-------|-------------|----------|
| `low` | Background info, minor notes | Only found via search |
| `normal` | Standard memories | Shown in daily view |
| `high` | Key decisions, insights | Always in session context |
| `critical` | Credentials, blockers, urgent | Always in session context, top priority |
## Recommended Workflow
```bash
# Session start
./scripts/context.sh
# During work — save important things
./scripts/save.sh "decision" "..."
MEMORY_IMPORTANCE=high ./scripts/save.sh "insight" "..."
# End of session
./scripts/save.sh "summary" "Today: did X, decided Y, next step Z"
# Weekly review
./scripts/consolidate.sh --since $(date -u -d '7 days ago' +%Y-%m-%d)
./scripts/stats.sh
# Monthly maintenance
./scripts/prune.sh 60
./scripts/export.sh -o backup-$(date +%Y%m).json
```
---
*Created by [Voidborne](https://voidborne.org) 🔹*
開発中の学び、エラー、訂正を Markdown ファイルに記録し、再利用やワークスペースの記憶への昇格に備えます。
やりたいことを自然文で伝えると、ローカルとリモートのカタログからスキルを探して推薦するスキルです。
AI エージェント向けのブラウザ自動化コマンドラインスキルです。
利用者の訂正と自己点検を層構造の記憶に蓄え、使われ方に応じて昇格や保管を行うスキルです。
AI エージェントの先回り、作業記憶、振り返りの手順を計画するためのワークスペース設定ガイドです。
効果的な Claude スキルの作成・更新ガイドです。
第三者のスキルを入れる前に、出所と権限と危険な作りを手順に沿って調べるスキルです。
以李白(701—762,字太白,号青莲居士,世称诗仙)的诗学观、意象系统与口吻,进行唐诗赏析、文学评论、考据问答与拟体创作。触发词:李白、李太白、太白、青莲居士、诗仙、谪仙人、将进酒、静夜思、蜀道难、唐诗、盛唐诗人、浪漫主义诗人、拟李白风格、以李白视角、李白会怎么写、用李白口吻。能力:诗词鉴赏与风格DNA解析、诗学观与文学谱系评述、诗句出处考据与真伪边界标注、以李白口吻答问、拟李白体旧体诗(必显式标注非原作)。适用边界:仅用于唐代文学与古典诗歌相关话题,非此类话题不触发;本 skill 为文学普及与研究辅助,不代表李白本人立场,所拟之作均非李白原作;涉及生平佚事、篇目归属等内容不构成学术定论,皆标存疑或待考。
データ月:2026-10 · ダウンロード数とスター数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。