Simple Memory Skill
БесплатноБез исполняемых скриптовНе проверенZero-dependency AI memory system. No API keys needed. Pure local storage with smart search. Works... 核心能力: - 智能代理领域的专业化AI辅助工具 - 基于高人气开源Skill深度优化升级…
от thcjp217 установок в других каталогахОб этом скилле
simple-memory-skill
The zero-dependency memory system for AI agents.
No API keys. No external services. No cloud dependencies. Just pure local storage with intelligent search.
Architecture
┌─────────────────────────────────────────────────┐
│ SIMPLE LOCAL MEMORY │
├─────────────────────────────────────────────────┤
│ │
│ ┌─────────────┐ ┌─────────────┐ │
│ │ HOT RAM │ │ COLD STORE │ │
│ │ │ │ │ │
│ │ SESSION- │ │ Indexed │ │
│ │ STATE.json │ │ Memories │ │
│ │ │ │ (JSON + │ │
│ │ (active │ │ Search) │ │
│ │ context) │ │ │ │
│ └─────────────┘ └─────────────┘ │
│ │ │ │
│ └────────────────┼─────────────────┘ │
│ ▼ │
│ ┌─────────────┐ │
│ │ MEMORY.md │ ← Human │
│ │ + daily/ │ readable │
│ └─────────────┘ │
│ │
└─────────────────────────────────────────────────┘
The 3 Memory Layers
Layer 1: HOT RAM (SESSION-STATE.json)
Fast, active working memory
{
"current_task": "...",
"key_context": ["...", "..."],
"pending_actions": ["...", "..."],
"recent_decisions": ["..."],
"last_updated": "2026-03-15T10:30:00Z"
}
Benefits:
- Fast JSON read/write
- Survives compaction
- Easy to parse programmatically
Layer 2: COLD STORE (Indexed Memories)
Persistent, searchable memory
memory-store --type preference --content "User prefers dark mode" --importance 0.9
memory-search "what did user say about CSS"
memory-list --limit 10
Storage: memories/ directory with indexed JSON files
Layer 3: CURATED ARCHIVE (MEMORY.md + daily/)
Human-readable long-term memory
workspace/
├── MEMORY.md # Curated insights
├── SESSION-STATE.json # Active context
└── memories/
├── 2026-03-15.json # Daily memory dump
├── preferences.json # User preferences
├── decisions.json # Key decisions
└── lessons.json # Lessons learned
Quick Setup
Step 1: Initialize
npm install -g simple-local-memory
cd your-project
memory-init
This creates:
SESSION-STATE.json- Active working memoryMEMORY.md- Long-term curated memorymemories/- Directory for memory storage
Step 2: Use with Your AI Agent
For Claude Code:
When I give you important information:
1. Write it to SESSION-STATE.json FIRST
2. Then store it using memory-store
3. Then respond to me
When starting a conversation:
1. Read SESSION-STATE.json
2. Search relevant memories with memory-search
3. Check MEMORY.md for context
For ChatGPT/Cursor: Add to your system prompt:
You have access to local memory tools:
- memory-store: Save important information
- memory-search: Find relevant past context
- Read SESSION-STATE.json before responding
- Update SESSION-STATE.json when user shares preferences
Memory CLI Commands
memory-init
memory-store --type preference --content "User loves TypeScript" --importance 0.9
memory-search "TypeScript preferences"
memory-list --limit 10 --type preference
memory-stats
memory-export --format json --output backup.json
memory-import --file backup.json
WAL Protocol (Write-Ahead Logging)
CRITICAL: Write to memory BEFORE responding
| Trigger | Action |
|---|---|
| User states preference | Update SESSION-STATE.json → Store → Respond |
| User makes decision | Update SESSION-STATE.json → Store → Respond |
| User gives deadline | Update SESSION-STATE.json → Store → Respond |
| User corrects you | Update SESSION-STATE.json → Store → Respond |
Why? If response crashes before saving, context is lost.
Memory Storage Format
memories/YYYY-MM-DD.json
{
"date": "2026-03-15",
"memories": [
{
"id": "uuid",
"type": "preference|decision|fact|lesson",
"content": "User prefers dark mode",
"importance": 0.9,
"tags": ["ui", "preferences"],
"timestamp": "2026-03-15T10:30:00Z",
"context": "Discussed during UI setup"
}
]
}
memories/preferences.json
{
"preferences": [
{
"key": "css_framework",
"value": "Tailwind",
"set_at": "2026-03-15T10:30:00Z",
"reason": "User prefers over vanilla CSS"
}
]
}
memories/decisions.json
{
"decisions": [
{
"id": "uu
Установить Simple Memory Skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Simple Memory Skill?
Zero-dependency AI memory system. No API keys needed. Pure local storage with smart search. Works... 核心能力: - 智能代理领域的专业化AI辅助工具 - 基于高人气开源Skill深度优化升级 - 移除风险代码,增强安全性和稳定性 适用场景: - AI代理增强、记忆管理、自主决策 - 独立开发者与一人公司效率提升 - 自动化工作流与智能决策辅助 差异化:经过深度优化,去除原始风险代码,清理外部依赖引用,增强元数据和触发关键词,完全适配SkillHub平台规范。 触发关键词: memory, zero, system, simple-memory-skill, simple, keys, dependency, skill
Как установить скилл Simple Memory Skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Simple Memory Skill запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic