worca
Run the node-graph multi-agent orchestrator over a software task in the current project. Triggers on "/worca", "/worca <prompt>", "/worca --ui", and on requests to orchestrate, run the orchestration pipeline, or drive plan/refine/implement/review for a task.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 56
- Forks
- 28
01 前言 Front Matter
- name
- worca
- description
- Run the node-graph multi-agent orchestrator over a software task in the current project. Triggers on "/worca", "/worca <prompt>", "/worca --ui", and on requests to orchestrate, run the orchestration pipeline, or drive plan/refine/implement/review for a task.
03 SKILL.md 正文
Orchestrate
Drive the current project through the selected pipeline template (default wf_default: Plan → Refine ↺ → Implement → Review ↺ → End). Orchestration is performed by a deterministic Node.js script; this skill just launches it. Artifacts (plans, reviews, pipeline audit logs) are written under ai-artifacts/ in the project.
The commands below call worca from your PATH (npm install -g @worca/app puts it there). If command -v worca prints nothing, run the same command through Node instead: replace worca with node <WORCA_REPO>/src/cli/worca-cc.mjs. That path is filled in when the skill is installed with worca --install; in a copy that was not installed, use the folder that holds src/cli/worca-cc.mjs.
/worca <prompt> — run the pipeline (default action)
When invoked as /worca <prompt>, run the CLI with the user's text as the prompt and the user's current project as the working directory:
worca --project "$PWD" --prompt "<args>"
--project "$PWD"— operate inside the user's current project (the orchestrator does all file writes here).--prompt "<args>"— everything the user typed after/worca. Quote it.- The CLI streams every agent execution (start/done, cycle, cost) and live agent logs to the terminal. When the clarify step needs a decision it shows each question's 2–4 options plus a free-text field; when a refine/review loop hits its cap it shows the open critical/major issues and asks whether to continue or approve another cycle. Answer interactively.
- On completion it prints the pipeline directory under
ai-artifacts/pipelines/.
Useful flags (pass through when the user asks):
--file <path.md>— use a markdown file as the prompt instead of--prompt.--title "<name>"— label the pipeline.--workflow <id>— run a saved pipeline template instead of the built-in default (wf_default).--model <m>/--permission-mode <m>— Claude model / permission mode (defaultacceptEdits).--mock— run the full pipeline offline with canned agents (no Claude spawn, no tokens); great for a dry run. Equivalent to settingWORCA_MOCK=1.--yes/--non-interactive— auto-answer (clarify picks the first option; gates choose "continue"). Use for unattended runs.--at "<when>"— schedule the run instead of starting it now (02:00,tomorrow 02:00,+90m,2026-09-19 02:00). Add--waitto hold the terminal and start it there; otherwise the Worca UI server starts it.--every "weekdays 02:00"/--every "15m 09:00-18:00"/--cron "0 2 * * 1-5"repeat it (runs at least 15 minutes apart). Manage withworca schedule list | cancel <id>.--after <id>starts it when that run ends (--after-anyalso on failure,--source-from-previouson its branch).
Example:
worca \
--project "$PWD" --prompt "Add rate limiting to the public API"
/worca --ui — launch the web UI
To start the web app (new-pipeline form, live pipeline graph, live log window, question + loop-gate panels, Stop button, run history):
worca --ui
This starts ui/server.mjs (Express + WebSocket, default port 4317; set PORT to change). Open the printed URL in a browser. In the UI you pick the project folder to operate in, supply a prompt OR a markdown document (plus optional extra files), optionally toggle mock mode, and Start. The UI also has an "Install agents into this folder" button.
Installing the agents + skill into another project
So a teammate can open Claude Code in their own repo and type /worca <prompt>, copy the agents and this skill into that project's .claude/:
worca --install "<targetDir>"
- Copies
agents/*.mdinto<targetDir>/.claude/agents/andskills/worca/into<targetDir>/.claude/skills/worca/. - Add
--forceto overwrite existing copies. worca --install ~installs into~/.claude/, which Claude Code loads in every project.- Prints a next-step hint. After installing, open Claude Code in
<targetDir>and run/worca <prompt>. - The UI does the same ("Install agents into this folder").
Notes
- The orchestrator auto-initializes a git repo in the target project (initial commit) if none exists, so the reviewer can diff the implementation.
- Preflight auto-detects
graphifyandcode-review-graph; if both are present it always uses graphify and tells the agents to ground their work in it. - Prefer
--mockfirst if you just want to see the pipeline run end-to-end without spending tokens.
04 同仓库更多 Skills
gamma
Ships a plugin manifest a skill must not have.
delta-plugin-root
Calls a helper that lives elsewhere in its plugin.
beta-scripts
Collects build facts with a script and summarizes them.
alpha
Writes a short status note for the current branch.
mock-skill
Trivial helper skill shipped by the mock-source fixture plugin. Runs helper.sh.
worca-release
Cut a release candidate or a stable release of @worca/app — bumps the version, commits, tags `worca-app-v<version>`, and pushes so CI publishes to npm with provenance — and, with --publish-changelog, commit a /worca-changelog entry to dev and put it on docs.worca.dev. Triggers on "cut a release", "cut an RC", "release candidate", "bump RC", "stable release", "worca-release", "publish the changelog", or any request to release @worca/app.