prd-dependency-graph

prd-dependency-graph is a skill for Claude Code from closedloop-ai/claude-plugins. It costs 210 tokens per session (5,144 once invoked), scanned A, original, Apache-2.0.

An interactive graph of work-ticket dependencies, showing which tickets block or depend on others.

In plain words
What is it for?
It is for mapping dependencies in a project or product document, following blocker chains, and embedding the resulting graph in an HTML report.
Why use it?
It makes relationships in a project easier to inspect than a list of tickets or links. A ticket is a work item, and a dependency means one item must be addressed before another can proceed.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the closedloop-core plugin — 11 skills shipped together

Good fit It is for mapping dependencies in a project or product document, following blocker chains, and embedding the resulting graph in an HTML report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/closedloop-ai/claude-plugins/prd-dependency-graph
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add closedloop-ai/claude-plugins --skill prd-dependency-graph
Clone the repo
git clone --depth 1 https://github.com/closedloop-ai/claude-plugins

Made for: Claude Code.

Or install closedloop-core, the plugin that ships this one along with the rest of its 11 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prd-dependency-graph

README.md
[![agentmods](https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/prd-dependency-graph/github.svg)](https://agentmods.dev/skills/closedloop-ai/claude-plugins/prd-dependency-graph)
Your own site
<a href="https://agentmods.dev/skills/closedloop-ai/claude-plugins/prd-dependency-graph"><img src="https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/prd-dependency-graph/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prd-dependency-graph

Your own site · 80×15
<a href="https://agentmods.dev/skills/closedloop-ai/claude-plugins/prd-dependency-graph"><img src="https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/prd-dependency-graph.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 210 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,144 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00210 $0.05144
Opus 5.5 $0.00084 $0.02058
Sonnet 5.5 $0.00042 $0.01029
Haiku 4.5 $0.00021 $0.00514

Measured today against content hash d57f3f97cac0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

prd-dependency-graph scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/check_graph.cjs, scripts/refresh_server.py, scripts/render_graph.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/closedloop-core/skills/prd-dependency-graph/SKILL.md · 209 lines

How it starts

The opening of the file, as written. The whole thing — 209 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ticket dependency graph

Turns a scope's tickets and their BLOCKS links into an interactive HTML graph. Two scripts do all the work, so every run is deterministic and every link is drawn:

  • scripts/refresh_server.py reads the ClosedLoop REST API, builds the graph data, and writes the page. It is also the local helper behind the refresh button.
  • scripts/render_graph.py draws the graph, and embeds the graph's config in it.

Your job is to pick the scope and options, run them, name the columns, and check the result.

Inputs

  • A scope slug:
    • a PRD or other document (PRD-751, ISS-6251): its PRODUCES children. A document with no ticket children (for example a single ticket) graphs itself and its neighbours.
    • a project (PRO-67): every ticket in the project. The graph looks the same either way.
  • Optional:
    • output path. The default is ~/Desktop/<slug-lowercase>-dependency-graph.html.
    • whether to embed the graph into an existing HTML report instead of writing a standalone page.
    • how far to follow outside blockers: the default is one layer, or all for the whole chain.
    • whether to include implementation plans. They are off by default because they are not work items and would double every ticket.

What counts as a dependency

  • BLOCKS links are drawn as solid arrows. The source blocks the target, and the target waits on it.
  • A BLOCKS arrow is red while its blocker is still open (any status other than DONE, CANCELED, EXECUTED, OBSOLETE or APPROVED), and grey once the blocker is finished. Box borders still show each ticket's own status, so a red border means the status is BLOCKED.
  • The scope document (a PRD or other document with ticket children) is drawn as the root box, with a dotted PRODUCES arrow to each in-scope ticket. A project scope has no root. PRODUCES arrows are not counted as BLOCKS links.
  • RELATES_TO and other link types are never drawn, even when a ticket reads like a blocker. If the user expects a dependency the graph does not show, check the link type with the API and tell them. Changing a link in ClosedLoop is the user's call.
  • Tickets outside the scope are drawn dashed, and the legend reads "outside ":
    • tickets that in-scope tickets block are shown one layer deep;
    • tickets that block the scope are followed upstream outside_blockers_depth layers (default 1; "all" follows the chain to its roots).

Read the full file on GitHub · 209 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +40 lines · +25 tokens per session d57f3f97cac0
  2. 4d ago First seen · 169 lines · 185 tokens per session scan A 822460d5c9b4

Subscribe to this mod's changes

prd-dependency-graph is a skill published in the GitHub repository closedloop-ai/claude-plugins (122 stars, last pushed today), licensed Apache-2.0. It adds 210 tokens to every session and 5,144 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-16.