Skip to content
Automation
Command

/publish

Publish a local workflow directory to the cloud workflow hub

From plugin
stagent
269 skills1 agent9 commands8 hooks
> /plugin marketplace add jie-worldstatelabs/stagent
> /plugin install stagent@stagent

Command definition

publish.md
description: "Publish a local workflow directory to the cloud workflow hub"
argument-hint: "<workflow-dir> [--name <name>] [--description <desc>] [--dry-run]"
allowed-tools: Bash, Read, Glob

Publish a local workflow directory to the workflow hub served by `$STAGENT_SERVER` (default: the baked-in plugin server).

The directory must contain `workflow.json`; `readme.md` and one `<stage>.md` per stage declared in `workflow.json` are optional but recommended. `name` defaults to the directory's basename; `description` is auto-derived from `readme.md`'s first non-heading line when omitted.

Arguments from the user: `$ARGUMENTS`

Step 1: Upload the bundle

bash "${CLAUDE_PLUGIN_ROOT}/scripts/publish-workflow.sh" $ARGUMENTS

The script prints the resulting template URL on success, plus the one-line pull command a teammate can use from their own plugin:

/stagent:start --flow=cloud://<name> <task>

Step 2 (optional): confirm in the browser

Open the template URL printed above to verify the README renders, the state-machine graph looks right, and each stage's markdown shows up when you click its node.

@jie-worldstatelabs
Ships withstagent

A Claude Code plugin that runs config-driven development workflows as a state machine. You declare stages, transitions, and inputs in a single workflow.json; the plugin's hooks and scripts drive the loop.

263 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
26
Star history of jie-worldstatelabs/stagent on GitHub, a chart by star-history.com

Other commands on stagent.

create

create

Command

Create a new workflow suite (published to hub by default), or edit an existing one with --flow=<path>

More commands from other plugins.

plan

plan

Command

Plan n8n Linear ticket implementation

n8n11d209k
@n8n-io@n8n-ioInstall Command
setup

setup

Command

One-time setup after installing ARIS as a Claude Code plugin — registers the Codex reviewer MCP server from the plugin directory…

aris12d18k
@wanshuiyin@wanshuiyinInstall Command
agent
Auto-invoked

agent

Command

name: sc:agent description: SC Agent — session controller that orchestrates investigation, implementation, and review category:…

@galaxy-dawn@galaxy-dawnInstall Command