Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Fast And Practical Dag Decomposition Paper

ASecurity

Apply practical DAG decomposition, transitive-edge reduction, and reachability indexing to dense dependency graphs. Use when low width and repeated queries justify preprocessing. NOT for cyclic graphs, one-off graph checks, or exact-minimum-chain requirements.

2 stars
0 votes
0 copies
0 views
Added 9/24/2026
toolsgonodeperformance

Works with

cli

Security Analysis

A100/100

Scanned 9/24/2026

$npx -y skills add curiositech/port-daddy --skill fast-and-practical-dag-decomposition-paper --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fast And Practical Dag Decomposition Paper?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Fast And Practical Dag Decomposition Paper
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/curiositech-fast-and-practical-dag-decomposition-paper/badge)](https://www.skillsdirectory.com/skills/curiositech-fast-and-practical-dag-decomposition-paper)

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

Download with Pro
Files
SKILL.md
---
name: fast-and-practical-dag-decomposition-paper
description: >-
  Apply practical DAG decomposition, transitive-edge reduction, and reachability indexing to dense dependency graphs.
  Use when low width and repeated queries justify preprocessing. NOT for cyclic graphs, one-off graph checks, or
  exact-minimum-chain requirements.
license: Apache-2.0
allowed-tools:
  - Read
  - Write
  - Edit
  - Glob
  - Grep
metadata:
  category: Research & Academic
  tags:
    - dag
    - reachability
    - preprocessing
    - indexing
    - graph-algorithms
    - transitive-reduction
  pairs-with:
    - skill: decomposing-dags-into-disjoint-chains
      reason: Use it when you need the structural lower bound and exact chain-assignment logic.
    - skill: task-decomposer
      reason: Width and preprocessing tradeoffs help decide whether decomposition should favor speed or exactness.
  provenance:
    kind: legacy-recovered
    sourceDocument: Fast and Practical DAG Decomposition with Reachability Applications
    sourceAuthors:
      - Giorgos Kritikakis
      - Ioannis G. Tollis
    sourceArtifact: .claude/skills/fast-and-practical-dag-decomposition-paper/_book_identity.json
    importedFrom: legacy-recovery
    owners:
      - some-claude-skills
  authorship:
    authors:
      - Giorgos Kritikakis
      - Ioannis G. Tollis
    maintainers:
      - some-claude-skills
  io-contract:
    kind: deliverable
    produces:
      - kind: design-doc
        description: >-
          Decision framework for whether DAG decomposition preprocessing will pay off, including width analysis,
          transitive-edge measurement, and query-volume estimation
        format: markdown
      - kind: refactor-plan
        description: >-
          Practical decomposition strategy and reduced-edge structure for a given dense DAG, with chain assignments and
          indexing recommendations
        format: markdown
      - kind: critique
        description: >-
          Assessment of whether a proposed decomposition method is appropriate for the workload, identifying exactness
          fetish, preprocessing waste, or density panic failure modes
        format: markdown
---

# Fast and Practical DAG Decomposition

Use this skill when the real win comes from a fast, good-enough decomposition that unlocks downstream reachability, indexing, or repeated-query performance.

## When to Use

- A DAG is dense enough that many edges may be transitive and therefore not worth treating as first-class complexity.
- You need to answer many future reachability queries and can afford preprocessing once.
- Exact minimum chain decomposition is less important than a near-optimal decomposition available quickly.
- A system bottleneck may actually be redundant graph representation rather than true structural complexity.
- You are deciding whether preprocessing and indexing will pay for themselves.

## NOT for Boundaries

This skill is not the primary tool for:
- Cyclic graphs or control systems that have not been condensed into DAG form.
- Single-query workflows where preprocessing will never amortize.
- Scientific, legal, or safety contexts that require exact minimum decompositions rather than practical heuristics.
- Problems whose central difficulty is weighted routing, timing uncertainty, or non-DAG resource scheduling.

## Core Mental Models

### Width Matters More Than Density

Dense DAGs can still be structurally simple if width stays low. True difficulty lives in irreducible independence, not just in how many arrows appear on the page.

### Transitive Edges Are Compression Opportunity

In many dense DAGs, most edges are implied by shorter paths. Treating all of them as equal work is a representation mistake.

### Fast Near-Optimal Beats Slow Optimal in Compound Workflows

If a heuristic decomposition enables indexing, caching, or repeated downstream queries, the overall system can beat a slower exact method even if the decomposition itself is slightly worse.

### Indexing Is a Bet on Future Query Volume

Preprocessing is only smart when later reachability checks are common enough to repay the up-front cost.

## Decision Points

See the Decision Points below for the broader strategy set.

```mermaid
flowchart TD
  A[DAG workload] --> B{Graph acyclic?}
  B -->|No| C[Condense or reject]
  B -->|Yes| D[Estimate width and transitive-edge share]
  D --> E{Many future reachability queries?}
  E -->|No| F[Use simpler direct traversal]
  E -->|Yes| G{Need exact minimum chains?}
  G -->|Yes| H[Use exact or tighter method despite cost]
  G -->|No| I[Use greedy practical decomposition]
  I --> J[Build indexing on reduced-edge structure]
  H --> J
  J --> K[Serve constant-time style reachability checks]
```

### 1. Decide Whether Preprocessing Pays

- If reachability is queried repeatedly, indexing is attractive.
- If the graph will be queried once or twice, traversal is often enough.

### 2. Decide Whether Exactness Is Actually Worth It

- If chain count is itself the artifact under review, exactness may matter.
- If decomposition is merely an enabler for later work, near-optimal fast methods are usually superior.

### 3. Decide Whether the Graph Has Exploitable Structure

- If width is modest and transitive edges dominate, decomposition and indexing will likely pay.
- If width approaches node count, the graph may be too structureless for these gains.

## Failure Modes

### Exactness Fetish

**Symptoms:** the team spends more time finding the optimal decomposition than the query workload could ever justify.  
**Recovery:** compare downstream value of a fast near-optimal solution against the full pipeline cost.

### Preprocessing Without Query Demand

**Symptoms:** an expensive index is built and barely used.  
**Recovery:** estimate actual query volume before paying the preprocessing bill.

### Density Panic

**Symptoms:** a dense graph is assumed to be intrinsically hard without checking width or transitive redundancy.  
**Recovery:** measure width and reduced-edge share before choosing the algorithm.

### Using DAG Decomposition on Cyclic Structure

**Symptoms:** the decomposition logic produces nonsense or brittle chains because the input still contains feedback loops.  
**Recovery:** condense SCCs first or choose a different method.

### Reduced-Edge Blindness

**Symptoms:** indexing cost stays tied to full edge count because transitive edges were never stripped conceptually.  
**Recovery:** reason on the reduced edge set and preserve only the structure that actually changes reachability.

## Worked Examples

### Example 1: Access-Control Reachability Service

A permission graph is queried thousands of times per minute. After confirming the graph is acyclic and structurally low-width, the team accepts a near-optimal chain decomposition and builds an index over the reduced edge structure, trading one preprocessing pass for cheap runtime checks.

### Example 2: CI Dependency Explorer

A monorepo tool needs to answer "what breaks if I change X?" repeatedly. Rather than recomputing traversal against the dense full DAG every time, the system uses practical chain decomposition to compress the graph and accelerate downstream reachability queries.

## Quality Gates

- [ ] The graph has been verified acyclic before decomposition begins.
- [ ] Query volume is high enough to justify preprocessing.
- [ ] Width and transitive-edge share are measured before assuming the graph is hard.
- [ ] Exactness requirements are explicit rather than assumed.
- [ ] The reduced-edge view is used when estimating index cost and payoff.

## Reference Files

- `diagrams/01_flowchart_dag_decomposition_decision_fra.md` — Mermaid flowchart routing decomposition decisions by bottleneck type and structure. **Read when** deciding whether to apply decomposition or use standard optimization.
- `diagrams/02_mindmap_graph_decomposition_strategy_s.md` — Mind map of decomposition strategy space: width-over-density, greedy-beats-optimal, and indexing payoff. **Read when** building mental model of when decomposition wins.
- `diagrams/03_quadrantChart_optimization_strategy_selectio.md` — Quadrant chart mapping solution quality vs. query frequency to algorithm choice (heuristic, optimal, hybrid, iterative). **Read when** assessing whether preprocessing cost amortizes.
- `references/constant-time-reachability-through-indexing.md` — Reachability problem definition and naive DFS/BFS baseline. **Read when** understanding why indexing on decomposed DAGs matters.
- `references/failure-modes-and-structural-blindness.md` — Width-to-node-count ratio boundary cases and when decomposition effectiveness vanishes. **Read when** assessing whether a DAG is too wide for practical decomposition.
- `references/greedy-decomposition-and-progressive-refinement.md` — Tension between exact minimum-chain algorithms and practical greedy heuristics; why "good enough" beats slow-optimal. **Read when** deciding between exact vs. heuristic decomposition.
- `references/hierarchical-abstraction-for-scaling.md` — How chain decomposition eliminates 85–95% of transitive edges through abstraction. **Read when** understanding compression opportunity in dense DAGs.
- `references/problem-decomposition-strategies.md` — Chain-Order vs. Node-Order heuristics and their sequential vs. parallel construction philosophies. **Read when** choosing decomposition algorithm variant.
- `references/transitive-structure-as-compression-opportunity.md` — Empirical finding: 85–95% of edges are transitive in dense DAGs; implications for representation. **Read when** justifying preprocessing investment to stakeholders.
- `references/width-as-coordination-complexity.md` — Width definition (max mutually unreachable vertices) as true coordination complexity measure, not edge count. **Read when** explaining why width matters more than density.

## Anti-Patterns

- Optimizing decomposition quality in isolation from the downstream workload.
- Treating all edges as equal work when most are transitive.
- Building indexes before checking whether anyone will query them often enough.
- Applying DAG decomposition rhetoric to cyclic or nearly structureless graphs.

Attribution

curiositechcuriositech
View sourceSee grades on GitHubMore from curiositech →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

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 (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

ucoz-landing-skill

Create and edit uCoz homepage landing pages via MCP: custom templates, hero sections, lead forms, navigation menus, SEO, and responsive layout. Includes a visual design system (style selection, layout/grid, section recipes, typography/spacing, color tokens, component states, icons, modern CSS/JS, motion, imagery, social proof, copy/voice, accessibility). Uses ucoz-mcp tools for templates, site file uploads, and site modules.

107 votes

Paperclip

Interact with the Paperclip control plane API for task coordination and governance. Use when checking assignments, updating issue status, posting comments, delegating work, managing routines, or calling Paperclip API endpoints.

953191 votes

Pptx

Presentation toolkit (.pptx). Create/edit slides, layouts, content, speaker notes, comments, for programmatic presentation creation and modification.

471861 votes

Daw Music

Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.

761 votes

Instantly Rdsthomas Mission Control

Instantly.ai cold email outreach API - manage campaigns, leads, accounts, and analytics. Use for cold email automation, lead management, campaign creation/monitoring, and email account warmup.

761 votes
View all in tools →