بنقرة واحدة
memory-patterns
Persistent memory patterns for cross-session learning and context retention
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Persistent memory patterns for cross-session learning and context retention
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
CLI modernization and hooks system enhancement for claude-flow v3. Implements interactive prompts, command decomposition, enhanced hooks integration, and intelligent workflow automation.
Core module implementation for claude-flow v3. Implements DDD domains, clean architecture patterns, dependency injection, and modular TypeScript codebase with comprehensive testing.
Domain-Driven Design architecture for claude-flow v3. Implements modular, bounded context architecture with clean separation of concerns and microkernel pattern.
Deep agentic-flow@alpha integration implementing ADR-001. Eliminates 10,000+ duplicate lines by building claude-flow as specialized extension rather than parallel implementation.
MCP server optimization and transport layer enhancement for claude-flow v3. Implements connection pooling, load balancing, tool registry optimization, and performance monitoring for sub-100ms response times.
Unify 6+ memory systems into AgentDB with HNSW indexing for 150x-12,500x search improvements. Implements ADR-006 (Unified Memory Service) and ADR-009 (Hybrid Memory Backend).
| name | memory-patterns |
| description | Persistent memory patterns for cross-session learning and context retention |
| version | 1.0.0 |
| invocable | true |
| author | agentic-flow |
| capabilities | ["memory_store","memory_retrieve","pattern_learning","context_management"] |
Implement persistent memory patterns for AI agents using ReasoningBank.
# Store a pattern
npx agentic-flow@alpha memory store "api:auth" "OAuth2 with JWT"
# Retrieve a pattern
npx agentic-flow@alpha memory get "api:auth"
# Search patterns
npx agentic-flow@alpha memory search "authentication"
# List all patterns
npx agentic-flow@alpha memory list --namespace project
| 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 |
# Store decision with context
npx agentic-flow@alpha memory store \
"decisions:auth-method" \
'{"choice": "JWT", "reason": "stateless, scalable", "date": "2024-01-01"}'
# Store reusable code pattern
npx agentic-flow@alpha memory store \
"patterns:error-handling" \
"try-catch with custom error classes and logging"
# Store learning from successful task
npx agentic-flow@alpha memory store \
"learnings:react-hooks" \
"useCallback for event handlers, useMemo for expensive computations"
// 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 provides: