memory-patterns
БесплатноБез исполняемых скриптовНе проверенPersistent memory patterns for cross-session learning and context retention
от ruvnet★ 850 звёзд на GitHubОб этом скилле
Memory Patterns Skill
Implement persistent memory patterns for AI agents using ReasoningBank.
Quick Commands
# Store a pattern
npx [email protected] memory store "api:auth" "OAuth2 with JWT"
# Retrieve a pattern
npx [email protected] memory get "api:auth"
# Search patterns
npx [email protected] memory search "authentication"
# List all patterns
npx [email protected] memory list --namespace project
Memory Namespaces
| Namespace | Purpose | TTL |
|---|---|---|
session |
Current session context | Until end |
project |
Project-specific learnings | Permanent |
user |
User preferences | Permanent |
swarm |
Swarm coordination state | Swarm lifetime |
cache |
Temporary cached data | 1 hour |
Pattern Types
Decision Patterns
# Store decision with context
npx [email protected] memory store \
"decisions:auth-method" \
'{"choice": "JWT", "reason": "stateless, scalable", "date": "2024-01-01"}'
Code Patterns
# Store reusable code pattern
npx [email protected] memory store \
"patterns:error-handling" \
"try-catch with custom error classes and logging"
Learning Patterns
# Store learning from successful task
npx [email protected] memory store \
"learnings:react-hooks" \
"useCallback for event handlers, useMemo for expensive computations"
MCP Tools
// Store memory
mcp__claude-flow__memory_usage({
action: "store",
key: "project:architecture",
value: "microservices with event-driven communication",
namespace: "project"
})
// Retrieve memory
mcp__claude-flow__memory_usage({
action: "retrieve",
key: "project:architecture",
namespace: "project"
})
// Search memories
mcp__claude-flow__memory_search({
pattern: "auth*",
namespace: "project",
limit: 10
})
ReasoningBank Integration
ReasoningBank provides:
- 150x faster vector search with HNSW
- Reflexion memory for self-improvement
- Skill library for learned capabilities
- Causal graphs for decision tracking
Best Practices
- Use namespaces: Organize by scope
- Be specific: Clear, searchable keys
- Include context: Store decisions with reasoning
- Clean up: Delete stale patterns
- Version patterns: Track changes over time
Установить memory-patterns в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл memory-patterns?
Persistent memory patterns for cross-session learning and context retention
Как установить скилл memory-patterns?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл memory-patterns запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic