mbruhler/claude-orchestration/creating-workflows
Claude Code and agent skill by mbruhler/claude-orchestration
- community
Checking that the SKILL.md file is still in the repository.
Use when user says "create workflow", "create a workflow", "design workflow", "orchestrate", "automate multiple steps", "coordinate agents", "multi-agent workflow". Creates orchestration workflows from natural language using Socratic questioning to plan multi-agent workflows with visualization.
Install
npx vskill@latest install mbruhler/claude-orchestration/creating-workflowsSKILL.md
Creating Orchestration Workflows
I'll help you create powerful orchestration workflows that coordinate multiple Claude Code agents. I use Socratic questioning to understand your needs and generate optimal workflow syntax.
When I Activate
I automatically activate when you:
- Describe a multi-step process you want to automate
- Mention "workflow", "orchestration", "automate", "coordinate agents"
- Ask "how do I create a workflow?"
- Want to connect multiple agents or tasks
- Ask about automating repetitive processes
My Process
1. Understanding Your Intent
CRITICAL: I use AskUserQuestion tool for ALL questions. NO plain text numbered lists.
I'll ask strategic questions to understand:
- What problem you're solving
- What your goal is
- What scope you have in mind
- What external data sources you need (APIs, web scraping, databases)
2. Detecting Temp Script Needs
I automatically scan for these triggers:
- External APIs: Reddit, Twitter, GitHub, ProductHunt, etc.
- Web Scraping: Extracting data from websites
- Data Processing: Analyzing 10+ items, statistical analysis
- Authentication: Any service requiring API keys
If detected → I'll proactively create temp scripts for you
3. Identifying the Pattern
I'll determine if your workflow is:
- Sequential: One step after another (
->) - Parallel: Multiple tasks at once (
||) - Conditional: Based on results (
~>) - Semantic Routing: Dynamic switch statements based on LLM interpretation (
route() =>) - Scheduled: Runs automatically in the background (
@schedule(...)) - Hybrid: Combination of above
3. Designing the Workflow
I'll help you define:
- Which agents to use (built-in or custom)
- How data flows between steps
- Error handling strategy
- Review checkpoints
4. Generating Syntax
I'll create clean, readable workflow syntax like:
Question Approach
For more details on my questioning strategy, see socratic-method.md.
Quick overview:
- Vague requests: I ask about problem → scope → constraints
- Specific requests: I confirm pattern → ask about customization
- Medium requests: I explore scope → clarify details
Common Patterns
I have templates for common scenarios. See patterns.md for complete catalog.
Popular patterns:
- Feature implementation (explore → implement → test → review)
- Bug fixing (investigate → fix → verify)
- Security scanning (scan → review → fix → verify)
- Documentation (analyze → write → review)
- Refactoring (analyze → refactor → test → validate)
Custom Agents
When your workflow needs specialized expertise, I can create temp agents for you.
Temp agents are:
- Created automatically during workflow design
- Saved in
./temp-agents/directory (in current working directory) - Cleaned after workflow design (with user confirmation)
- Can be promoted to permanent agents if useful
When I create temp agents:
- You need domain-specific expertise (e.g., security scanner)
- Task requires specific output formats
- Multiple workflows might benefit (I'll suggest making it permanent)
See temp-agents.md for examples and guidelines.
Credential Security (CRITICAL)
When workflows require API credentials or sensitive data, I follow strict security practices:
Security Checklist
- Never hardcode credentials in workflow files
- Use config files for credentials (e.g.,
config/reddit-credentials.json) - Provide example files (e.g.,
config/reddit-credentials.json.example) - Verify .gitignore includes credential files before workflow runs
- Check git status to ensure credentials aren't staged
Required Workflow Phase
For workflows requiring credentials, I add a Phase 0: Security Verification step:
.gitignore Patterns
These patterns MUST be in .gitignore:
User Notification
When I detect a workflow needs credentials, I:
- Ask user if they have credentials set up
- Provide setup instructions with example file
- Verify .gitignore protection
- Add security verification phase to workflow
Temp Scripts (CRITICAL)
Temp scripts are Python/Node.js scripts I create for tasks that Claude Code tools can't handle directly.
When I Create Temp Scripts
I automatically create temp scripts when you need:
- External API calls - Reddit, Twitter, GitHub, ProductHunt
- Web scraping - Extracting data from websites
- Data processing - Pandas analysis, JSON parsing at scale
- Database queries - SQL, NoSQL operations
- Batch operations - Processing 10+ files
- Third-party libraries - NumPy, BeautifulSoup, requests
How It Works
You say: "Fetch 10 Reddit posts about startups"
I create:
Proactive Detection
I scan your request for keywords:
- "API", "fetch", "scrape", "get data from"
- "Reddit", "Twitter", "ProductHunt", "GitHub"
- "analyze", "process", "calculate"
- Numbers like "10 posts", "100 records"
If found → I'll suggest temp scripts and ask for your confirmation
When Uncertain
If I'm not sure whether you need a temp script, I'll ask:
For complete guide, see: docs/TEMP-SCRIPTS-DETECTION-GUIDE.md
Custom Syntax
Sometimes you need syntax beyond the basics. I can design custom syntax elements like:
- New operators (
=>for merge-with-dedup) - Checkpoints (
@security-gate) - Conditions (
if security-critical) - Loops (
retry-with-backoff)
I follow a reuse-first approach: I check existing syntax before creating new.
See custom-syntax.md for syntax design process.
Examples
Real workflow examples to inspire you:
See examples.md for complete catalog with explanations.
Quick examples:
TDD Implementation:
Bug Investigation:
Security Audit:
Autonomous Daily Review (Scheduled):
Workflow Templates
After creating your workflow, I'll offer to save it as a template for reuse.
Templates include:
- Descriptive name and metadata
- Parameter placeholders for customization
- Complete workflow syntax
- Usage instructions
Templates are saved in ./examples/ directory as .flow files.
What Happens Next
After I create your workflow:
- Review: I show you the generated syntax with explanation
- Customize: You can ask for modifications
- Save: I offer to save as template
- Execute: Use
/orchestration:runto execute it - Cleanup: Check for temp files and ask about deletion
Cleanup After Workflow Design (MANDATORY)
After completing workflow design, check for temporary files and ask user before deleting.
Step 1: Detect Temporary Files
Check for existence of temporary files in the current working directory:
Step 2: If Files Exist, Ask User
Only if `TOTAL > 0`, use AskUserQuestion:
Step 3: Execute Cleanup if Confirmed
If user chose "Yes, delete all":
Report what was deleted:
Step 4: Skip if No Files
If TOTAL == 0, skip cleanup silently (don't bother user).
Tips for Best Results
- Be specific: More details = better workflow
- Ask questions: I'm here to help refine your ideas
- Start simple: We can add complexity later
- Review examples: Check examples.md for inspiration
Technical Details
- Namespace: All plugin agents use
orchestration:prefix - Temp agents: Auto-prefixed with
orchestration: - Variable binding: Use
:variable_nameto capture outputs - Error handling: Use
(if failed)~>for error branches
For complete syntax reference, see executing-workflows skill or syntax reference.
Related Skills
- executing-workflows: Run workflows with visualization and steering
- managing-agents: Create and manage custom agents
- designing-syntax: Design custom syntax elements
- using-templates: Use and customize workflow templates
Ready to create a workflow? Just describe what you want to automate!
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/creating-workflows/SKILL.md
Popularity
- Repository stars
- 216
- Repository forks
- 6
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mbruhler/claude-orchestration/creating-workflows)