Modular workflow generator with on-demand context loading. Creates workflows from YAML plans with focused, trigger-specific guidance. Use when user wants to create, build, or generate workflow automation.
Generate reliable workflows using progressive context disclosure - load only what's needed for the specific workflow type.
1. Ask user questions → Get trigger type + requirements
2. Load ONLY relevant reference docs for that trigger
3. Build YAML plan with focused context
4. Validate and import workflow
Use AskUserQuestion tool to gather:
Required questions:
Trigger type: When should workflow run?
Output format: How to display results?
Optional based on workflow type:
CRITICAL: Use Read tool to load these reference files in order:
1. Always read (required - load ALL of these):
.claude/skills/workflow-generator-v2/references/yaml-format.md
.claude/skills/workflow-generator-v2/references/common-modules.md
.claude/skills/workflow-generator-v2/references/common-mistakes.md
2. Read based on trigger type (required - load ONE):
.claude/skills/workflow-generator-v2/references/manual-trigger.md.claude/skills/workflow-generator-v2/references/webhook-trigger.md.claude/skills/workflow-generator-v2/references/cron-trigger.md.claude/skills/workflow-generator-v2/references/chat-trigger.md.claude/skills/workflow-generator-v2/references/chat-input-trigger.md.claude/skills/workflow-generator-v2/references/gmail-trigger.md.claude/skills/workflow-generator-v2/references/outlook-trigger.mdDo NOT proceed without reading the core 3 files + your specific trigger file!
3. Optionally read module category references (as needed):
Based on what modules the user needs, read relevant category references:
.claude/skills/workflow-generator-v2/references/modules/ai-modules.md.claude/skills/workflow-generator-v2/references/modules/social-modules.md.claude/skills/workflow-generator-v2/references/modules/communication-modules.md.claude/skills/workflow-generator-v2/references/modules/business-modules.md.claude/skills/workflow-generator-v2/references/modules/data-modules.md.claude/skills/workflow-generator-v2/references/modules/ecommerce-modules.md.claude/skills/workflow-generator-v2/references/modules/other-categories.mdThese provide usage patterns, credential requirements, and examples for each category.
YOU MUST SEARCH FOR EVERY MODULE YOU PLAN TO USE. NEVER GUESS!
For each functionality needed, run:
npm run modules:search <keyword>
Example workflow needs: "Webhook that adds numbers and generates AI summary"
YOU MUST RUN THESE SEARCHES:
npm run modules:search add → Get exact path for additionnpm run modules:search generate → Get exact path for AI generationnpm run modules:search execute → Get exact path for JavaScriptExtract from search results:
path - Use this EXACTLY in your YAML (e.g., utilities.array-utils.sum)signature - Shows parameter names (e.g., sum(arr) means use arr:, not array: or numbers:)wrapper - If "options" or "params", inputs are auto-wrappedparams - Shows which are required vs optionalCONSEQUENCES OF NOT SEARCHING:
NO EXCEPTIONS - SEARCH FOR EVERYTHING!
Create plans/{workflow-name}.yaml using:
YAML Structure:
name: Workflow Name
description: Brief description
trigger: webhook | cron | chat | manual | telegram | discord
# Trigger-specific config (from reference file):
webhookSync: true # For webhooks
webhookSecret: "secret" # Optional
output: json | table | text | markdown
returnValue: "{{variableName}}" # Optional - what to return
steps:
- module: category.module.function
id: unique-id
inputs:
param: "{{variable}}"
outputAs: variableName
Run the build command:
npm run workflow:build plans/{workflow-name}.yaml
The build process:
Tell user:
trigger.body, not webhookDataIf build fails:
The key insight: The LLM loads context on-demand by reading reference files, just like reading any other file in the codebase.
npx skills add KenKaiii/workflow-generator-v2下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer