cwc-generate-workflow

cwc-generate-workflow is a skill for Claude Code, Codex from fayzan123/claude-workflow-composer. It costs 73 tokens per session (2,722 once invoked), scanned A, original, MIT.

A tool that creates workflow files for Claude Workflow Composer, a visual canvas for connecting AI agents into multi-step processes, from plain-English descriptions.

In plain words
What is it for?
Generating multi-agent pipelines and saving them where Claude Workflow Composer can load them into its canvas.
Why use it?
It removes the need to manually write the workflow file and connect its agents and steps.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the TodoWrite tool.

Good fit Generating multi-agent pipelines and saving them where Claude Workflow Composer can load them into its canvas.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fayzan123/claude-workflow-composer/cwc-generate-workflow
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.

Any agent
npx skills add fayzan123/claude-workflow-composer --skill cwc-generate-workflow
Clone the repo
git clone --depth 1 https://github.com/fayzan123/claude-workflow-composer

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 cwc-generate-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/fayzan123/claude-workflow-composer/cwc-generate-workflow/github.svg)](https://agentmods.dev/skills/fayzan123/claude-workflow-composer/cwc-generate-workflow)
Your own site
<a href="https://agentmods.dev/skills/fayzan123/claude-workflow-composer/cwc-generate-workflow"><img src="https://agentmods.dev/badge/skills/fayzan123/claude-workflow-composer/cwc-generate-workflow/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 cwc-generate-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/fayzan123/claude-workflow-composer/cwc-generate-workflow"><img src="https://agentmods.dev/badge/skills/fayzan123/claude-workflow-composer/cwc-generate-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,722 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 61
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • medium Rogue Agent · line 3
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 254
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium MCP Rug Pull · line 280
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00073 $0.02722
Opus 5 $0.00036 $0.01361
Sonnet 5 $0.00015 $0.00544
Haiku 4.5 $0.00007 $0.00272

Measured 10d ago against content hash 489699a162f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

cwc-generate-workflow scanned grade A with 1 finding 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 10d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| AC-1 | ✅ Pass | curl returned 200 with expected body |
src/skills/cwc-generate-workflow/SKILL.md · 283 lines

How it starts

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

Generate CWC Workflow

You are generating a complete, valid .cwc workflow file for Claude Workflow Composer. The user will describe what they want. You will produce a fully-specified workflow with rich agent system prompts, clear completion criteria, and correct graph wiring — then save it to ~/.cwc/workflows/ so it appears in the CWC canvas immediately.


Step 1 — Understand the request

If the user's description is ambiguous on a critical point (e.g. "what codebase is this for?" or "sequential or parallel?"), ask one clarifying question. Otherwise make sensible defaults explicit in the workflow and proceed.

Read any relevant project files with the Read tool to make the workflow context-aware.


Step 2 — Design the workflow

Plan the agents and edges before writing JSON. Think about:

  • How many agents? 3–6 is the sweet spot. Under 3 is usually just one agent doing everything. Over 6 is usually better split into two workflows.
  • Sequential or parallel? Sequential pipelines (A → B → C) are simpler and correct for dependent work. Parallel fan-out (A → B + C → D) makes sense when B and C are truly independent.
  • Conditional branches? Use dispatchMode: "conditional" on the routing node when exactly one of multiple paths should run based on the output.
  • What does each agent actually do? Be specific. "Reviewer" is too vague. "Reads the git diff, categorises findings by severity with file:line references, writes FINDINGS.md" is correct.

Step 3 — Write the workflow JSON

Produce a single valid JSON object matching this exact schema:

{
  meta: {
    id: string           // generate a unique ID: use Date.now() + Math.random() pattern
    name: string         // short, title-case workflow name
    description: string  // one sentence: what this workflow does
    version: 2
    artifactKind: "workflow"  // required for newly generated v2 files
    artifactTier: "workflow"
    created: string      // current ISO 8601 datetime
    updated: string      // same as created
  }
  nodes: Array<{
    id: string                             // unique ID per node, e.g. "node-1", "node-2"
    position: { x: number, y: number }    // see Layout Guidelines below
    exportedSlug: null                     // ALWAYS null — never a string
    startTrigger?: string                  // entry node only: what initiates the workflow
    dispatchMode?: "parallel" | "conditional"  // only set when node has >1 outgoing edges
    agent: {
      name: string              // short title-case name, e.g. "Code Reviewer"
      description: string       // one sentence role summary
      completionCriteria: string // specific and testable — what does "done" look like?
      color?: string            // one of: blue cyan green orange red purple yellow
      tools?: string[]          // use ONLY these exact strings: Read Write Edit Bash WebSearch WebFetch Agent TodoWrite
      skills?: string[]         // leave as empty array []
      systemPrompt?: string     // full agent persona and instructions (see Quality Bar below)
      model?: string            // omit — let user decide
    }
    agentRef?: never             // NEVER set agentRef — all nodes must be bespoke
  }>
  edges: Array<{
    id: string           // unique ID per edge, e.g. "edge-1"
    from: string         // must match a node id exactly
    to: string | null    // must match a node id exactly, OR null for terminal edges
    trigger: string      // one sentence: when/why this handoff happens
    label?: string       // optional short label shown on the arrow
    terminalType?: "complete" | "escalated" | "aborted"  // required when to is null
  }>
}

Read the full file on GitHub · 283 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. 10d ago First seen · 283 lines · 73 tokens per session scan A 489699a162f5

Subscribe to this mod's changes

cwc-generate-workflow is a skill published in the GitHub repository fayzan123/claude-workflow-composer (36 stars, last pushed 1mo ago), licensed MIT. It adds 73 tokens to every session and 2,722 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

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

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens