diff --git a/.claude/skills/conductor/SKILL.md b/.claude/skills/conductor/SKILL.md index fb71f5b..c54094f 100644 --- a/.claude/skills/conductor/SKILL.md +++ b/.claude/skills/conductor/SKILL.md @@ -30,8 +30,9 @@ conductor run workflow.yaml --log-file auto # Log full debug outpu conductor run workflow.yaml --web --input q="Hello" # Real-time web dashboard conductor run workflow.yaml --web-bg --input q="Hello" # Background mode (prints URL, exits) conductor validate workflow.yaml # Validate only -conductor init my-workflow --template simple # Create from template -conductor templates # List templates +conductor registry add official myorg/workflows --default # Add a registry +conductor registry list official # List registry workflows +conductor run qa-bot@official@1.0.0 --input q="Hello" # Run from registry conductor stop # Stop background workflow conductor update # Check for and install latest version conductor resume workflow.yaml # Resume from last checkpoint @@ -102,5 +103,6 @@ For runtime config, context modes, limits, and cost tracking, see [references/au | `runtime` | Provider, model, temperature, max_tokens, MCP servers | | `--web` | Real-time web dashboard with DAG graph, live streaming, in-browser human gates | | `checkpoint` | Auto-saved on failure; resume with `conductor resume` | +| `registry` | Named workflow sources (GitHub repo or local dir) for sharing workflows | For pattern examples (linear, loop, conditional, parallel, for-each, human gate) and template syntax, see [references/authoring.md](references/authoring.md). diff --git a/.claude/skills/conductor/references/execution.md b/.claude/skills/conductor/references/execution.md index 6db4034..4afa5cd 100644 --- a/.claude/skills/conductor/references/execution.md +++ b/.claude/skills/conductor/references/execution.md @@ -195,40 +195,45 @@ Checks: - Parallel group agent references - For-each source format and reserved names -### conductor init +### conductor registry -Create workflow from template: +Manage workflow registries — named sources of shared workflows (GitHub repos or local directories). ```bash -conductor init [OPTIONS] +conductor registry [OPTIONS] ``` -| Option | Description | -|--------|-------------| -| `--template`, `-t TEMPLATE` | Template to use (default: simple) | -| `--output`, `-o PATH` | Output file path | +| Subcommand | Description | +|------------|-------------| +| `list [name]` | List registries, or workflows in a specific registry | +| `add ` | Add a registry (`--type github\|path`, `--default`) | +| `remove ` | Remove a registry | +| `set-default ` | Set the default registry | +| `update [name]` | Refresh index and re-resolve latest versions | +| `show ` | Show metadata for a workflow reference | **Examples:** ```bash -conductor init my-workflow -conductor init my-workflow --template loop -conductor init review -t human-gate -o ./workflows/review.yaml +conductor registry add official myorg/conductor-workflows --default +conductor registry add local /path/to/workflows --type path +conductor registry list # show configured registries +conductor registry list official # show workflows in a registry +conductor registry set-default official +conductor registry update # refresh all indexes +conductor registry show qa-bot@official@1.0.0 # show workflow metadata ``` -### conductor templates - -List available templates: +**Running from a registry:** ```bash -conductor templates +conductor run qa-bot # latest from default registry +conductor run qa-bot@official # latest from named registry +conductor run qa-bot@official@1.2.3 # explicit version +conductor run qa-bot@@1.2.3 # explicit version from default registry ``` -| Template | Description | -|----------|-------------| -| `simple` | Single agent with basic I/O | -| `loop` | Iterative refinement pattern | -| `human-gate` | Workflow with approval gate | +Registry workflows are cached locally at `~/.conductor/cache/registries/` and reused on subsequent runs. Explicit versions are immutable; `latest` is re-resolved on `conductor registry update`. ## Execution Flow diff --git a/README.md b/README.md index b7d4deb..97d430a 100644 --- a/README.md +++ b/README.md @@ -207,23 +207,29 @@ Validate a workflow file without executing. conductor validate ``` -### `conductor init` - -Create a new workflow from a template. +**Full CLI documentation:** [docs/cli-reference.md](docs/cli-reference.md) -```bash -conductor init --template