phase-2-step-5

phase-2-step-5 is a command for coding agents from Arsxxi/iterative-dev-workflow. It costs 9 tokens per session (395 once invoked), scanned A, original, MIT.

A slash command for creating a user-journey diagram for a selected project design.

In plain words
What is it for?
It finds or asks for the project, then creates the diagram in Mermaid.js format, a text syntax for drawing flowcharts and related diagrams.
Why use it?
It prevents the workflow from using an unknown project when the command needs a project name or when several projects exist.

Command

Part of the iterative-dev-workflow plugin — 1 skill, 10 commands shipped together

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 commands/arsxxi/iterative-dev-workflow/phase-2-step-5
Clone the repo
git clone --depth 1 https://github.com/Arsxxi/iterative-dev-workflow

Or install iterative-dev-workflow, the plugin that ships this one along with the rest of its 1 skill, 10 commands.

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 phase-2-step-5

README.md
[![agentmods](https://agentmods.dev/badge/commands/arsxxi/iterative-dev-workflow/phase-2-step-5.svg)](https://agentmods.dev/commands/arsxxi/iterative-dev-workflow/phase-2-step-5)
Your own site
<a href="https://agentmods.dev/commands/arsxxi/iterative-dev-workflow/phase-2-step-5"><img src="https://agentmods.dev/badge/commands/arsxxi/iterative-dev-workflow/phase-2-step-5.svg" alt="Measured on agentmods" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 395 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.00009 $0.00395
Opus 5 $0.00005 $0.00198
Sonnet 5 $0.00002 $0.00079
Haiku 4.5 $0.00001 $0.00040

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

Security

Grade A, and why

phase-2-step-5 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.

.kilo/commands/phase-2-step-5.md · 46 lines

What it actually says

Arguments

Kilo Code does not substitute $ARGUMENTS. Wherever this command refers to $ARGUMENTS, read it as the text I typed after the slash command in this message.

Expected: project name

If I typed nothing after the command, do not guess and do not invent a value: ask me for it with the question tool, then continue from there.


Step 0 — find which project this is for

Before anything else, figure out which project this command applies to:

  1. If you were given a project name after the slash (e.g. /phase-2-step-5 my-project), use it.
  2. Otherwise, look at the subfolders under .workflow/:
    • Exactly one folder → use it. Tell the user which project you picked (e.g. "Working on my-project"), so it's never a silent guess.
    • Two or more folders → ask the user once which project this is for. To make the question useful, show the first line of each project's 00-context.md, not just the folder name.
    • No folders → stop and tell the user to run /kickoff first. Don't proceed.

Phase 2 Step 5: User Journey

Purpose

Create a User Journey Diagram using Mermaid.js syntax for the chosen design from Step 4 (High-Fidelity Design).

Steps

  1. Check for the previous result from Step 4 (High-Fidelity Design). If it's empty or not generated, DO NOT PROCEED — remind the user.
  2. Create the User Journey Diagram using Mermaid.js syntax, mapping the user's interaction flow through the system.

Output

  • User Journey Diagram (Mermaid.js)

Trigger

$ARGUMENTS = "project name"
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 · 46 lines · 9 tokens per session scan A a0ae4f021d3d

Subscribe to this mod's changes

phase-2-step-5 is a command published in the GitHub repository Arsxxi/iterative-dev-workflow (2 stars, last pushed 1mo ago), licensed MIT. It adds 9 tokens to every session and 395 once invoked, about $0.0000 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.