workflow-validation

workflow-validation is a skill for Claude Code from synaptiai/synapti-marketplace. It costs 135 tokens per session (1,656 once invoked), scanned A, original, Apache-2.0.

A validator for workflow YAML files, which are structured configuration files describing automated steps. It checks their format, referenced skills, approval requirements, and forbidden dependencies.

In plain words
What is it for?
Use it to validate a workflow locally or in continuous integration (automated checks run for code changes) and receive a report of schema and cross-reference errors.
Why use it?
A workflow can have valid syntax but still fail because it names a missing skill or allows an unsafe action without confirmation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the flow plugin — 33 skills, 20 commands, 11 agents shipped together

Good fit Use it to validate a workflow locally or in continuous integration (automated checks run for code changes) and receive a report of schema and cross-reference errors.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add synaptiai/synapti-marketplace
Claude Code
/plugin install flow

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 33 skills, 20 commands, 11 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-validation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/synaptiai/synapti-marketplace/workflow-validation"><img src="https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/workflow-validation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,656 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.00135 $0.01656
Opus 5.5 $0.00054 $0.00662
Sonnet 5.5 $0.00027 $0.00331
Haiku 4.5 $0.00014 $0.00166

Measured 1mo ago against content hash 7b2030aa4148, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

workflow-validation 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 1mo 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/skills/workflow-validation/SKILL.md · 62 lines

How it starts

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

Workflow Validation

Contract

Iron law: a workflow that schema-validates but references a non-existent skill is a bug waiting to fire at runtime — cross-reference validation catches it at author time. Invoked by /flow:workflow validate <id> (read-only, Tier 1) and by CI workflow schema gates, with a workflow id that maps to <runtime dir>/workflows/<id>.workflow.yaml (project-local override; <runtime dir>: bin/flow-runtime-dir.sh output) or plugins/flow/workflows/<id>.workflow.yaml. Returns the JSON report below on stdout with exit 0 (pass), 1 (any cross-reference, tier-3, or native-slash violation), or 2 (schema invalid). Permitted skips: none — every step runs in order; a schema failure stops after Step 1 with overall: schema_invalid.

Output

{
  "workflow_id": "start-issue",
  "source_file": "plugins/flow/workflows/start-issue.workflow.yaml",
  "schema_valid": true,
  "cross_reference_errors": [
    {
      "type": "missing_skill",
      "name": "specifcation-capture",
      "source_file": "plugins/flow/workflows/start-issue.workflow.yaml",
      "example": "required_skills:\n  - specification-capture  # correct spelling"
    }
  ],
  "tier3_violations": [],
  "native_slash_violations": [],
  "overall": "pass"
}

Every violation carries source_file (the YAML actually loaded) and example (a corrected YAML snippet); commands/workflow.md:validate prints both beneath each error.

Steps

  1. Schema validation with the completion_gate.requires deprecation shim. Load the YAML, rename legacy completion_gate.requires to documented_requirements in memory (WARN on stderr; when both are present drop the legacy field with a WARN), then jsonschema.validate in the same Python process — the CLI validator re-reads from disk and bypasses the shim. Canonical invocation: references/workflow-validation-shim.md. Failure → first error into cross_reference_errors, overall: schema_invalid, stop.
  2. Required skills: for each required_skills[] entry, check the flow plugin's own directory, found by plugin-root resolution (references/plugin-root-resolution.md; a plugins/flow path exists only in the marketplace repository): [ -f "$(__fr="${CLAUDE_PLUGIN_ROOT:-}";[ -x "$__fr/bin/cascade-resolve.sh" ]||__fr=$({ printf '%s\n' plugins/flow;ls -d "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"/plugins/cache/synapti-marketplace/flow/*/ 2>/dev/null|sort -Vr;printf '%s\n' "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/synapti-marketplace/plugins/flow"; }|while read -r __p;do [ -x "${__p%/}/bin/cascade-resolve.sh" ]&&{ printf '%s\n' "${__p%/}";break;};done);printf '%s\n' "$__fr")/skills/${skill_name}/SKILL.md" ]. Missing → {"type": "missing_skill", "name", "source_file", "example": "required_skills:\n - <correct-skill-name>\n# check the flow plugin's skills/ directory for existing skill directory names"}.
  3. Required agents: for each required_agents[] entry, the same way: [ -f "$(__fr="${CLAUDE_PLUGIN_ROOT:-}";[ -x "$__fr/bin/cascade-resolve.sh" ]||__fr=$({ printf '%s\n' plugins/flow;ls -d "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"/plugins/cache/synapti-marketplace/flow/*/ 2>/dev/null|sort -Vr;printf '%s\n' "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/synapti-marketplace/plugins/flow"; }|while read -r __p;do [ -x "${__p%/}/bin/cascade-resolve.sh" ]&&{ printf '%s\n' "${__p%/}";break;};done);printf '%s\n' "$__fr")/agents/${agent_name}.md" ]. Missing → {"type": "missing_agent", ..., "example": "required_agents:\n - <correct-agent-name>\n# check the flow plugin's agents/*.md for available agents"}.
  4. Activity-level references: walk phases[].activities[]; apply Step 2 to each skill field and Step 3 to each agent field.
  5. Tier classification: in tier_classification, merge and release MUST be confirm, and tag_push MUST be confirm when present. Any set to autonomous or journal → tier3_violations.append({"action", "value", "expected": "confirm", "source_file", "example": "tier_classification:\n merge: confirm # Tier 3 must be confirm — non-negotiable per the Iron Law"}). Hard fail — matches trigger-policy Step 2; "No Irreversible Actions Without Approval" is non-negotiable, so a downgraded workflow is broken by construction, never a legitimate override.
  6. No native slash: grep the YAML for /goal\b, /loop\b, /schedule\b, /routine\b outside description fields. Any invoked dependency (e.g., command: /goal foo) → native_slash_violations. Hard fail — plugins cannot invoke native slash commands.
  7. Completion gate: completion_gate.documented_requirements is advisory free-text; commands enforce their own gates. Verify only presence and non-emptiness (the schema's minItems: 1 already does). No cross-reference to activity evidence fields.
  8. Overall verdict:

Read the full file on GitHub · 62 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. 1mo ago Changed 7b2030aa4148
  2. 1mo ago Changed 43061348d74d
  3. 2mo ago Changed 6a07bab0b44d
  4. 2mo ago First seen · 62 lines · 135 tokens per session scan A 5da3bbfbe255

Subscribe to this mod's changes

workflow-validation is a skill published in the GitHub repository synaptiai/synapti-marketplace (9 stars, last pushed today), licensed Apache-2.0. It adds 135 tokens to every session and 1,656 once invoked, about $0.0005 per session on Opus 5.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-10.

Related

workflow-validation compared with skills from other repositories

workflow-validation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
workflow-validationsynaptiai/synapti-marketplaceSkill9todayApache-2.0A135Claude Code
create-or-update-conceptsCaptainMe-AI/lead-dev-osSkill224d agoMITA46Claude Code
step2-scope-tasksCaptainMe-AI/lead-dev-osSkill224d agoMITA20Claude Code
step1-write-specCaptainMe-AI/lead-dev-osSkill224d agoMITA20Claude Code
plan-productCaptainMe-AI/lead-dev-osSkill224d agoMITA32Claude Code
plan-roadmapCaptainMe-AI/lead-dev-osSkill224d agoMITA25Claude Code
create-prCaptainMe-AI/lead-dev-osSkill224d agoMITA70Claude Code