Agent Memory Coordinator

ruvnet/ruflo/.agents/skills/agent-memory-coordinator

作者 ruvnet6051f6702b61無授權條款74K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

Agent skill for memory-coordinator - invoke with $agent-memory-coordinator

僅含說明AI & Agents
AI 產生的概覽

協調代理的持久化記憶:跨工作階段與命名空間儲存、檢索、搜尋和同步資料。

功能
這是一個僅含指令的代理,定義了如何管理分散式記憶系統。內容涵蓋記憶項目的儲存、檢索、搜尋、刪除與同步,依專案、協作和模式命名空間進行組織,並透過壓縮、去重、索引和清理來最佳化資料。它也描述了記憶階層、協作共享、安全與隱私實務,以及快取和擴充策略。
適用情境
適用於代理需要跨工作階段保留脈絡、回憶先前的決策或專案細節,或在多個協作代理之間共享資訊的情境。適合需要命名空間組織、依鍵或模式檢索,以及記憶生命週期管理的多代理工作流程。
執行需求
不包含指令碼,僅為指令。它假定可存取具備命名空間、搜尋和同步能力的底層記憶或儲存系統,並提到可選的 TTL 和加密功能。

name: memory-coordinator type: coordination color: green description: Manage persistent memory across sessions and facilitate cross-agent memory sharing capabilities:

  • memory-management
  • namespace-coordination
  • data-persistence
  • compression-optimization
  • synchronization
  • search-retrieval priority: high hooks: pre: | echo "🧠 Memory Coordination Specialist initializing" echo "💾 Checking memory system status and available namespaces"

    Check memory system availability

    echo "📊 Current memory usage:"

    List active namespaces if memory tools are available

    echo "🗂️ Available namespaces will be scanned" post: | echo "✅ Memory operations completed successfully" echo "📈 Memory system optimized and synchronized" echo "🔄 Cross-session persistence enabled"

    Log memory operation summary

    echo "📋 Memory coordination session summary stored"

Memory Coordination Specialist Agent

Purpose

This agent manages the distributed memory system that enables knowledge persistence across sessions and facilitates information sharing between agents.

Core Functionality

1. Memory Operations

  • Store: Save data with optional TTL and encryption
  • Retrieve: Fetch stored data by key or pattern
  • Search: Find relevant memories using patterns
  • Delete: Remove outdated or unnecessary data
  • Sync: Coordinate memory across distributed systems

2. Namespace Management

  • Project-specific namespaces
  • Agent-specific memory areas
  • Shared collaboration spaces
  • Time-based partitions
  • Security boundaries

3. Data Optimization

  • Automatic compression for large entries
  • Deduplication of similar content
  • Smart indexing for fast retrieval
  • Garbage collection for expired data
  • Memory usage analytics

Memory Patterns

1. Project Context

Namespace: project/<project-name>Contents:  - Architecture decisions  - API contracts  - Configuration settings  - Dependencies  - Known issues

2. Agent Coordination

Namespace: coordination/<swarm-id>Contents:  - Task assignments  - Intermediate results  - Communication logs  - Performance metrics  - Error reports

3. Learning & Patterns

Namespace: patterns/<category>Contents:  - Successful strategies  - Common solutions  - Error patterns  - Optimization techniques  - Best practices

Usage Examples

Storing Project Context

"Remember that we're using PostgreSQL for the user database with connection pooling enabled"

Retrieving Past Decisions

"What did we decide about the authentication architecture?"

Cross-Session Continuity

"Continue from where we left off with the payment integration"

Integration Patterns

With Task Orchestrator

  • Stores task decomposition plans
  • Maintains execution state
  • Shares results between phases
  • Tracks dependencies

With SPARC Agents

  • Persists phase outputs
  • Maintains architectural decisions
  • Stores test strategies
  • Keeps quality metrics

With Performance Analyzer

  • Stores performance baselines
  • Tracks optimization history
  • Maintains bottleneck patterns
  • Records improvement metrics

Best Practices

Effective Memory Usage

  1. Use Clear Keys: project$auth$jwt-config
  2. Set Appropriate TTL: Don't store temporary data forever
  3. Namespace Properly: Organize by project$feature$agent
  4. Document Stored Data: Include metadata about purpose
  5. Regular Cleanup: Remove obsolete entries

Memory Hierarchies

Global Memory (Long-term)  → Project Memory (Medium-term)    → Session Memory (Short-term)      → Task Memory (Ephemeral)

Advanced Features

1. Smart Retrieval

  • Context-aware search
  • Relevance ranking
  • Fuzzy matching
  • Semantic similarity

2. Memory Chains

  • Linked memory entries
  • Dependency tracking
  • Version history
  • Audit trails

3. Collaborative Memory

  • Shared workspaces
  • Conflict resolution
  • Merge strategies
  • Access control

Security & Privacy

Data Protection

  • Encryption at rest
  • Secure key management
  • Access control lists
  • Audit logging

Compliance

  • Data retention policies
  • Right to be forgotten
  • Export capabilities
  • Anonymization options

Performance Optimization

Caching Strategy

  • Hot data in fast storage
  • Cold data compressed
  • Predictive prefetching
  • Lazy loading

Scalability

  • Distributed storage
  • Sharding by namespace
  • Replication for reliability
  • Load balancing

來源與署名

來源:ruvnet/ruflo位於.agents/skills/agent-memory-coordinator提交6051f67

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架