Agent skill
swarm-consensus
Implement voting mechanisms (majority, weighted) to resolve inter-agent conflicts.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/coordination-andreibesleaga-gabbe-3
SKILL.md
swarm-consensus Skill
This skill allows a group of agents to agree on a decision when opinions differ (e.g., "Should we refactor or patch?").
1. Voting Protocols
| Protocol | Description | Use Case |
|---|---|---|
| Simple Majority | >50% wins. | General decisions. |
| Supermajority | >66% wins. | Irreversible actions (Delete DB, Change Arch). |
| Weighted Voting | Expert's vote counts 2x. | Technical disputes (Trust eng-backend over prod-pm). |
| Ranked Choice | Rank A, B, C. | Choosing a library/framework. |
2. Process
- Proposal: Agent A proposes "Refactor Auth module".
- Debate: Agents B, C, D provide arguments (Pro/Con).
- Vote: Coordinator calls for votes.
- Tally: Coordinator counts and declares winner.
- Commit: All agents accept the result.
3. Conflict Patterns
- The Stalemate: 50/50 split.
- Resolution: Architecture Decision Record (ADR) + Human Tie-breaker.
- The Veto:
ops-securitycan veto any Engineering decision if it introduces a vulnerability.
4. Automation
- Use
agents/memory/episodic/VOTING_LOG.mdto record decisions. - Never re-litigate a settled vote in the same session.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?