OpenParable
Skip to content
← Back to skills

Cycle Detection

Research
cycle-detection

Cycle Detection is an Agent Skill for research published in the yogsoth-ai/de-anthropocentric-research-engine repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/yogsoth-ai/de-anthropocentric-research-engine/blob/HEAD/skills/cycle-detection/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cycle-detection, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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.

Available SOPs

Optional, no fixed order; the final leaf is always a sop.

SOPWhen to use
spawn-agentSpawn a customized CC subagent with full MCP tool access. Used by SOPs that declare execution: subagent.