workflow-route-mapper

workflow-route-mapper is a skill for Claude Code, Codex from pieable/dragon-ball-agent. It costs 33 tokens per session (1,792 once invoked), scanned A, original, MIT.

A tool for drawing a Mermaid route map of how a complex task changed over time, including branches, evidence, abandoned paths, and the next step. Mermaid is a text format for diagrams.

In plain words
What is it for?
Use it to record task exploration, competing approaches, failed experiments, reversals, and open decisions in a Markdown document.
Why use it?
It prevents the reasoning behind decisions and route changes from being lost or confused with the task's current status.

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/pieable/dragon-ball-agent/workflow-route-mapper
Any agent
npx skills add pieable/dragon-ball-agent --skill workflow-route-mapper
Clone the repo
git clone --depth 1 https://github.com/pieable/dragon-ball-agent

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 workflow-route-mapper

README.md
[![agentmods](https://agentmods.dev/badge/skills/pieable/dragon-ball-agent/workflow-route-mapper.svg)](https://agentmods.dev/skills/pieable/dragon-ball-agent/workflow-route-mapper)
Your own site
<a href="https://agentmods.dev/skills/pieable/dragon-ball-agent/workflow-route-mapper"><img src="https://agentmods.dev/badge/skills/pieable/dragon-ball-agent/workflow-route-mapper.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,792 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.00033 $0.01792
Opus 5 $0.00016 $0.00896
Sonnet 5 $0.00007 $0.00358
Haiku 4.5 $0.00003 $0.00179

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

Security

Grade A, and why

workflow-route-mapper 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.

skills/workflow-route-mapper/SKILL.md · 136 lines

How it starts

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

Workflow Route Mapper

目标

把复杂任务的探索过程整理成可回看的 Mermaid 路线图,使用户只看图就能知道:探索从哪里开始、为什么分叉、哪些路线被修正或放弃、当前走到哪里、下一步是什么。

路线图记录路线演化,不重复保存项目说明。普通纠偏、偏好蒸馏和当前目标、上下文、输出形态、边界的维护使用 workflow-state-distiller。两者同时需要时,当前任务责任人先用 workflow-state-distiller 确定当前有效状态和改变路线的证据,本 Skill 据此更新路线图。路线图作为后续判断的证据返回责任人,不成为另一份当前状态。

默认产物

路线图文档默认只包含标题和 Mermaid:

# <任务名> 路线图

```mermaid
flowchart TD
  ...
```

图中已经表达的信息不在图外重复。只有用户明确要求另一种产物时,才另外生成说明、当前结构图或状态摘要。

路线图写入独立 Markdown 文档。位置优先遵循用户指定位置或项目既有 docs/wiki 结构。没有约定时使用 docs/workflow-state/<topic>.md。聊天回复只提供文件链接和必要的一句话结果,不复制整份路线说明。

如果一张图无法渲染,或者无法从路线起点连续跟到当前节点而不穿过无关分支,使用一张保留全局分叉关系的总图,再用少量 Mermaid 详图展开局部。

记录什么

只记录会改变后续判断的内容:

  • 用户目的或问题发生实质修正。
  • 候选假设形成独立路线。
  • 实际行动或实验产生了改变判断的证据。
  • 失败形成新边界、改变目标、验证方式或后续路线。
  • 路线被否定、暂停、吸收、废弃或恢复。
  • 当前路线、待决分叉和下一步。

已经解决且不再产生约束的临时报错、命令失误、实现杂事和聊天过程不进入路线图。若删除一项后仍能理解为什么形成当前路线,就不记录它。

当本 skill 在任务中途才被调用,先读取现有路线图和直接改变过路线判断的材料。只恢复能够确认的路线。不确定内容标为“待确认”,不要为了图完整而猜测。

编号与路线

  • 数字表示问题结构中的深度,不表示创建顺序。
  • 字母串表示路线。按 A-Z, AA, AB... 延展。
  • 路线节点写成 1A2A2B12AA
  • 同一路线继续深入时保留字母。真正开出另一条路线时更换字母。
  • 同一父节点产生的并列路线通常深度相同、字母不同。
  • 回退本身不单独编号。在开出新路线的连接线上写明回退原因。
  • 当前推进路线可以同时有多条,通过节点文字和样式直接标出,不在图外另建状态表。
  • 证据、校准和边界等旁挂节点不显示路线编号,直接写“证据:……”“边界:……”“校准:……”,避免与路线编号混淆。

节点与连接线

  • 一个路线节点承载一个独立判断。同一状态下、由同一证据支持并通向同一后续分支的信息可以合并。
  • 节点写清实际对象、状态和当前判断,避免“锚点”“继续细化”“形成候选”等缺少实际含义的词。
  • 快速节点优先写成“编号 + 状态 + 对象 + 判断”,例如 17AD 已确认:军务第一版影响征召兵数量
  • 连接线说明为什么发生推进、分叉、修正或回退,优先写用户确认、用户修正、证据、风险或实现缺口。
  • 实线 --> 表示路线推进、分叉或保留核心前提的修正。
  • 虚线 -.-> 表示证据、校准、边界或跨路线吸收,不把旁挂信息伪装成路线推进。

分叉语义

否定表示放弃路线核心。被否定路线和新路线从最近的共同判断点并行分叉,不画成“被否定路线 → 新路线”:

flowchart TD
  P["1A 共同判断点"]
  Old["2A 已废弃:旧路线"]
  New["2B 当前:新路线"]
  P -->|"候选 A"| Old
  P -->|"回退并开 B:旧路线的问题是……"| New

修正保留旧路线核心,只调整做法或边界,可以顺承:

flowchart TD
  Old["3C 原路线"]
  Revised["4C 当前:修正版"]
  Old -->|"修正:保留……,只改变……"| Revised

失败直接触发修复且仍保留原路线核心时,画成“失败证据 → 修复行动 → 重新验证”。新路线只吸收旧路线的一部分时,用虚线或带“吸收”文字的边表达,不用主边伪装成整体继承。

图形状态

通过节点文字和少量样式区分当前、下一步、暂停、废弃以及旁挂证据或边界。状态必须在黑白或样式失效时仍可从节点文字读懂。

Read the full file on GitHub · 136 lines

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. 4d ago First seen · 136 lines · 33 tokens per session scan A 3e898870d7b7

Subscribe to this mod's changes

workflow-route-mapper is a skill published in the GitHub repository pieable/dragon-ball-agent (11 stars, last pushed 3d ago), licensed MIT. It adds 33 tokens to every session and 1,792 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-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens