map-workflow

map-workflow is a skill for Claude Code from tranhieutt/software_development_department. It costs 45 tokens per session (1,309 once invoked), scanned A, original, MIT.

A tool that turns a list of agents and a task into a workflow graph showing how the agents should work together.

In plain words
What is it for?
Use it to plan sequential, parallel, hierarchical, or iterative agent workflows and optionally save the resulting graph.
Why use it?
It makes the order, parallel work, hierarchy, or repeated review cycles of a multi-agent task clear before execution begins.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it to plan sequential, parallel, hierarchical, or iterative agent workflows and optionally save the resulting graph.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tranhieutt/software_development_department/map-workflow
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 tranhieutt/software_development_department --skill map-workflow
Clone the repo
git clone --depth 1 https://github.com/tranhieutt/software_development_department

Made for: Claude Code.

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 map-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/tranhieutt/software_development_department/map-workflow/github.svg)](https://agentmods.dev/skills/tranhieutt/software_development_department/map-workflow)
Your own site
<a href="https://agentmods.dev/skills/tranhieutt/software_development_department/map-workflow"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/map-workflow/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 map-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/tranhieutt/software_development_department/map-workflow"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/map-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,309 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.00045 $0.01309
Opus 5 $0.00023 $0.00655
Sonnet 5 $0.00009 $0.00262
Haiku 4.5 $0.00005 $0.00131

Measured 8d ago against content hash 8d56a2d46b72, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

map-workflow 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 8d 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.

.claude/skills/map-workflow/SKILL.md · 153 lines

How it starts

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

Map Workflow

Generate a workflow graph for a multi-agent task using one of four patterns. Present the graph to the user for approval before any agent is dispatched.

Steps

1. Parse arguments

Extract from $ARGUMENTS:

Flag Required Default Description
--pattern yes Sequential, Parallel, Hierarchical, or Iterative
--agents yes Comma-separated agent names in execution order
--task yes One-sentence description of what this workflow delivers
--max-iter no 3 Max loop iterations (Iterative pattern only)
--save no none If set, write the graph to .tasks/[filename].workflow.md

If --pattern or --agents or --task is missing, print usage and stop:

Usage: /map-workflow --pattern <Sequential|Parallel|Hierarchical|Iterative> \
                     --agents "<agent1,agent2,...>" \
                     --task "<what this workflow delivers>" \
                     [--max-iter <N>] [--save <filename>]

Patterns:
  Sequential   — linear pipeline, one agent after another
  Parallel     — fan-out to multiple agents simultaneously, then merge
  Hierarchical — supervisor delegates to specialists
  Iterative    — test-driven loop until quality gate passes

Reference: docs/templates/workflow-graph.md

2. Validate agents

For each agent name in --agents, verify it exists in .claude/agents/. If an agent is not found, warn but continue:

⚠️  Agent "foo-developer" not found in .claude/agents/ — check spelling.
    Proceeding with remaining agents.

3. Generate the workflow graph

Using the pattern and agents, fill in the workflow schema from docs/templates/workflow-graph.md. Apply these rules per pattern:

Sequential: Each agent becomes one node. on_pass chains to the next agent. on_fail: stop for all nodes.

Parallel: First agent in list becomes the orchestrate node. Last agent becomes the merge node. All middle agents run in parallel from orchestrate to merge. A qa-engineer node is appended after merge if not already in the list.

Read the full file on GitHub · 153 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. 8d ago First seen · 153 lines · 45 tokens per session scan A 8d56a2d46b72

Subscribe to this mod's changes

map-workflow is a skill published in the GitHub repository tranhieutt/software_development_department (72 stars, last pushed 4mo ago), licensed MIT. It adds 45 tokens to every session and 1,309 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories