workbench-cli
Installation
SKILL.md
Workbench CLI
Use the workbench CLI instead of hand-creating .workbench, editing .gitignore manually, copying bundled skill assets by hand, or guessing at runtime API calls.
Treat this file as the thin agent-facing wrapper. The synced references and examples are the source of truth for exact behavior and syntax.
If you are reading the authored repo copy under skills/workbench-cli, the generated references/ and examples/ folders may not exist yet. In that case, use the canonical repo files under docs/cli.md, docs/workflow-authoring.md, and docs/examples/workflows/. After workbench skill install, those same materials exist inside the installed skill tree.
Working Rules
- Prefer the repo-local flow. Run the CLI from the target git repo unless the user intentionally wants
--serverorWB_SERVER_URL. - For bootstrap, prefer
workbench init . --template <starter>over manually creating.workbenchor copying starter YAML. - After workflow edits, run
workbench validate. Use--schema-onlyonly when the user explicitly wants structural validation without local readiness checks. - For read-only inspection, prefer the CLI surfaces that already exist:
workbench workflow list,workbench execution list,workbench execution show,workbench execution history,workbench execution trace,workbench execution transcript, andworkbench execution changes. - For
execution run,execution resume,execution action run, andexecution watch, ensure a persistent runtime exists withworkbench startorworkbench openunless the user intentionally passed an explicit server target. - Let
execution run,execution resume, andexecution action runsurface missing-input requirements instead of inventing separate input-discovery commands. - Native chat is outside the CLI surface. Use the web
/chatroute or the runtime/api/v1/chat/*API for native chat threads. - Do not use deleted commands such as
workflow template ...,workflow inputs,execution continue, orexecution action inputs.
Local References
- Read references/commands.md for the canonical CLI guide, exact syntax, installation notes, runtime lifecycle rules, and server-target resolution. In the authored repo tree, the same content lives in
docs/cli.md. - Read references/workflow-authoring.md only when you need the workflow contract itself. In the authored repo tree, the same content lives in
docs/workflow-authoring.md. - Use the checked-in starter workflows under examples/workflows only as reference material or when the user explicitly wants a raw workflow file; otherwise prefer
workbench init . --template <starter>. - For a continuable workflow example, see examples/workflows/interactive-conversation.yaml. It uses
state.on_attempt.completed: waiting_for_input,stages[].session: resume, and later turns continue through the same execution id. - Do not overwrite an existing template install or skill install unless the user explicitly asked to replace it.
Related skills