workflow

workflow is a command for coding agents from synaptiai/synapti-marketplace. It costs 31 tokens per session (2,261 once invoked), scanned A, original, Apache-2.0.

A command for inspecting and checking FlowWorkflow YAML files, which are structured files describing the phases and connections of a workflow. It can list workflows, show their details, validate them, or draw a text-based graph.

In plain words
What is it for?
Use it to browse available workflows, check their integrity, inspect their phases, and understand how steps connect.
Why use it?
It helps find malformed workflow definitions and makes their process structure easier to inspect before use.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the flow plugin — 31 skills, 21 commands, 9 agents 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/synaptiai/synapti-marketplace/workflow
Clone the repo
git clone --depth 1 https://github.com/synaptiai/synapti-marketplace

Or install flow, the plugin that ships this one along with the rest of its 31 skills, 21 commands, 9 agents.

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/synaptiai/synapti-marketplace/workflow.svg)](https://agentmods.dev/commands/synaptiai/synapti-marketplace/workflow)
Your own site
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/workflow"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 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,261 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.00031 $0.02261
Opus 5 $0.00015 $0.01130
Sonnet 5 $0.00006 $0.00452
Haiku 4.5 $0.00003 $0.00226

Measured 2d ago against content hash 631c030c0393, 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 2d 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.

plugins/flow/commands/workflow.md · 166 lines

How it starts

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

/flow:workflow — FlowWorkflow inspection and validation

Each /flow:* command has a machine-readable process contract at plugins/flow/workflows/<id>.workflow.yaml (and optionally a project-local override at .flow/workflows/<id>.workflow.yaml). This command lets you list available workflows, inspect their phase structure, validate their integrity, and render a textual graph.

The command markdown remains Claude's execution manual; this YAML is the inspectable contract that CI can validate.

Required Skills

  • workflow-validation — schema + cross-reference checks (used by validate subcommand).

Pre-flight

ENABLED=$("$(__fr="${CLAUDE_PLUGIN_ROOT:-}";[ -x "$__fr/bin/cascade-resolve.sh" ]||__fr=$({ echo plugins/flow;ls -d "$HOME"/.claude/plugins/cache/synapti-marketplace/flow/*/ 2>/dev/null|sort -Vr;echo "$HOME/.claude/plugins/marketplaces/synapti-marketplace/plugins/flow"; }|while read -r __p;do [ -x "${__p%/}/bin/cascade-resolve.sh" ]&&{ echo "${__p%/}";break;};done);echo "$__fr")/bin/cascade-resolve.sh" \
  --default "false" '.flow.workflows.enabled')
if [ "$ENABLED" != "true" ]; then
  echo "flow.workflows.enabled is false — /flow:workflow is opt-in." >&2
  echo "Enable in .claude/settings.flow.local.json: { \"flow\": { \"workflows\": { \"enabled\": true } } }"
  exit 0
fi

Subcommands

/flow:workflow list

List all plugin-shipped workflows + any project-local overrides:

echo "Plugin-shipped workflows:"
for f in "$(__fr="${CLAUDE_PLUGIN_ROOT:-}";[ -x "$__fr/bin/cascade-resolve.sh" ]||__fr=$({ echo plugins/flow;ls -d "$HOME"/.claude/plugins/cache/synapti-marketplace/flow/*/ 2>/dev/null|sort -Vr;echo "$HOME/.claude/plugins/marketplaces/synapti-marketplace/plugins/flow"; }|while read -r __p;do [ -x "${__p%/}/bin/cascade-resolve.sh" ]&&{ echo "${__p%/}";break;};done);echo "$__fr")/workflows/"*.workflow.yaml; do
  ID=$(basename "$f" .workflow.yaml)
  CMD=$(python3 -c "import yaml; print(yaml.safe_load(open('$f'))['metadata']['command'])" 2>/dev/null)
  DESC=$(python3 -c "import yaml; print(yaml.safe_load(open('$f'))['metadata']['description'])" 2>/dev/null)
  printf '  %-15s %-20s %s\n' "$ID" "$CMD" "$DESC"
done

if [ -d .flow/workflows ]; then
  echo
  echo "Project-local overrides:"
  for f in .flow/workflows/*.workflow.yaml; do
    [ -f "$f" ] || continue
    ID=$(basename "$f" .workflow.yaml)
    echo "  $ID (overrides plugin default)"
  done
fi

Read the full file on GitHub · 166 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. 2d ago First seen · 166 lines · 31 tokens per session scan A 631c030c0393

Subscribe to this mod's changes

workflow is a command published in the GitHub repository synaptiai/synapti-marketplace (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 31 tokens to every session and 2,261 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.