跳到正文
Skillpedia
智能体81k · #1477

agent-memory-coordinator

它能做什么

这项技能为 AI 智能体设置记忆,使事实和结果可以在会话之间保留并共享。适合运行多个智能体、并需要它们记住和复用信息的人。

适用场景

  • ✓当你希望智能体记住之前会话中的决定的时候。
  • ✓当多个智能体需要读取同一组已保存笔记的时候。
  • ✓当你需要清理或整理旧记忆的时候。

技能链接

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-memory-coordinator/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-memory-coordinator/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请保存我们今天做出的决定,让智能体下周可以使用。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体把信息存放在称为命名空间的命名分组下,需要时再进行搜索,并删除已过时的条目。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。


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
常见问题

保存的记忆是私密的吗?

这项技能提到了可选的加密和时间限制,请查看你的设置,了解哪些适用于你。

什么是命名空间?

命名空间是一个命名分组,用来把相关的记忆放在一起。

保存的记忆会过期吗?

会。这项技能提到可以为存储的数据设置可选的时间限制。

详情

作者的原始描述

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

repo: ruvnet/ruflo

热度

GitHub 星标
81k
排名
#1477
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能