Claude Code Workflow Studio: A Visual Tool for Building AI Workflows in VS Code
Have you ever wondered how to simplify the process of creating complex AI agent workflows without writing code from scratch? Claude Code Workflow Studio is a VS Code extension designed to do just that. It lets you design AI automation flows using a drag-and-drop interface. If you’re already using Claude Code for AI tasks, this tool can shift you from tedious text editing to intuitive graphical operations. In this post, I’ll walk you through what it is, how to use it, and some real-world examples along with tips.
Picture this: You’re a developer or AI enthusiast building a code review workflow that pulls data from pull requests, applies skills, and makes decisions based on conditions. Doing this manually might take time, but with this tool, you assemble nodes like building blocks and export them directly into executable files. Let’s dive in.
What Is Claude Code Workflow Studio?
Claude Code Workflow Studio is a VS Code extension focused on speeding up workflow creation for Claude Code. It offers a visual editor where you can design intricate AI agent orchestrations and conditional branches without any programming. The core concept is to build workflows by dragging nodes, then export them into formats compatible with Claude Code, such as Markdown files in .claude/agents/ and .claude/commands/.
Why is this tool helpful? It makes AI workflow design more accessible. You can iterate quickly, experiment with ideas, and avoid syntax or formatting issues. Everything runs locally in VS Code, and for most features, no internet connection is needed—though if your workflow uses MCP tools, it might require network access depending on the server setup.
Key highlights include:
-
Visual Workflow Editor: Drag-and-drop canvas for designing AI workflows without code. -
AI-Assisted Refinement: Improve workflows iteratively using natural language conversations. -
One-Click Export: Generate ready-to-use .claude/agents/*.mdand.claude/commands/*.mdfiles for Claude Code. -
Slack Integration: Share workflows in Slack for easy team collaboration. -
Diverse Node Types: Prompt, Sub-Agent, Skill, MCP, IfElse/Switch for branching, and AskUserQuestion for decisions.

The extension supports version 2.x.x with security patches. Older versions (below 2.0) are no longer supported.
How to Install Claude Code Workflow Studio
Installation is straightforward and doesn’t require advanced coding skills. Here’s a step-by-step guide.
Installing from the VS Code Marketplace (Coming Soon)
-
Open the Extensions panel in VS Code (press Ctrl+Shift+X or Cmd+Shift+X). -
Search for “Claude Code Workflow Studio”. -
Click Install.
Installing from Source
If you prefer building from source:
-
Clone the repository: git clone https://github.com/breaking-brake/cc-wf-studio.git cd cc-wf-studio -
Install dependencies: npm install cd src/webview && npm install && cd ../.. -
Build the extension: npm run build -
Package the extension: npx vsce package -
Install the generated .vsixfile in VS Code:-
Open the Extensions panel (Ctrl+Shift+X or Cmd+Shift+X). -
Click the ...menu in the top right and select “Install from VSIX…”. -
Choose the cc-wf-studio-x.x.x.vsixfile.
-
Once installed, press Ctrl+Shift+P (or Cmd+Shift+P), type “Claude Code Workflow Studio: Open Editor”, and hit Enter to launch the editor.
On first use, an interactive tour starts automatically to guide you through creating a workflow. You can restart the tour anytime via the “?” button in the toolbar. It’s available in English, Japanese, Korean, Simplified Chinese, and Traditional Chinese.
Key Features of Claude Code Workflow Studio
You might be asking, what exactly can this tool do? It supports various node types to build everything from simple to advanced AI processes. Let’s break it down.
Visual Workflow Editor
The editor features a drag-and-drop canvas with a left-side palette organized into sections:
-
Basic Nodes: Prompt (for templates with variables like {{variableName}}) and Sub-Agent (for custom system prompts, tool permissions, and models like Sonnet, Opus, or Haiku). -
Control Flow Nodes: IfElse (binary branching, e.g., true/false), Switch (multi-way branching with dynamic additions), and AskUserQuestion (user selects 2-4 options, each leading to different paths). -
Integration Nodes: Skill (for Claude Code skills) and MCP (for external tools).
To configure, click a node to edit properties in the right panel. Connect by dragging from output ports (right side) to input ports (left side).
Workflows support up to 50 nodes, but most use 3-10.
AI-Assisted Workflow Refinement
What if you’re not happy with your current workflow? Use the “Edit with AI” feature. It’s a conversational interface where you describe changes in natural language, and the AI applies them step by step.
How to Use AI-Assisted Editing
-
Open or create a workflow. -
Click the “Edit with AI” button in the toolbar (sparkle icon ✨). -
Enter a request in the dialog (up to 2000 characters), like “Add a new Sub-Agent node that validates the input data”. -
Click “Apply Changes” or press Ctrl+Enter (Cmd+Enter). -
Review the updates; if needed, add follow-up requests. -
Click “Accept Changes” to keep them, or “Cancel” to revert.
Tips: Be specific, make one change at a time; avoid vague phrases like “make it better”. The AI remembers conversation history for gradual improvements.
Prerequisite: Install Claude Code CLI (check with claude --version).
Limitations: Max 50 nodes; default timeout 90 seconds (adjustable from 30 seconds to 5 minutes); requests limited to 2000 characters.
Common Errors:
-
COMMAND_NOT_FOUND: Install Claude Code CLI. -
TIMEOUT: Simplify the request or increase timeout. -
PARSE_ERROR: Rephrase and retry. -
VALIDATION_ERROR: Reduce node complexity.
One-Click Export and Running
After building, enter a workflow name, click “Save” to store as JSON in .vscode/workflows/. Click “Export” to create .claude/agents/*.md and .claude/commands/*.md files, ready for Claude Code execution.
Exports adapt to your VS Code display language (English, Japanese, Korean, Simplified Chinese, Traditional Chinese).
Slack Workflow Sharing (Beta)
For team work, use the Slack integration.
-
Export to Slack: Select a channel and share; it creates preview cards with one-click import links. -
Import from Slack: Click “Import to VS Code” in the message to load into the editor.
Skill Node Integration
Skill nodes let you reuse Claude Code skills, which are specialized capabilities defined in SKILL.md files. They support personal (~/.claude/skills/) and project (.claude/skills/) scopes.
How to Create a New Skill
-
Select a Skill node in your workflow. -
Click “Create New Skill” in the property panel. -
Fill in details: -
Name: Lowercase, hyphens allowed (e.g., pdf-analyzer). -
Description: Brief summary of function and triggers. -
Instructions: Full prompt in Markdown. -
Allowed Tools: Optional restrictions (e.g., Read, Grep, Bash). -
Scope: Personal or Project.
-
-
The skill is created and referenced automatically.
Browse available skills via search; missing skills show warnings.
During AI generation, skills are matched by description with a 0.3 relevance threshold.
MCP Tool Nodes
MCP (Model Context Protocol) nodes connect to external tools like databases, APIs, or file systems.
Steps to Add an MCP Tool
-
Add an MCP node from the palette. -
Select an MCP server from the dropdown (discovered from Claude Code configs). -
Search or browse tools. -
Pick a tool to see its description. -
Configure parameters in the property panel (strings, numbers, booleans); real-time validation. -
Save the workflow.
Prerequisite: Configure MCP servers in Claude Code. Local servers need no network; remote ones do.
If a server is unavailable, the node shows a validation warning, but you can still export (runtime may fail).
Real-World Usage Examples
Curious how this applies in practice? Here are a few scenarios.
Example 1: Data Analysis Pipeline
-
Collect Data Sub-Agent: Gathers data from files. -
Ask User: “Choose analysis type” → Statistical or Visual. -
Statistical Analysis Sub-Agent or Data Visualization Sub-Agent. -
Generate Report Sub-Agent: Produces output.
Example 2: Code Review Workflow
-
Code Scanner Sub-Agent: Identifies issues. -
Ask User: “Priority level?” → Critical Only or All Issues. -
Filter Results Sub-Agent. -
Generate Fix Suggestions Sub-Agent.
Example 3: Document Processing with Skills
-
Upload Document Prompt: Asks for file path. -
PDF Extractor Skill (Personal): Extracts text from PDFs. -
Ask User: “Processing type?” → Summarize, Translate, or Analyze. -
Document Processor Skill (Project): Shared team logic. -
Format Results Sub-Agent: Creates final output.
Example 4: Web Automation with MCP Tools
-
Input URL Prompt: Asks for website. -
Playwright Navigate MCP Tool: Opens browser and navigates (using playwright-mcp server). -
Ask User: “Action type?” → Screenshot, Extract Text, or Click Element. -
Playwright Action MCP Tool: Performs the action. -
Process Results Sub-Agent: Analyzes and formats output.
These show the flexibility from basic to integrated setups.
Security and Known Limitations
Security is a priority. The extension uses automated vulnerability scanning like Snyk (weekly, on pushes, PRs) and GitHub Dependabot. Development practices include code reviews, TypeScript strict mode, ESLint, and automated releases.
Supported Versions
| Version | Supported |
|---|---|
| 2.x.x | Yes |
| < 2.0 | No |
Reporting Vulnerabilities
Don’t use public GitHub issues for security vulnerabilities. Report via GitHub Security Advisory or email (subject with “SECURITY”), including type, file paths, reproduction steps, proof-of-concept, and impact.
Response: Acknowledgment within 48 hours, initial assessment in 5 business days, fix aimed at 30 days.
Security Measures
-
Automated Scanning: Snyk and Dependabot. -
Development Practices: Code reviews, type safety, static analysis. -
VS Code Extension Security: Sandboxed webviews, content security policies, input validation, local-first design, MCP server transparency.
Known Limitations
-
Network Access: MCP nodes may need connectivity (check configs); use trusted servers. -
File System Access: Reads/writes .vscode/workflows/, exports to.claude/, scans skills; with conflict detection. -
Node Limit: Up to 50. -
Missing Skills: Detected on load with warnings. -
MCP Servers: Must be running for execution.
Security updates come as patch versions, announced via GitHub Advisories, Releases, and CHANGELOG.md.
Development Guidelines
If you’re a developer contributing or exploring internals, here’s the project’s development flow.
Project Structure
src/
tests/
Development Commands
After code changes, run:
npm run format # Auto-format with Biome
npm run lint # Check linting
npm run check # All Biome checks
npm run build # Build extension and webview
Build before testing; check before committing.
Commit Message Format
Use types like feat: or fix:, with a concise subject and 3-5 bullet points in the body.
Version Updates
Automated via Semantic Release and GitHub Actions. Pushing to production branch triggers: commit analysis, version bumps, CHANGELOG updates, releases, VSIX uploads, sync to main.
Prefixes determine bumps: feat: for minor, fix: for patch, BREAKING CHANGE for major.
Architecture Sequence Diagrams
Here are Mermaid diagrams for key flows.
Architecture Overview
flowchart TB
subgraph VSCode["VS Code Extension"]
subgraph ExtHost["Extension Host (Node.js)"]
Commands["Commands<br/>src/extension/commands/"]
Services["Services<br/>src/extension/services/"]
Utils["Utilities<br/>src/extension/utils/"]
end
subgraph Webview["Webview (React)"]
Components["Components<br/>src/webview/src/components/"]
Stores["Zustand Stores<br/>src/webview/src/stores/"]
WVServices["Services<br/>src/webview/src/services/"]
end
end
subgraph External["External Services"]
FS["File System<br/>.vscode/workflows/"]
CLI["Claude Code CLI"]
Slack["Slack API"]
MCP["MCP Servers"]
end
Webview <-->|postMessage| ExtHost
ExtHost --> FS
ExtHost --> CLI
ExtHost --> Slack
ExtHost --> MCP
Workflow Save Flow
sequenceDiagram
actor User
participant Toolbar as Toolbar.tsx
participant Bridge as vscode-bridge.ts
participant Cmd as save-workflow.ts
participant FS as file-service.ts
participant Disk as .vscode/workflows/
User->>Toolbar: Click Save
Toolbar->>Bridge: saveWorkflow(workflow)
Bridge->>Cmd: postMessage(SAVE_WORKFLOW)
Cmd->>Cmd: validateWorkflow()
Cmd->>FS: ensureDirectory()
FS->>Disk: mkdir -p
Cmd->>FS: writeFile()
FS->>Disk: write JSON
Cmd->>Bridge: postMessage(SAVE_SUCCESS)
Bridge->>Toolbar: resolve Promise
Toolbar->>User: Show notification
Similar flows exist for AI refinement, Slack sharing/import, and MCP fetching.
AI-Assisted Skill Generation
Uses skill-relevance-matcher.ts for relevance scoring (threshold 0.3, max 20 skills). Prompts include available skills.
Troubleshooting
Workflow won’t save? Check name (letters, numbers, hyphens, underscores only), required fields, notifications.
Export fails? Verify node configs, unique names, .claude permissions.
Can’t load? Refresh list, check .vscode/workflows/ file integrity.
FAQ
What is Claude Code?
It’s Anthropic’s CLI tool for AI workflows. This extension simplifies visual creation.
Do I need programming experience?
No! Just drag, drop, and configure via UI.
Can I edit exported files manually?
Yes, they’re plain Markdown with frontmatter.
What if a workflow file exists?
The extension detects conflicts and asks for confirmation.
How many nodes are supported?
Up to 50; typically 3-10.
What languages are supported?
UI and exports match VS Code’s display language: English (default), Japanese, Korean, Simplified Chinese, Traditional Chinese.
What are Skill nodes?
They integrate Claude Code skills from SKILL.md files, auto-invoked by descriptions.
What’s the difference between Personal and Project Skills?
Personal are machine-specific; Project are team-shareable.
Can I create Skills manually?
Yes, in the directories; the browser detects them.
What if a referenced Skill is missing?
Load-time warning; reselect or remove.
What are MCP Tool nodes?
They integrate external tools via Claude Code’s extensibility.
How do I set up MCP servers?
Configure in Claude Code; the extension discovers them.
What if an MCP server isn’t running?
Node warning; export possible, but runtime fails. Ensure availability.
What license does it use?
GNU Affero General Public License v3.0 (AGPL-3.0-or-later).
Built with React Flow, powered by Claude Code, inspired by Dify.
With these details, you should be ready to start with Claude Code Workflow Studio. If you have questions, check GitHub Discussions. Enjoy crafting AI workflows!
