with one click
sparkgen-workflow
View, validate, and edit the ai_workflow.yaml configuration
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
View, validate, and edit the ai_workflow.yaml configuration
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Generate a new SparkGen-AWS project from the cookiecutter template
Develop and modify the SparkGen-AWS cookiecutter template — variables, hooks, files
Run cookiecutter matrix tests to verify template generates correctly across all variable combinations
Add, modify, remove, list, or show agents in the workflow
Send a chat message to the running agent server and display the response
Switch LLM providers, deployment modes, and manage environment configuration
| name | sparkgen-workflow |
| description | View, validate, and edit the ai_workflow.yaml configuration |
| user_invokable | true |
| auto_invokable | true |
| auto_invoke_hint | Invoke when the user discusses workflow, orchestration, handoffs, or ai_workflow.yaml |
| arguments | <show|validate|add-handoff|set-pattern|env-override|edit> |
Manage the central workflow configuration in config/ai_workflow.yaml.
Before any action:
config/ai_workflow.yaml — the single source of truthcurl -sf http://localhost:8000/v1/workflow -H "X-API-Key: ${API_KEY:-dev-local-key}"/sparkgen-workflow show)Parse and display config/ai_workflow.yaml in a readable format:
/sparkgen-workflow validate)python -c "from app.config.workflow_loader import load_workflow; w = load_workflow(); print(f'Workflow loaded: {w[\"name\"]}, {len(w.get(\"agents\", []))} agents')"
Check for:
/sparkgen-workflow add-handoff <from> <to> <condition>)Add a new routing rule to the handoffs: section:
- from: <from_agent>
to: <to_agent>
condition: "<condition_expression>"
Then validate the workflow.
/sparkgen-workflow set-pattern <single_agent|router_manager>)Update orchestration.pattern in the workflow YAML:
single_agent: Only one agent, no routingrouter_manager: Main agent routes to specialists based on intent
Validate that the pattern matches the agent count (single_agent requires 1 agent)./sparkgen-workflow env-override <env_name> <section> <key> <value>)Add or update an environment-specific override in the environments: section:
environments:
<env_name>:
<section>:
<key>: <value>
/sparkgen-workflow edit)Open config/ai_workflow.yaml for direct editing. After changes, always run validate.
The YAML has 13 sections: version, name, description, llm, embedding, knowledge_bases, rag, tools, memory, guardrails, prompts, agents, orchestration, handoffs, observability, evaluation, environments.