daf-issue-topo-sort

daf-issue-topo-sort is a skill for Claude Code, Codex from itdove/devaiflow. It costs 17 tokens per session (3,515 once invoked), scanned A, original, Apache-2.0.

A tool that orders software issues by their dependencies and by possible file conflicts. A topological sort places each issue after the work it depends on.

In plain words
What is it for?
Use it to gather GitHub or JIRA issues and produce an ordered plan with groups of tasks that can be worked on at the same time.
Why use it?
It helps prevent developers from starting blocked work or scheduling tasks that may interfere with each other.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/itdove/devaiflow/daf-issue-topo-sort
Any agent
npx skills add itdove/devaiflow --skill daf-issue-topo-sort
Clone the repo
git clone --depth 1 https://github.com/itdove/devaiflow

Made for: Claude Code, Codex.

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 daf-issue-topo-sort

README.md
[![agentmods](https://agentmods.dev/badge/skills/itdove/devaiflow/daf-issue-topo-sort.svg)](https://agentmods.dev/skills/itdove/devaiflow/daf-issue-topo-sort)
Your own site
<a href="https://agentmods.dev/skills/itdove/devaiflow/daf-issue-topo-sort"><img src="https://agentmods.dev/badge/skills/itdove/devaiflow/daf-issue-topo-sort.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,515 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00017 $0.03515
Opus 5 $0.00009 $0.01758
Sonnet 5 $0.00003 $0.00703
Haiku 4.5 $0.00002 $0.00351

Measured 4d ago against content hash ff1d2a6287b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

daf-issue-topo-sort 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 4d ago.

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.

devflow/cli_skills/daf-issue-topo-sort/SKILL.md · 387 lines

How it starts

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

Issue Topology Sort

Topologically sort issues by explicit dependencies AND file conflict avoidance. Produces an ordered work plan with concurrent groups.

Usage

/daf-issue-topo-sort [--repo owner/repo] [--label <label>] [--parent <JIRA-KEY>]

GitHub: /daf-issue-topo-sort --repo owner/repo --label v1.0 GitHub (current repo): /daf-issue-topo-sort --label v1.0 JIRA: /daf-issue-topo-sort --parent PROJ-123

If no arguments given, ask the user which mode (GitHub or JIRA) and the required parameters.


Step 1: Gather Issues

GitHub

gh issue list --repo <repo> --label <label> --state open --json number,title,body,url --limit 100

If --repo not provided, use current repository (auto-detected from git remote).

For each issue, also fetch comments:

gh issue view <number> --repo <repo> --json comments --jq '.comments[].body'

JIRA

Use MCP JIRA tools to fetch child issues of the parent:

mcp__mcp-atlassian__jira_search(
  jql="parent = <PARENT-KEY> AND status != Done ORDER BY key ASC",
  fields="summary,status,description,comment,issuelinks"
)

For each issue, also fetch full details including comments:

mcp__mcp-atlassian__jira_get_issue(issue_key=<KEY>, fields="*all", comment_limit=50)

Output of this step: A list of open issues only, each with: key/number, title, body/description, comments, and (for JIRA) existing issue links. Closed/done issues must never appear in this list or any subsequent step.


Step 2: Analyze Each Issue

For each issue, extract two things:

2a. Explicit Dependencies

Scan issue body AND all comments for dependency patterns (case-insensitive):

Pattern Meaning
depends on #X / depends on PROJ-X This issue depends on X
after #X / after PROJ-X This issue should come after X
needs #X first / needs PROJ-X first This issue needs X completed first
blocked by #X / blocked by PROJ-X This issue is blocked by X
requires #X / requires PROJ-X This issue requires X
prerequisite: #X / prerequisite: PROJ-X X is a prerequisite

Read the full file on GitHub · 387 lines

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. 4d ago First seen · 387 lines · 17 tokens per session scan A ff1d2a6287b0

Subscribe to this mod's changes

daf-issue-topo-sort is a skill published in the GitHub repository itdove/devaiflow (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 17 tokens to every session and 3,515 once invoked, about $0.0001 per session on Opus 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-08-31.

Related

Other skills, from other repositories

workingon

Record the work done in this Claude Code session in the configured ticketing tool (Jira, Linear, GitHub Issues, Trello or Vikunja), creating the ticket, adding a short progress comment, linking an existing one or closing it. Use it when the [workingon] hook reports unrecorded work, when the user types /workingon, and…

oliverjueguen/workingon-claude-skill · 92 tokens

workingon

Record the work done in this Claude Code session in the configured ticketing tool (Jira, Linear, GitHub Issues, Trello or Vikunja), creating the ticket, adding a short progress comment, linking an existing one or closing it. Use it when the [workingon] hook reports unrecorded work, when the user types /workingon, and…

oliverjueguen/workingon-claude-skill · 92 tokens

meridian-etl

Debug and work with Meridian's ETL pipeline. Covers session boundary detection, cursor management, DB queries, and common failure modes.

Meridiona/meridian · 31 tokens

meridian-mcp

Build, configure, and debug the Meridian MCP server. Exposes app session data to AI tools via the Model Context Protocol.

Meridiona/meridian · 30 tokens

github-image-upload

Upload local images and other files (PDF, zip, log, …) to GitHub and embed them in a pull request description, an issue, or a comment — producing canonical github.com/user-attachments URLs (private-repo uploads stay private). Use when asked to "attach a screenshot to the PR", "add an image to the PR description", "put…

drogers0/gh-image · 135 tokens

Jira QA Workflows

Run QA work in Jira like a professional, bug lifecycle and triage, JQL queries for testers, quality dashboards, sprint QA rituals, and REST API automation for bulk bug operations and reporting.

PramodDutta/qaskills · 45 tokens