coherence-diagnosis
Skill2 starsChanged 6 months agoApache-2.0View on GitHub
Strategy for auditing preference consistency using Consistency Ratio, cycle enumeration, and mElo to detect and resolve intransitivities.
In this repository119 other files it gives its agents.
- adaptive-pair-selectionSkill
- adversarial-debate-protocolSkill
- advocate-constructionSkill
- aggregation-methodSkill
- alternative-scoringSkill
- appropriateness-boundingSkill
- argument-crystallizationSkill
- argument-extractionSkill
- assumption-challengeSkill
- assumption-excavationSkill
- assumption-extractionSkill
- ballot-collectionSkill
- best-option-selectionSkill
- bottleneck-identificationSkill
- category-sortingSkill
- cluster-analysisSkill
- collective-adjudicationSkill
- comparative-feasibility-rankingSkill
- comparison-executorSkill
- conclusion-sensitivitySkill
- conjunctive-filterSkill
- consensus-classificationSkill
- consensus-measurementSkill
- consensus-synthesisSkill
- consistency-audit-loopSkill
- constraint-classificationSkill
- constraint-drillingSkill
- constraint-identificationSkill
- constraint-identification-sopSkill
- convergence-checkSkill
- convergence-distillationSkill
- counter-thesis-constructionSkill
- coverage-scoringSkill
- criteria-interrogationSkill
- criterion-definitionSkill
- critic-attackSkill
- cycle-detectionSkill
- deliberative-calibrationSkill
- dimension-assessmentSkill
- disagreement-cartographySkill
- disagreement-mappingSkill
- disagreement-visualizationSkill
- diversity-maximizationSkill
- dominance-checkSkill
- dynamic-trackingSkill
- efficient-explorationSkill
- feasibility-assessmentSkill
- feasibility-synthesisSkill
- feedback-distributionSkill
- full-rankingSkill
- futures-calibrationSkill
- gate-criteria-definitionSkill
- gate-judgmentSkill
- inconsistency-localizationSkill
- iterative-convergence-roundSkill
- judge-verdictSkill
- judgment-collectionSkill
- maturation-pathway-designSkill
- maturity-diagnosisSkill
- method-sensitivity-reportSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
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 57
Run cycle-detection on full comparison matrix
- Distinctive: line 59
If consistent (CR < 0.1): proceed to ranking-synthesis
- Distinctive: line 60
If inconsistent: run inconsistency-localization
- Distinctive: line 64
Document all repairs in audit trail
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Coherence Diagnosis
Purpose
Audit an existing comparison matrix for logical consistency. Detect cycles, quantify transitivity violations, localize problematic judgments, and recommend corrections. Essential as a quality gate before finalizing any ranking.
When to use
- Existing comparison data needs validation
- Suspicion of inconsistent judgments
- Pre-finalization quality gate
- AHP consistency ratio check required
- Debugging unexpected ranking results
Budget
| Resource | Allocation |
| Cycle detection | Full matrix scan |
| Consistency metric | CR < 0.1 (AHP) or transitivity > 90% |
| Repair comparisons | ≤ 20% of original comparisons |
| Iterations | 1-3 audit-repair cycles |
State Ledger
comparison_matrix: {} # pair → winner
candidates: []
consistency_metrics: {cr: null, transitivity: null, cycles_count: 0}
cycles: [] # [[a>b, b>c, c>a], ...]
problematic_pairs: [] # pairs involved in most cycles
repair_log: [] # [{pair, old_judgment, new_judgment, reason}]
iteration: 0Available Tactics
- consistency-audit-loop — detect, localize, repair, recompute
Available SOPs
- cycle-detection
- inconsistency-localization
- comparison-executor (for re-comparison)
- rating-update (for recomputation)
- convergence-check
- ranking-synthesis
Execution Guidance
- Run cycle-detection on full comparison matrix
- Compute consistency metrics (CR, transitivity score)
- If consistent (CR < 0.1): proceed to ranking-synthesis
- If inconsistent: run inconsistency-localization
- Re-compare problematic pairs via comparison-executor
- Recompute ratings and re-check consistency
- Repeat until consistent or repair budget exhausted
- Document all repairs in audit trail
Output Format
diagnosis:
consistency_ratio: 0.04
transitivity_score: 0.97
cycles_found: 1
cycles_resolved: 1
repairs_made: 2
audit_trail:
- {pair: ["b", "d"], original: "b", revised: "d", reason: "..."}
final_ranking_valid: true
method: consistency-ratioDoes 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.

