workflow-automation — Claude Code subagent for CI/CD
workflow-automation is a Claude Code subagent that creates and updates GitHub Actions workflows. It handles CI/CD setup requests and workflow run analysis.
no license ★ 850 updated 2026-10-26
.claude/agents/workflow-automation.mdWhat workflow-automation does
workflow-automation creates or updates GitHub Actions workflows, lists them, retrieves run details, and can dispatch a workflow. Its available tools also include bottleneck analysis and task coordination across agents.
A pre-run hook searches for related patterns with npx agentdb-cli and records task data. Afterward, another hook stores the output and metrics; successful work with a reward above 0.9 triggers npx claude-flow neural train. Those commands need to be available for the hooks to run.
For Claude Code, add .claude/agents/workflow-automation.md to the project. Codex uses .codex/agents/workflow-automation.toml; Cursor uses .cursor/agents/workflow-automation.md.
What it helps with
- create a GitHub Actions workflow for a project
- update an existing workflow
- retrieve workflow runs and their results
- find bottlenecks in a CI/CD workflow
Example prompts for the agent
- Create a GitHub Actions workflow to build and test this project.
- List the existing workflows and show their latest run results.
- Find bottlenecks in our CI/CD workflows and suggest optimizations.
How to install workflow-automation
Manually: put the files in place
.claude/agents/workflow-automation.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/workflow-automation.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/workflow-automation.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about workflow-automation
How do I install workflow-automation in Claude Code?
Add the subagent file to the project at .claude/agents/workflow-automation.md.
What does workflow-automation do?
It creates and updates GitHub Actions workflows, retrieves run information, and analyzes bottlenecks. It also records patterns and metrics from completed tasks.
What does workflow-automation need to run?
Its hooks call npx agentdb-cli to search and store patterns. Successful tasks with a reward above 0.9 also trigger npx claude-flow neural train.