Agent skill

Agent Consensus Coordinator

by ruvnet in ruvnet/ruflo

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

MITAuto-check passedAgent Workflows

Install Agent Consensus Coordinator

skills CLI
$ npx skills add ruvnet/ruflo --skill agent-consensus-coordinator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ruvnet/ruflo agent-consensus-coordinator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ruvnet/ruflo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/agent-consensus-coordinator .claude/skills/agent-consensus-coordinator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
agent-consensus-coordinator
GitHub stars
74k
Used in
3 other repos
Token cost
~3.2k tokens
SKILL.md length
692 words
Files
1
Skills in repo
264
Repo updated
First seen
Licence
MIT

At a glance

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

  • Works in 3 steps: Byzantine Fault Tolerant Consensus → Distributed Voting System → Multi-Agent Coordination
  • Agent Workflows work in your project
  • SKILL.md covers Core Capabilities, Usage Scenarios, Integration with Claude Flow and Integration with Flow Nexus, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Agent Consensus Coordinator is an agent skill from ruvnet/ruflo. Agent skill for consensus-coordinator - invoke with $agent-consensus-coordinator

Its SKILL.md is about 3.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows. It works with Model Context Protocol. The repository describes itself as: 🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory…. The licence is MIT.

When your agent uses it

  • Agent Workflows work in your project

Example prompts

  • “/agent-consensus-coordinator”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Byzantine Fault Tolerant Consensus
  2. Distributed Voting System
  3. Multi-Agent Coordination

What it can do on your machine

Read from SKILL.md and the folder at commit de590e1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Agent Consensus Coordinator loads about 3.2k tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 692 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~3.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ruvnet/ruflo at commit de590e1, republished under its MIT licence (© ruvnet). 692 words, ~3,155 tokens.

Download SKILL.mdSave it as .claude/skills/agent-consensus-coordinator/SKILL.md (or your agent's skills folder).
name
agent-consensus-coordinator
description
Agent skill for consensus-coordinator - invoke with $agent-consensus-coordinator

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 engine
  • mcp__sublinear-time-solver__estimateEntry - Estimate consensus convergence
  • mcp__sublinear-time-solver__analyzeMatrix - Analyze consensus network properties
  • mcp__sublinear-time-solver__pageRank - Compute voting power and influence

Usage Scenarios

1. Byzantine Fault Tolerant Consensus
javascript
// 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
javascript
// 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
javascript
// 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-solver__solve({
      matrix: coordinationMatrix,
      vector: objectives,
      method: "random-walk",
      epsilon: 1e-6,
      maxIterations: 500
    });

    return {
      assignments: this.extractAssignments(coordination.solution),
      efficiency: this.calculateEfficiency(coordination),
      conflicts: this.identifyConflicts(coordination)
    };
  }

  async optimizeSwarmTopology(currentTopology, performanceMetrics) {
    // Analyze current topology effectiveness
    const analysis = await mcp__sublinear-time-solver__analyzeMatrix({
      matrix: currentTopology,
      checkDominance: true,
      checkSymmetry: false,
      estimateCondition: true
    });

    // Generate optimized topology
    return this.generateOptimizedTopology(analysis, performanceMetrics);
  }
}

Integration with Claude Flow

Swarm Consensus Protocols
  • Agent Agreement: Coordinate agreement across swarm agents
  • Task Allocation: Distribute tasks based on consensus decisions
  • Resource Sharing: Manage shared resources through consensus
  • Conflict Resolution: Resolve conflicts between agent objectives
Hierarchical Consensus
  • Multi-Level Consensus: Implement consensus at multiple hierarchy levels
  • Delegation Mechanisms: Implement delegation and representation systems
  • Escalation Protocols: Handle consensus failures with escalation mechanisms

Integration with Flow Nexus

Distributed Consensus Infrastructure
javascript
// Deploy consensus cluster in Flow Nexus
const consensusCluster = await mcp__flow-nexus__sandbox_create({
  template: "node",
  name: "consensus-cluster",
  env_vars: {
    CLUSTER_SIZE: "10",
    CONSENSUS_PROTOCOL: "byzantine",
    FAULT_TOLERANCE: "33"
  }
});

// Initialize consensus network
const networkSetup = await mcp__flow-nexus__sandbox_execute({
  sandbox_id: consensusCluster.id,
  code: `
    const ConsensusNetwork = require('.$consensus-network');

    class DistributedConsensus {
      constructor(nodeCount, faultTolerance) {
        this.nodes = Array.from({length: nodeCount}, (_, i) =>
          new ConsensusNode(i, faultTolerance));
        this.network = new ConsensusNetwork(this.nodes);
      }

      async startConsensus(proposal) {
        console.log('Starting consensus for proposal:', proposal);

        // Initialize consensus round
        const round = this.network.initializeRound(proposal);

        // Execute consensus protocol
        while (!round.hasReachedConsensus()) {
          await round.executePhase();

          // Check for Byzantine behaviors
          const suspiciousNodes = round.detectByzantineNodes();
          if (suspiciousNodes.length > 0) {
            console.log('Byzantine nodes detected:', suspiciousNodes);
          }
        }

        return round.getConsensusResult();
      }
    }

    // Start consensus cluster
    const consensus = new DistributedConsensus(
      parseInt(process.env.CLUSTER_SIZE),
      parseInt(process.env.FAULT_TOLERANCE)
    );

    console.log('Consensus cluster initialized');
  `,
  language: "javascript"
});
Blockchain Consensus Integration
javascript
// Implement blockchain consensus using sublinear algorithms
const blockchainConsensus = await mcp__flow-nexus__neural_train({
  config: {
    architecture: {
      type: "transformer",
      layers: [
        { type: "attention", heads: 8, units: 256 },
        { type: "feedforward", units: 512, activation: "relu" },
        { type: "attention", heads: 4, units: 128 },
        { type: "dense", units: 1, activation: "sigmoid" }
      ]
    },
    training: {
      epochs: 100,
      batch_size: 64,
      learning_rate: 0.001,
      optimizer: "adam"
    }
  },
  tier: "large"
});

Advanced Consensus Algorithms

Practical Byzantine Fault Tolerance (pBFT)
  • Three-Phase Protocol: Implement pre-prepare, prepare, and commit phases
  • View Changes: Handle primary node failures with view change protocol
  • Checkpoint Protocol: Implement periodic checkpointing for efficiency
Proof of Stake Consensus
  • Validator Selection: Select validators based on stake and performance
  • Slashing Conditions: Implement slashing for malicious behavior
  • Delegation Mechanisms: Allow stake delegation for scalability
Hybrid Consensus Protocols
  • Multi-Layer Consensus: Combine different consensus mechanisms
  • Adaptive Protocols: Adapt consensus protocol based on network conditions
  • Cross-Chain Consensus: Coordinate consensus across multiple chains

Performance Optimization

Scalability Techniques
  • Sharding: Implement consensus sharding for large networks
  • Parallel Consensus: Run parallel consensus instances
  • Hierarchical Consensus: Use hierarchical structures for scalability
Latency Optimization
  • Fast Consensus: Optimize for low-latency consensus
  • Predictive Consensus: Use predictive algorithms to reduce latency
  • Pipelining: Pipeline consensus rounds for higher throughput
Resource Optimization
  • Communication Complexity: Minimize communication overhead
  • Computational Efficiency: Optimize computational requirements
  • Energy Efficiency: Design energy-efficient consensus protocols

Fault Tolerance Mechanisms

Show full SKILL.md (287 more words)Show less
Byzantine Fault Tolerance
  • Malicious Node Detection: Detect and isolate malicious nodes
  • Byzantine Agreement: Achieve agreement despite malicious nodes
  • Recovery Protocols: Recover from Byzantine attacks
Network Partition Tolerance
  • Split-Brain Prevention: Prevent split-brain scenarios
  • Partition Recovery: Recover consistency after network partitions
  • CAP Theorem Optimization: Optimize trade-offs between consistency and availability
Crash Fault Tolerance
  • Node Failure Detection: Detect and handle node crashes
  • Automatic Recovery: Automatically recover from node failures
  • Graceful Degradation: Maintain service during failures

Integration Patterns

With Matrix Optimizer
  • Consensus Matrix Optimization: Optimize consensus matrices for performance
  • Stability Analysis: Analyze consensus protocol stability
  • Convergence Optimization: Optimize consensus convergence rates
With PageRank Analyzer
  • Voting Power Analysis: Analyze voting power distribution
  • Influence Networks: Build and analyze influence networks
  • Authority Ranking: Rank nodes by consensus authority
With Performance Optimizer
  • Protocol Optimization: Optimize consensus protocol performance
  • Resource Allocation: Optimize resource allocation for consensus
  • Bottleneck Analysis: Identify and resolve consensus bottlenecks

Example Workflows

Enterprise Consensus Deployment
  1. Network Design: Design consensus network topology
  2. Protocol Selection: Select appropriate consensus protocol
  3. Parameter Tuning: Tune consensus parameters for performance
  4. Deployment: Deploy consensus infrastructure
  5. Monitoring: Monitor consensus performance and health
Blockchain Network Setup
  1. Genesis Configuration: Configure genesis block and initial parameters
  2. Validator Setup: Setup and configure validator nodes
  3. Consensus Activation: Activate consensus protocol
  4. Network Synchronization: Synchronize network state
  5. Performance Optimization: Optimize network performance
Multi-Agent System Coordination
  1. Agent Registration: Register agents in consensus network
  2. Coordination Setup: Setup coordination protocols
  3. Objective Alignment: Align agent objectives through consensus
  4. Conflict Resolution: Resolve conflicts through consensus
  5. Performance Monitoring: Monitor coordination effectiveness

The Consensus Coordinator Agent serves as the backbone for all distributed coordination and agreement protocols, ensuring reliable and efficient consensus across various distributed computing environments and multi-agent systems.

© ruvnet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/agent-consensus-coordinator of ruvnet/ruflo.

Open the folder on GitHubat commit de590e1

Used in 3 other repositories

We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 3 other GitHub owners. This page covers the copy in ruvnet/ruflo, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Agent Consensus Coordinator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Agent Consensus Coordinator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agent Consensus Coordinator this skillruvnet/ruflo74k3 repos~3.2kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k62 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k5 repos~1.2kAutomated safety check: PassMIT
MCP Integration for Pluginsanthropics/claude-plugins-official37k11 repos~3.1kAutomated safety check: PassApache-2.0
Fastmcp Client CLIPrefectHQ/fastmcp28k1 repos~823Automated safety check: PassApache-2.0
MemPalace Memory SearchMemPalace/mempalace59k—~1.4kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 62 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    37k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed
  • Fastmcp Client CLI

    PrefectHQ/fastmcp

    Query and invoke tools on MCP servers using fastmcp list and fastmcp call.

    28k GitHub starsUsed in 1 repo~823 tokens
    Agent WorkflowsAuto-check passed
  • MemPalace Memory Search

    MemPalace/mempalace

    Mines project files and conversation exports into a local, searchable memory palace and recalls past work by semantic search through the mempalace CLI.

    59k GitHub stars~1.4k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Crush Configuration

    charmbracelet/crush

    Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.

    29k GitHub stars~3.7k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from ruvnet/ruflo

All 264 skills in this repo
  • Stores, searches, and retrieves successful patterns with HNSW-indexed semantic search so agents can reuse past solutions instead of relearning them.

    74k GitHub starsUsed in 2 repos~830 tokens
    Auto-check passed
  • Runs claude-flow CLI security scans for input validation, path traversal, SQL injection, XSS, hardcoded secrets and known CVEs, and writes an audit report.

    74k GitHub starsUsed in 2 repos~823 tokens
    Auto-check passed
  • Applies the SPARC method (specification, pseudocode, architecture, refinement, completion) with 17 specialized modes and multi-agent orchestration, from research to deployment.

    74k GitHub starsUsed in 2 repos~829 tokens
    Auto-check passed
  • Coordinates a hierarchical swarm of specialized agents through the claude-flow CLI for work that spans several files or modules at once.

    74k GitHub starsUsed in 2 repos~779 tokens
    Auto-check passed
  • Sets up and drives Ruflo, an npm-installed orchestration layer for multi-agent swarms, persistent memory, routing, hooks and its MCP tool catalog.

    74k GitHub starsUsed in 1 repo~975 tokens
    Auto-check passed
  • Agent Coordination

    ruvnet/ruflo

    Reference for spawning, listing, monitoring and stopping agents with claude-flow commands, with agent type families, routing codes and coordination tips.

    74k GitHub starsUsed in 2 repos~519 tokens
    Auto-check passed

Categories

Questions about Agent Consensus Coordinator

What does Agent Consensus Coordinator do?

Agent skill for consensus-coordinator - invoke with $agent-consensus-coordinator. Agent Consensus Coordinator is an agent skill from ruvnet/ruflo.

When should I use Agent Consensus Coordinator?

Agent Consensus Coordinator fits situations like: agent Workflows work in your project.

How do I install Agent Consensus Coordinator in Claude Code?

Run `npx skills add ruvnet/ruflo --skill agent-consensus-coordinator -a claude-code`. Or copy the skill folder (.agents/skills/agent-consensus-coordinator in ruvnet/ruflo) into .claude/skills/agent-consensus-coordinator in your project. Claude Code loads it when a task matches its description.

How do I install Agent Consensus Coordinator in Codex?

Run `npx skills add ruvnet/ruflo --skill agent-consensus-coordinator -a codex`. Or copy the skill folder (.agents/skills/agent-consensus-coordinator in ruvnet/ruflo) into .agents/skills/agent-consensus-coordinator in your project. Codex loads it when a task matches its description.

Can I use Agent Consensus Coordinator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ruvnet/ruflo --skill agent-consensus-coordinator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agent-consensus-coordinator, .gemini/skills/agent-consensus-coordinator, .github/skills/agent-consensus-coordinator and .opencode/skills/agent-consensus-coordinator in your project.

What does Agent Consensus Coordinator need to run?

SKILL.md names no scripts, command-line tools or credentials: Agent Consensus Coordinator is instructions for the agent only.

Does Agent Consensus Coordinator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Agent Consensus Coordinator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Agent Consensus Coordinator use?

Agent Consensus Coordinator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Agent Consensus Coordinator use?

About 3.2k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Agent Consensus Coordinator?

Skills that share tags, products or a category with Agent Consensus Coordinator: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 37k stars) and Fastmcp Client CLI (PrefectHQ/fastmcp, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agent Consensus Coordinator?

ruvnet (a GitHub user) maintains it in ruvnet/ruflo, which has 74,012 GitHub stars. The repository holds 264 skills in this directory. The repository was last updated on October 7, 2026.

Source: ruvnet/ruflo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.