Skip to content
Back to skills

Cycle Detection

ASecurity

Scan a pairwise comparison matrix for preference cycles and compute transitivity metrics.

  • 417 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 1, 2026
researchgo

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 1, 2026

npx -y skills add yogsoth-ai/de-anthropocentric-research-engine --skill cycle-detection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cycle Detection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cycle Detection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yogsoth-ai-cycle-detection/badge)](https://www.skillsdirectory.com/skills/yogsoth-ai-cycle-detection)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cycle-detection
description: Scan a pairwise comparison matrix for preference cycles and compute transitivity metrics.
execution: subagent
prompt: ./prompt.md
input: comparison_matrix(object)
used-by: pairwise-ranking
---

# Cycle Detection

Scans a pairwise comparison matrix for preference cycles (A>B>C>A) and computes transitivity metrics. Identifies all minimal cycles and quantifies overall consistency.

## Execution

Runs as a subagent. Receives a comparison matrix, returns all detected cycles and transitivity scores.

## Why Subagent

Cycle detection requires graph traversal algorithms (Johnson's algorithm or DFS-based enumeration) applied to the preference digraph. Isolating this keeps algorithmic complexity out of the orchestrator.

## HARD-GATE

Output MUST contain a `cycles` array (empty if none found) and a numeric `transitivity_score` in [0, 1]. All reported cycles MUST be verifiable against the input matrix.

Files in this skill

  • SKILL.md944 B
  • prompt.md1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…