/ccwf-cli
Use the `ccwf` CLI (from @cc-wf-studio/cli) to render, validate, preview, export, or run cc-wf-studio workflow JSON files from the terminal. Apply whenever the user mentions viewing, visualizing, checking, executing, or converting a workflow under `.vscode/workflows/` (or any
$ npx -y skills add breaking-brake/cc-wf-studio --skill ccwf-cli --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/ccwf-cli
Context preview
The summary Claude sees to decide when to auto-load this skill.
Use the `ccwf` CLI (from @cc-wf-studio/cli) to render, validate, preview, export, or run cc-wf-studio workflow JSON files from the terminal. Apply whenever the user mentions viewing, visualizing, checking, executing, or converting a workflow under `.vscode/workflows/` (or any
SKILL.md
ccwf-cli.SKILL.mdname: ccwf-cli
description: Use the `ccwf` CLI (from @cc-wf-studio/cli) to render, validate, preview, export, or run cc-wf-studio workflow JSON files from the terminal. Apply whenever the user mentions viewing, visualizing, checking, executing, or converting a workflow under `.vscode/workflows/` (or any `*workflow*.json`), wants a Mermaid diagram of a workflow, asks to "see" / "preview" / "open" a workflow, or wants to run a workflow as a Claude Code Skill without opening VSCode.
allowed-tools: Bash(ccwf:*) Bash(npx @cc-wf-studio/cli:*)
ccwf CLI
`ccwf` is the command-line entry into cc-wf-studio — a visual AI-agent workflow tool. It treats `.vscode/workflows/*.json` workflow files as inputs and lets you render them as Markdown, validate the schema, open them in a browser-based viewer, convert them into Agent Skills, or execute them. The same workflow JSON also drives the VSCode extension and an MCP server, so you can pick whichever interface fits the situation.
This Skill teaches Claude how to recognise when `ccwf` is the right answer and which subcommand to reach for. The subcommands and flags listed here are the source of truth — if behaviour seems off, check `ccwf <subcommand> --help` first.
Prerequisites
Confirm `ccwf` is available before running any other subcommand:
ccwf --version
If `ccwf` is not on PATH:
- **Preferred**: install globally — `npm install -g @cc-wf-studio/cli`
- **Without install**: prefix every command with `npx @cc-wf-studio/cli` (e.g. `npx @cc-wf-studio/cli render <file>`)
- **In a project**: `pnpm add -D @cc-wf-studio/cli` and run via `pnpm exec ccwf`
If the user has a VSCode workspace and you can't find a workflow file, search `.vscode/workflows/*.json` first; that's the canonical location.
Core workflow
The natural flow when the user has a workflow file in hand:
1. **`ccwf validate <file>`** — schema-check it. Exit 0 = clean, exit 1 = errors. Run this first whenever you receive a workflow from elsewhere. 2. **`ccwf preview <file>`** — opens a read-only viewer (Mermaid + per-node Markdown) in the browser. Use this when the user says "show me" / "what's in this workflow?" / "見せて". 3. **`ccwf export <file>` or `ccwf run <file>`** — materialises the workflow as Claude Code (or another agent's) Skill files. Use `run` when the user wants the next step to be actually executing the workflow with `claude`.
If a step fails, stop and surface the exact error to the user before moving on.
Subcommand reference
`ccwf render <file>`
Print a Markdown bundle (Mermaid flowchart + per-node execution instructions) to stdout. Use when piping to another tool or pasting into a PR / chat message.
ccwf render ./.vscode/workflows/my-workflow.json # Markdown (default)
ccwf render ./.vscode/workflows/my-workflow.json -f mermaid # ```mermaid block only
Output is the same content `ccwf preview` shows in the right pane.
`ccwf validate <file>`
Schema-check the workflow JSON.
ccwf validate ./.vscode/workflows/my-workflow.json # exit 0/1, human-readable errors on stderr
ccwf validate ./.vscode/workflows/my-workflow.json --json # prints { valid, errors[] }Use this:
- Before `ccwf run` / `ccwf export` if the file is hand-edited or AI-generated
- In CI / pre-commit hooks
- When the user asks "is this workflow OK?" / "壊れてない?"
`ccwf preview <file>`
Open a **read-only viewer** in the browser. Mermaid flowchart on the left, per-node Markdown on the right. Auto-reloads when the file changes on disk. Auto-shuts down 30s after the last viewer tab closes.
ccwf preview ./my-workflow.json # boot, open browser
ccwf preview ./my-workflow.json --port 51234 # pin to a port
ccwf preview ./my-workflow.json --keep-alive # don't auto-shutdown when the tab closes
Use when the user says any of: "show me", "preview", "what does this workflow do?", "open it in a browser", "見せて", "可視化して".
The printed URL has the shape `http://localhost:<port>/<uuid>/`. The UUID just keeps two concurrent preview sessions from clobbering each other — it isn't a security boundary, since the server only listens on the loopback interface by default.
`ccwf canvas <file>` (experimental)
Open the **full editable canvas** in the browser (same UI as the VSCode extension). Saves write back to the workflow file. Heavier than `preview`; reach for it only when the user explicitly wants to edit without VSCode.
ccwf canvas ./my-workflow.json
Other VSCode-only features (Slack share, Claude API upload, MCP server management, agent-specific export buttons) return a `CANVAS_UNSUPPORTED` error in this mode — they require the extension proper.
`ccwf export <file> [--agent <name>]`
Materialise the workflow as **Agent Skill files** for a target agent. Pure file write, no execution.
ccwf export ./my-workflow.json # --agent claude-code (default)
ccwf export ./my-workflow.json --agent cursor # cursor
ccwf export ./my-workflow.json --agent codex --cwd /tmp/proj # codex, custom output root
ccwf export ./my-workflow.json --overwrite # replace existing files
Output by `--agent`:
| `--agent` | Files emitted (relative to `--cwd` or `process.cwd()`) | |------------------------|----------------------------------------------------------------------------------------------| | `claude-code` (default)| `.claude/agents/<sub-agent>.md` (inline SubAgent nodes) + `.claude/skills/<workflow>/SKILL.md` | | `antigravity` | `.agent/skills/<workflow>/SKILL.md` | | `codex` | `.codex/skills/<workflow>/SKILL.md` | | `copilot` | `.github/skills/<workflow>/SKILL.md` | | `
Read more
name: ccwf-cli description: Use the `ccwf` CLI (from @cc-wf-studio/cli) to render, validate, preview, export, or run cc-wf-studio workflow JSON files from the terminal. Apply whenever the user mentions viewing, visualizing, checking, executing, or converting a workflow under `.vscode/workflows/` (or any `*workflow*.json`), wants a Mermaid diagram of a workflow, asks to "see" / "preview" / "open" a workflow, or wants to run a workflow as a Claude Code Skill without opening VSCode. allowed-tools: Bash(ccwf:*) Bash(npx @cc-wf-studio/cli:*)
ccwf CLI
`ccwf` is the command-line entry into cc-wf-studio — a visual AI-agent workflow tool. It treats `.vscode/workflows/*.json` workflow files as inputs and lets you render them as Markdown, validate the schema, open them in a browser-based viewer, convert them into Agent Skills, or execute them. The same workflow JSON also drives the VSCode extension and an MCP server, so you can pick whichever interface fits the situation.
This Skill teaches Claude how to recognise when `ccwf` is the right answer and which subcommand to reach for. The subcommands and flags listed here are the source of truth — if behaviour seems off, check `ccwf <subcommand> --help` first.
Prerequisites
Confirm `ccwf` is available before running any other subcommand:
ccwf --version
If `ccwf` is not on PATH:
- **Preferred**: install globally — `npm install -g @cc-wf-studio/cli`
- **Without install**: prefix every command with `npx @cc-wf-studio/cli` (e.g. `npx @cc-wf-studio/cli render <file>`)
- **In a project**: `pnpm add -D @cc-wf-studio/cli` and run via `pnpm exec ccwf`
If the user has a VSCode workspace and you can't find a workflow file, search `.vscode/workflows/*.json` first; that's the canonical location.
Core workflow
The natural flow when the user has a workflow file in hand:
1. **`ccwf validate <file>`** — schema-check it. Exit 0 = clean, exit 1 = errors. Run this first whenever you receive a workflow from elsewhere. 2. **`ccwf preview <file>`** — opens a read-only viewer (Mermaid + per-node Markdown) in the browser. Use this when the user says "show me" / "what's in this workflow?" / "見せて". 3. **`ccwf export <file>` or `ccwf run <file>`** — materialises the workflow as Claude Code (or another agent's) Skill files. Use `run` when the user wants the next step to be actually executing the workflow with `claude`.
If a step fails, stop and surface the exact error to the user before moving on.
Subcommand reference
`ccwf render <file>`
Print a Markdown bundle (Mermaid flowchart + per-node execution instructions) to stdout. Use when piping to another tool or pasting into a PR / chat message.
ccwf render ./.vscode/workflows/my-workflow.json # Markdown (default) ccwf render ./.vscode/workflows/my-workflow.json -f mermaid # ```mermaid block only
Output is the same content `ccwf preview` shows in the right pane.
`ccwf validate <file>`
Schema-check the workflow JSON.
ccwf validate ./.vscode/workflows/my-workflow.json # exit 0/1, human-readable errors on stderr
ccwf validate ./.vscode/workflows/my-workflow.json --json # prints { valid, errors[] }Use this:
- Before `ccwf run` / `ccwf export` if the file is hand-edited or AI-generated
- In CI / pre-commit hooks
- When the user asks "is this workflow OK?" / "壊れてない?"
`ccwf preview <file>`
Open a **read-only viewer** in the browser. Mermaid flowchart on the left, per-node Markdown on the right. Auto-reloads when the file changes on disk. Auto-shuts down 30s after the last viewer tab closes.
ccwf preview ./my-workflow.json # boot, open browser ccwf preview ./my-workflow.json --port 51234 # pin to a port ccwf preview ./my-workflow.json --keep-alive # don't auto-shutdown when the tab closes
Use when the user says any of: "show me", "preview", "what does this workflow do?", "open it in a browser", "見せて", "可視化して".
The printed URL has the shape `http://localhost:<port>/<uuid>/`. The UUID just keeps two concurrent preview sessions from clobbering each other — it isn't a security boundary, since the server only listens on the loopback interface by default.
`ccwf canvas <file>` (experimental)
Open the **full editable canvas** in the browser (same UI as the VSCode extension). Saves write back to the workflow file. Heavier than `preview`; reach for it only when the user explicitly wants to edit without VSCode.
ccwf canvas ./my-workflow.json
Other VSCode-only features (Slack share, Claude API upload, MCP server management, agent-specific export buttons) return a `CANVAS_UNSUPPORTED` error in this mode — they require the extension proper.
`ccwf export <file> [--agent <name>]`
Materialise the workflow as **Agent Skill files** for a target agent. Pure file write, no execution.
ccwf export ./my-workflow.json # --agent claude-code (default) ccwf export ./my-workflow.json --agent cursor # cursor ccwf export ./my-workflow.json --agent codex --cwd /tmp/proj # codex, custom output root ccwf export ./my-workflow.json --overwrite # replace existing files
Output by `--agent`:
| `--agent` | Files emitted (relative to `--cwd` or `process.cwd()`) | |------------------------|----------------------------------------------------------------------------------------------| | `claude-code` (default)| `.claude/agents/<sub-agent>.md` (inline SubAgent nodes) + `.claude/skills/<workflow>/SKILL.md` | | `antigravity` | `.agent/skills/<workflow>/SKILL.md` | | `codex` | `.codex/skills/<workflow>/SKILL.md` | | `copilot` | `.github/skills/<workflow>/SKILL.md` | | `
You think visually. AI thinks in .md. CC Workflow Studio speaks both. Design workflows on a canvas. Export as Markdown your AI agent already understands. No more prompt-guessing. Why CC Workflow Studio? - Speaker Deck Link
Repo: breaking-brake/cc-wf-studio
Other skills on cc-wf-studio.
- /jira-driven-planning
Jiraチケットの要件とConfluenceの関連ドキュメントを基に、Frontend/Backend/Infrastructureに分割した実装計画を策定するプランニングスキル。Jiraチケット情報とConfluence検索結果が前段で取得済みであることを前提とし、構造化された実装計画を出力する。「プランニング」「実装計画策定」「タスク分割」などの文脈で使用。
Open skill - /next-idea
Run one unattended IDEATION iteration of the autonomous value-creation loop — invent improvements a user of cc-wf-studio would notice, judge them against the value bar, and file the winners as locked `idea` issues. Never implements anything; the next-task skill builds from the
Open skill - /next-qa-idea
Run one unattended IDEATION iteration of the quality-assurance loop — find the highest-value untested behavior in the codebase, judge it against the QA value bar, and file ONE locked `qa` issue specifying the test to write. Never writes code or tests; the next-qa skill builds
Open skill - /next-qa
Run one unattended iteration of the QUALITY-ASSURANCE loop — steward any in-flight QA PR, then build ONE queued `qa` issue (test infrastructure, unit tests, regression tests for known bugs) on a branch off auto-qa and open a PR that squash-merges on green CI. Adds tests and
Open skill - /next-task
Run one unattended IMPLEMENTATION iteration of the autonomous value-creation loop — steward any in-flight PR, fix interrupts (red CI / security / human bugs), or else build ONE queued `idea` issue on a branch off auto-dev and open a PR that squash-merges on green CI. Ideation
Open skill - /pr-review-analysis
Analyze PR review comments from a GitHub PR URL. Fetch review comments, verify each finding against the actual codebase, assess validity (correct/incorrect/partial), present a structured summary with recommended actions, and optionally reply to each comment on GitHub. Use when
Open skill

