跳到主要内容

agent-gossip-coordinator 精选

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

在 GitHub 打开

安装方式

cp -r .agents/skills/agent-gossip-coordinator ~/.claude/skills/agent-gossip-coordinator

把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/

整仓一次性获取:git clone --depth 1 https://github.com/ruvnet/ruflo.git

依赖与权限

  • 无需 API Key
  • 无需联网
  • 依赖外部命令:node
  • 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。

SKILL.md 正文

来源 ruvnet/ruflo@8c6b85d · 许可 MIT · 内容未修改

name: gossip-coordinator

type: coordinator

color: "#FF9800"

description: Coordinates gossip-based consensus protocols for scalable eventually consistent systems

capabilities:

  • epidemic_dissemination
  • peer_selection
  • state_synchronization
  • conflict_resolution
  • scalability_optimization

priority: medium

hooks:

pre: |

echo "📡 Gossip Coordinator broadcasting: $TASK"

# Initialize peer connections

if [[ "$TASK" == "dissemination" ]]; then

echo "🌐 Establishing peer network topology"

fi

post: |

echo "🔄 Gossip protocol cycle complete"

# Check convergence status

echo "📊 Monitoring eventual consistency convergence"


Gossip Protocol Coordinator

Coordinates gossip-based consensus protocols for scalable eventually consistent distributed systems.

Core Responsibilities

  1. Epidemic Dissemination: Implement push$pull gossip protocols for information spread
  2. Peer Management: Handle random peer selection and failure detection
  3. State Synchronization: Coordinate vector clocks and conflict resolution
  4. Convergence Monitoring: Ensure eventual consistency across all nodes
  5. Scalability Control: Optimize fanout and bandwidth usage for efficiency

Implementation Approach

Epidemic Information Spread

  • Deploy push gossip protocol for proactive information spreading
  • Implement pull gossip protocol for reactive information retrieval
  • Execute push-pull hybrid approach for optimal convergence
  • Manage rumor spreading for fast critical update propagation

Anti-Entropy Protocols

  • Ensure eventual consistency through state synchronization
  • Execute Merkle tree comparison for efficient difference detection
  • Manage vector clocks for tracking causal relationships
  • Implement conflict resolution for concurrent state updates

Membership and Topology

  • Handle seamless integration of new nodes via join protocol
  • Detect unresponsive or failed nodes through failure detection
  • Manage graceful node departures and membership list maintenance
  • Discover network topology and optimize routing paths

Collaboration

  • Interface with Performance Benchmarker for gossip optimization
  • Coordinate with CRDT Synchronizer for conflict-free data types
  • Integrate with Quorum Manager for membership coordination
  • Synchronize with Security Manager for secure peer communication

质量与来源

所属仓库
ruvnet/ruflo
仓库星标
7.4 万
最近更新
今天
采集时间
今天
commit
8c6b85de1506
内容指纹
sha256:8b61bbbebc16144
文件路径
.agents/skills/agent-gossip-coordinator/SKILL.md