/workflow-builder:workflow-builderfrom workflow-builder
Scaffold, create, revise, or review complete Athena workflow packages, including workflow.md orchestration docs, workflow.json definitions, Plugin Pins, marketplace registration, and validation. Use when the user asks to create, scaffold, design, write, review, update, or package an Athena workflow, workflow.md, workflow.json, or end-to-end agent workflow definition.
Ships in workflow-builder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build Athena workflow packages that an agent can run across sessions. A workflow is orchestration: it names phases, evidence gates, artifacts, skill routing, reset rules, and handoff behavior. It does not teach low-level implementation procedures that belong in Skills.
Write workflows as state machines with evidence gates.
Every phase must answer:
Do not rely on hidden runtime metadata. If an agent cannot see workflow.json, workflow.md must still be understandable and executable from visible context.
Identify whether the user wants:
workflow.md only.workflows/<name>/..athena-workflow/marketplace.json registration.If the location is not obvious, default to the current repository when it already has workflows/ and .athena-workflow/marketplace.json. Otherwise ask where to create the workflow.
Before writing, read nearby workflow examples and registry files when present:
workflows/*/workflow.mdworkflows/*/workflow.json.athena-workflow/marketplace.json.agents/plugins/marketplace.json.claude-plugin/marketplace.jsonAGENTS.mdFollow local naming, JSON shape, plugin reference format, version style, and validation commands.
Map workflow activities to visible plugin skills. Use local plugin manifests and skill folders as the source of truth.
For each required plugin pin, record:
Do not invent plugin references. If a required plugin is not present in the marketplace, stop and ask whether to add or omit it.
For a complete Athena workflow, create:
workflows/<workflow-name>/
├── workflow.json
└── workflow.md
Use hyphen-case for workflow names. Keep machine-readable identity, versions, examples, loop settings, and plugin pins in workflow.json. Keep agent orchestration in workflow.md.
Include the local workflow metadata contract:
nameversiondescriptionmarketplaceDescriptionpromptTemplateworkflowFileloopexamplePromptspluginsPin only plugins that the workflow actually needs. Match the local plugin pin format, for example:
{
"ref": "plugin-name@owner/repo",
"version": "0.1.0"
}
Use existing workflows to determine owner/repo and version conventions. Do not duplicate plugin versions in workflow.md.
Use the structure in workflow-md-template.md. Keep prose short and forceful.
Required sections:
The workflow must be self-contained for the agent. It may mention visible Skills and Plugins, but must include fallback behavior when they are unavailable.
When .athena-workflow/marketplace.json exists, add or update an entry:
{
"name": "workflow-name",
"source": "./workflows/workflow-name/workflow.json",
"description": "Short marketplace description",
"version": "0.1.0"
}
Append new workflows unless the user asks to reorder. Keep the registry version in sync with workflow.json.
Run the repository validation command when available. Prefer local conventions such as:
scripts/marketplace-cli validate
If plugin artifacts changed, run the plugin artifact build command used by the repo, such as:
npm run build:artifacts
Also inspect the final workflow manually for:
workflow.mdworkflow.jsonworkflow.md says workflow.json is the source of truth, replace that with a Capability Contract that works from visible context.workflow.json pins a plugin whose skills are never routed to, remove the pin or add the missing routing.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub lespaceman/athena-workflow-marketplace --plugin workflow-builder