workflow-dependencies

A workflow dependency analysis skill for finding how project-management items depend on one another. It builds a directed map from prerequisites to follow-up work and records evidence for each relationship.

In plain words
What is it for?
Use it to analyze workflow drafts or online work items, calculate dependency chains and blockers, and create a list of relationships ready for authorized upload.
Why use it?
It removes the need to trace dependencies manually across tickets, comments, attachments, and existing links, while highlighting ambiguous or blocked relationships.

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/go1c/workflow-plugin/workflow-dependencies
Any agent
npx skills add Go1c/workflow-plugin --skill workflow-dependencies
Clone the repo
git clone --depth 1 https://github.com/Go1c/workflow-plugin

Made for: Claude Code, Codex.

Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 615 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.00050 $0.00615
Opus 5 $0.00025 $0.00308
Sonnet 5 $0.00010 $0.00123
Haiku 4.5 $0.00005 $0.00061

Measured yesterday against content hash 8d098d43edbd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

workflow-dependencies 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 yesterday.

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.

skills/workflow-dependencies/SKILL.md · 37 lines

What it actually says

workflow-dependencies — 依赖分析与关系补全

本技能读取线上单据或 .workflow-drafts/<bundleId>/,输出依赖 DAG、上下游链、当前阻塞 链和待写入关系。先读取 dependency-model.mdrelation-provider.md。需要线上写入时 转 workflow-upload,不绕过权限模式直接调用 API。

流程

  1. 读取草稿/单据正文、评论、附件元数据、验收项和已有关系;按共享搜索规则做项目级全局搜索。
  2. 解析 displayKey、UUID、本地 ID、深链和明确的“依赖/阻塞/前置”语句。
  3. 用模型补全语义关系;每条关系必须同时写入证据片段、来源位置、推断方式和置信度。
  4. 规范方向为“上游/前置 -> 下游/后继”,去重并检查自环、环、孤儿或跨项目引用。
  5. 计算传递闭包、根节点、叶节点、完整关系链和当前阻塞链;状态判定使用 workflow 返回的 semanticisTerminal,不硬编码状态名。
  6. 将所有可解析的直接边写入 manifest 的边清单。Requirement direct edge 交给 bindRequirementReference 对应的原生 Provider;WorkItem edge 交给 schedule relations。 按当前权限模式决定后续上传方式;不逐边询问。环、跨项目、无法唯一解析的引用和权限/并发 冲突是硬阻塞。无向 references 只表达关联存在,不能把它当成依赖方向。

输出

写入同一 bundle 的 analysis.json,并向用户报告:直接边、传递链、阻塞节点、证据、置信度、 Provider 能力和仍需处理的阻塞。Requirement 引用通过 GET /api/v1/requirement-graph 读回,但图谱的 source / target 是无向展示顺序;分析结果不代表依赖方向已经线上落库。 只有上传器完成 Provider 读回后才能报告原生引用已建立。

边界

只处理 Workflow PM 对象之间的关系。代码依赖图、需求图谱 UI、自动修改代码和自动删除已有 关系均不在本技能范围。

Files

What ships with it

1 file 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. yesterday First seen · 37 lines · 50 tokens per session scan A 8d098d43edbd

Subscribe to this mod's changes

workflow-dependencies is a skill published in the GitHub repository Go1c/workflow-plugin (2 stars, last pushed 2d ago), licensed MIT. It adds 50 tokens to every session and 615 once invoked, about $0.0003 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.