dag-cycle-analysis

Official

Reveal and resolve hidden cycles in DAGs

Authorcuriositech
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Detects, classifies, and helps remediate hidden cyclic structure that standard DAG analyses miss by separating topology (undirected substrate) from ordering metadata to expose coordination points, synchronization bottlenecks, and resilience patterns.

Core Features & Use Cases

  • Topology + metadata decomposition: extract the undirected substrate and ordering constraints to localize cycles.
  • Cycle classification: compute a minimal cycle basis, apply path-wedge contraction, and classify cycles as feedback, shortcut, diamond, or mixer.
  • Transitive reduction & metrics: apply TR, compute height, stretch, balance, edge-participation, and cycle-overlap spectral metrics to prioritize interventions.
  • Use cases: analyze organizational charts, microservice dependency DAGs, task orchestration graphs, and citation networks to identify synchronization barriers, design resilient alternatives, and guide refactoring.

Quick Start

Analyze the project's DAG to produce a minimal cycle basis, apply transitive reduction, and report diamonds and mixers with their heights and balance metrics.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: dag-cycle-analysis
Download link: https://github.com/curiositech/port-daddy/archive/main.zip#dag-cycle-analysis

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.