简介
管理基于Gossip的共识协议,确保可扩展分布式系统状态同步与最终一致性。
原始描述
Manages gossip-based consensus protocols to ensure state synchronization and eventual consistency across scalable distributed systems.
通过你的 Agent 添加
安装目录:agent-gossip-coordinator/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: agent-gossip-coordinator description: Agent skill for gossip-coordinator - invoke with $agent-gossip-coordinator
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
- Epidemic Dissemination: Implement push$pull gossip protocols for information spread
- Peer Management: Handle random peer selection and failure detection
- State Synchronization: Coordinate vector clocks and conflict resolution
- Convergence Monitoring: Ensure eventual consistency across all nodes
- 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