-
Notifications
You must be signed in to change notification settings - Fork 0
CLI and MCP Surface
CW is CLI-backed and MCP-first.
The CLI is the lowest common denominator: every serious coding agent can run shell commands. MCP is the cross-app integration surface for hosts that support tools and resources.
This page vs CLI MCP Parity. This page is the catalog — how to USE the two surfaces (which commands and
cw_*tools exist, and the flow they drive). CLI MCP Parity is the guarantee — the mechanism (the capability registry) and the fail-closed gate that keeps the two surfaces from ever drifting apart.
cd plugins/cool-workflow
node scripts/cw.js list
node scripts/cw.js app list
node scripts/cw.js app show architecture-review
node scripts/cw.js plan architecture-review \
--repo /path/to/repo \
--question "Is this architecture sound?"
node scripts/cw.js dispatch <run-id> --limit 6
node scripts/cw.js result <run-id> <task-id> /path/to/result.md
node scripts/cw.js status <run-id>
node scripts/cw.js graph <run-id>
node scripts/cw.js report <run-id> --showA local folder (-dir PATH, from any directory) or a remote repository (--link <url>)
can stand in for --repo. --link clones any git host — or downloads a
.tar.gz/.zip archive — into a fail-closed, content-addressed cache, then reviews the
checkout; cw clones list/gc manage that cache, and the MCP peers are cw_clones_list /
cw_clones_gc. See Commands Or API.
node scripts/cw.js worker summary <run-id>
node scripts/cw.js candidate summary <run-id>
node scripts/cw.js feedback summary <run-id>
node scripts/cw.js commit summary <run-id>
node scripts/cw.js multi-agent summary <run-id>
node scripts/cw.js blackboard summary <run-id>
node scripts/cw.js topology summary <run-id>
node scripts/cw.js state check <run-id>Most human-facing summary commands also support JSON output with --json or
--format json.
MCP hosts can drive the same flow with JSON-first tools:
cw_app_run
-> cw_dispatch
-> cw_worker_manifest
-> cw_worker_output
-> cw_candidate_register
-> cw_candidate_score
-> cw_candidate_select
-> cw_commit
-> cw_operator_report
Topology tools include:
cw_topology_listcw_topology_showcw_topology_validatecw_topology_applycw_topology_summarycw_topology_graph
Multi-agent and blackboard tools expose the same runtime concepts that the CLI does. There should be no intentional CLI-only core behavior.
node scripts/cw.js loop --intervalMinutes 30 --prompt "Continue this workflow."
node scripts/cw.js schedule create --kind loop --intervalMinutes 30 --prompt "Continue this workflow."
node scripts/cw.js schedule daemon --once
node scripts/cw.js routine create --kind github --prompt "Handle this GitHub event."
node scripts/cw.js routine fire github payload.jsonSchedules and routines turn workflow continuation into explicit state instead of hidden host behavior.
Organized from local Obsidian notes and reconciled with the current
coo1white/cool-workflow repository state.
Start here
Go deeper
- Workflow Apps
- Architecture
- Trust And Audit
- Recovery And Restore
- Commands or API
- MCP And Manifests
- Operations
- FAQ
Source docs