consensus
Skill2 starsChanged 9 months agoMITView on GitHub
Confidence-weighted vote from multiple surgeons to validate claims and check assumptions
4 other projects use a version of this.
Adopted by
Most recently taken up by
- Integralist/agent-skillstheir own version, first seen Oct 4, 2026
- github-wyy/consensustheir own version, first seen Oct 4, 2026
- cofin/flowtheir own version, first seen Sep 26, 2026
- spsk-dev/consensustheir own version, first seen Mar 31, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- cofin/flow★ 17same name
- Integralist/agent-skills★ 3same name
- github-wyy/consensus★ 1same name
- spsk-dev/consensus★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository22 other files it gives its agents.
- ab-testingSkill
- ab-validateSkill
- architectural-gateSkill
- cardio-reviewSkill
- counter-positionSkill
- cross-examinationSkill
- direct-querySkill
- doc-organizerSkill
- integrity-checkSkill
- invariance-healthSkill
- narrate-surgerySkill
- neurologistSkill
- post-implementation-verificationSkill
- pre-implementation-reviewSkill
- probeSkill
- quality-gatesSkill
- researchSkill
- review-loopSkill
- sentinelSkill
- setup-api-keysSkill
- setup-teamSkill
- using-3-surgeonsSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 90
Do NOT escalate when:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Consensus
When to Use
Consensus is the lightweight decision tool -- a quick confidence-weighted vote rather than a full cross-examination. Use it when:
- Validating a claim -- "Is this approach safe?" "Does this pattern follow best practices?"
- Checking assumptions -- before building on an assumption, verify it with both models
- Pre-commit verification -- "Will this change break backwards compatibility?"
- Resolving simple disagreements -- when you have two plausible options and need a tiebreaker
- Quick sanity checks -- "Is this the right data structure for this use case?"
Do NOT use for: complex architectural decisions (use cross-examination), health checks (use probe), or risk assessment (use sentinel).
How to Invoke
CLI
3s consensus "Redis LPUSH is O(1) for single elements"MCP Tool
consensus(claim="Redis LPUSH is O(1) for single elements")How It Works
Each surgeon receives the claim and responds with a JSON assessment:
{
"confidence": 0.85,
"assessment": "agree",
"reasoning": "Redis LPUSH is documented as O(1) per element..."
}The system then calculates a weighted consensus score:
weighted_score = sum(confidence_i * assessment_value_i) / sum(confidence_i)Where assessment values are: agree = +1.0, uncertain = 0.0, disagree = -1.0.
Interpreting the Weighted Score
| Score Range | Meaning | Action |
| +0.7 to +1.0 | Strong agreement | Proceed with confidence. Both surgeons agree the claim is valid. |
| +0.3 to +0.7 | Moderate agreement | Proceed but verify. One surgeon is less confident or uncertain. |
| -0.3 to +0.3 | Uncertain / Split | Do not proceed blindly. Consider escalating to full cross-examination. |
| -0.7 to -0.3 | Moderate disagreement | The claim is likely wrong or oversimplified. Investigate further. |
| -1.0 to -0.7 | Strong disagreement | The claim is rejected by both surgeons. Re-examine your assumption. |
Reading Individual Assessments
The result includes each surgeon's individual vote:
Cardiologist: agree (confidence=0.90)
Neurologist: uncertain (confidence=0.60)
Weighted score: +0.50
Total cost: $0.0008Key things to notice:
- Confidence asymmetry -- if one surgeon is very confident (0.9) and the other is not (0.3), the confident vote dominates the weighted score. Check whether the less-confident model has a valid concern.
- Assessment disagreement -- one agrees, one disagrees. This is the most valuable signal. Why do they disagree? Escalate to cross-examination to find out.
- Both uncertain -- neither model has enough information. You may need to provide more context or rephrase the claim more specifically.
When to Escalate to Cross-Examination
Escalate from consensus to full cross-exam when:
- Weighted score is in the uncertain zone (-0.3 to +0.3) AND the decision is consequential
- Surgeons explicitly disagree (one agrees, one disagrees) regardless of confidence levels
- Both are uncertain with low confidence (<0.5) on a claim you need to act on
- The reasoning conflicts -- even if both agree, check if their reasoning is compatible
Do NOT escalate when:
- Strong agreement on a low-stakes claim
- The uncertain zone is acceptable for a reversible action
- You already have external evidence (documentation, tests) that resolves the claim
Cost
Consensus makes 2 LLM calls (one per surgeon). The Neurologist call is free (local model). The Cardiologist call costs approximately $0.0004-0.001 depending on claim length. This is roughly 1/5 the cost of a full cross-examination.
Example Workflow
# Step 1: Quick consensus check
3s consensus "Switching from SQLite to PostgreSQL is safe for our <100 user base"
# Result: weighted_score=+0.45 (moderate, but uncertain zone edge)
# Step 2: Score is borderline -- escalate
3s cross-exam "Should we switch from SQLite to PostgreSQL given <100 concurrent users?"
# Result: Full analysis reveals Neurologist flagged WAL mode contention
# that Cardiologist missed, while Cardiologist noted migration complexityThe consensus caught that this was not a clear-cut decision. The cross-examination revealed exactly why.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

