workflow

workflow is a command for coding agents from RaNDoM6913/claude-code-superkit. It costs 24 tokens per session (2,098 once invoked), scanned A, original, MIT.

A command that runs predefined workflows for tasks such as bug fixes, emergency fixes, refactoring, dependency updates, security checks, and technical investigations.

In plain words
What is it for?
It is for guiding bugfix, hotfix, spike, refactor, dependency-upgrade, and security-audit work.
Why use it?
It gives common engineering tasks a fixed order of steps and prevents the wrong workflow from being chosen by guesswork.

Command

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/random6913/claude-code-superkit/workflow
Clone the repo
git clone --depth 1 https://github.com/RaNDoM6913/claude-code-superkit

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/random6913/claude-code-superkit/workflow.svg)](https://agentmods.dev/commands/random6913/claude-code-superkit/workflow)
Your own site
<a href="https://agentmods.dev/commands/random6913/claude-code-superkit/workflow"><img src="https://agentmods.dev/badge/commands/random6913/claude-code-superkit/workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,098 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00024 $0.02098
Opus 5 $0.00012 $0.01049
Sonnet 5 $0.00005 $0.00420
Haiku 4.5 $0.00002 $0.00210

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

Security

Grade A, and why

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 today.

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.

packages/core/commands/workflow.md · 151 lines

How it starts

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

Workflow Templates

Run one of six opinionated workflow templates. Each template fixes an ordered list of phases and the agents to dispatch, so common task types follow the same proven path every time.

Target

$ARGUMENTS

Hard Rules

  1. Run only the template named in Target. If Target names none, or the first word matches no template, do not guess — follow Step 3 or Step 4 and stop until the user answers.
  2. Execute a template's phases in listed order. A phase begins only after the previous phase's done-when condition holds.
  3. Report status after every phase, and emit the Workflow Report only when every executed phase has a status row.
  4. On a failed gate or retry, escalate effort to max for the next attempt and state that you are doing so — never silently re-run at the same effort.
  5. spike produces a report only (no code changes); hotfix applies the minimal fix (no refactoring, no improvements).
  6. When consuming security-scanner output, use its exact enums — Severity CRITICAL/WARNING/SUGGESTION, Confidence HIGH/MEDIUM/LOW.
  7. For tasks that fit no template, tell the user to use /dev instead of forcing a template.

Steps

  1. Read the template name from the first word of Target. Done when: the name equals one of the six templates below, or you route to Step 3/4.
  2. Read the task description from the rest of Target. Done when: the task text is captured (empty is allowed — spike and security-audit can run without a description).
  3. If Target names no template — list the six templates with their one-line summaries and ask the user to choose. Done when: the user names a template; do not proceed before then.
  4. If the first word matches no template — name the single closest template and ask the user to confirm before running it. Done when: the user confirms or picks another; do not proceed before then.
  5. Run the matched template's phases (see Templates) in order. At each dispatch point, dispatch the named agent; if that agent is absent from .claude/agents/, perform the phase inline and write "agent unavailable — ran inline" in that phase's Notes. Done when: every phase's done-when condition is met.
  6. After each phase, record its status row for the Workflow Report (see Output). Done when: Step 5's final phase done-when holds and every executed phase has a row — only then emit the report.

Read the full file on GitHub · 151 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. today First seen · 151 lines · 24 tokens per session scan A 3bad92dee1d4

Subscribe to this mod's changes

workflow is a command published in the GitHub repository RaNDoM6913/claude-code-superkit (2 stars, last pushed 1mo ago), licensed MIT. It adds 24 tokens to every session and 2,098 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-09-03.