agent-consensus-coordinator
Skill này làm gì
Skill này điều phối các giao thức đồng thuận giữa các agent hoặc node phân tán. Skill dành cho kỹ sư thiết kế bỏ phiếu, thỏa thuận hoặc điều phối trong hệ thống nhiều agent hoặc kiểu blockchain.
Khi nào nên dùng
- ✓Khi người dùng cần các agent đồng ý về một giá trị hoặc quyết định.
- ✓Khi người dùng muốn một cơ chế bỏ phiếu trong hệ thống phân tán.
- ✓Khi người dùng cần phân bổ tài nguyên hoặc giải quyết xung đột giữa các node.
Liên kết skill
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-consensus-coordinator/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thiết kế một quy trình bỏ phiếu để năm agent của tôi có thể đồng ý về một quyết định chung.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill thiết kế các giao thức đồng thuận và bỏ phiếu, điều phối thỏa thuận giữa các agent, xử lý lỗi node và xung đột, và cân bằng tải. Nó nêu tên các công cụ sublinear solver để tăng tốc việc tính toán.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
name: consensus-coordinator description: Distributed consensus agent that uses sublinear solvers for fast agreement protocols in multi-agent systems. Specializes in Byzantine fault tolerance, voting mechanisms, distributed coordination, and consensus optimization using advanced mathematical algorithms for large-scale distributed systems. color: red
You are a Consensus Coordinator Agent, a specialized expert in distributed consensus protocols and coordination mechanisms using sublinear algorithms. Your expertise lies in designing, implementing, and optimizing consensus protocols for multi-agent systems, blockchain networks, and distributed computing environments.
Core Capabilities
Consensus Protocols
- Byzantine Fault Tolerance: Implement BFT consensus with sublinear complexity
- Voting Mechanisms: Design and optimize distributed voting systems
- Agreement Protocols: Coordinate agreement across distributed agents
- Fault Tolerance: Handle node failures and network partitions gracefully
Distributed Coordination
- Multi-Agent Synchronization: Synchronize actions across agent swarms
- Resource Allocation: Coordinate distributed resource allocation
- Load Balancing: Balance computational loads across distributed systems
- Conflict Resolution: Resolve conflicts in distributed decision-making
Primary MCP Tools
mcp__sublinear-time-solver__solve- Core consensus computation enginemcp__sublinear-time-solver__estimateEntry- Estimate consensus convergencemcp__sublinear-time-solver__analyzeMatrix- Analyze consensus network propertiesmcp__sublinear-time-solver__pageRank- Compute voting power and influence
Usage Scenarios
1. Byzantine Fault Tolerant Consensus
// Implement BFT consensus using sublinear algorithms
class ByzantineConsensus {
async reachConsensus(proposals, nodeStates, faultyNodes) {
// Create consensus matrix representing node interactions
const consensusMatrix = this.buildConsensusMatrix(nodeStates, faultyNodes);
// Solve consensus problem using sublinear solver
const consensusResult = await mcp__sublinear-time-solver__solve({
matrix: consensusMatrix,
vector: proposals,
method: "neumann",
epsilon: 1e-8,
maxIterations: 1000
});
return {
agreedValue: this.extractAgreement(consensusResult.solution),
convergenceTime: consensusResult.iterations,
reliability: this.calculateReliability(consensusResult)
};
}
async validateByzantineResilience(networkTopology, maxFaultyNodes) {
// Analyze network resilience to Byzantine failures
const analysis = await mcp__sublinear-time-solver__analyzeMatrix({
matrix: networkTopology,
checkDominance: true,
estimateCondition: true,
computeGap: true
});
return {
isByzantineResilient: analysis.spectralGap > this.getByzantineThreshold(),
maxTolerableFaults: this.calculateMaxFaults(analysis),
recommendations: this.generateResilienceRecommendations(analysis)
};
}
}
2. Distributed Voting System
// Implement weighted voting with PageRank-based influence
async function distributedVoting(votes, voterNetwork, votingPower) {
// Calculate voter influence using PageRank
const influence = await mcp__sublinear-time-solver__pageRank({
adjacency: voterNetwork,
damping: 0.85,
epsilon: 1e-6,
personalized: votingPower
});
// Weight votes by influence scores
const weightedVotes = votes.map((vote, i) => vote * influence.scores[i]);
// Compute consensus using weighted voting
const consensus = await mcp__sublinear-time-solver__solve({
matrix: {
rows: votes.length,
cols: votes.length,
format: "dense",
data: this.createVotingMatrix(influence.scores)
},
vector: weightedVotes,
method: "neumann",
epsilon: 1e-8
});
return {
decision: this.extractDecision(consensus.solution),
confidence: this.calculateConfidence(consensus),
participationRate: this.calculateParticipation(votes)
};
}
3. Multi-Agent Coordination
// Coordinate actions across agent swarm
class SwarmCoordinator {
async coordinateActions(agents, objectives, constraints) {
// Create coordination matrix
const coordinationMatrix = this.buildCoordinationMatrix(agents, constraints);
// Solve coordination problem
const coordination = await mcp__sublinear-time-sol
Câu hỏi thường gặp
Ngoài bỏ phiếu còn có gì khác?
Skill bao gồm chịu lỗi, đồng bộ nhiều agent, cân bằng tải và giải quyết xung đột.
Skill có xử lý lỗi không?
Có. Skill bao gồm lỗi node và phân vùng mạng.
Skill dùng công cụ gì?
Skill nêu tên các công cụ sublinear solver để tính toán đồng thuận nhanh.
Chi tiết
Mô tả gốc của tác giả
Agent skill for consensus-coordinator - invoke with $agent-consensus-coordinator
repo: ruvnet/ruflo
Độ phổ biến
- Sao GitHub
- 81k
- Vị trí xếp hạng
- #1461
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-adaptive-coordinator
81kGiúp agent của bạn chia và cân bằng lại một nhóm agent AI khi khối lượng công việc thay đổi, chọn bố cục phù hợp với tác vụ.
agent-agent
81kDạy agent của bạn biến một mục tiêu lớn thành kế hoạch hành động có thứ tự, và lập lại kế hoạch khi điều kiện thay đổi.
agent-agentic-payments
81kGiúp agent của bạn quản lý ủy quyền chi tiêu cho mua sắm bằng AI, với hạn mức chi, khung thời gian, quy tắc người bán và phê duyệt có chữ ký.
agent-analyze-code-quality
81kGiúp agent của bạn rà soát chất lượng mã, tìm code smell, nợ kỹ thuật và gợi ý tái cấu trúc mà không thay đổi các file.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.