Cool Workflow

io.github.coo1white由 GitHub 帳號 coo1white 發布v0.1.97更新於 Oct 24, 2026

Signed, cited, replayable workflows for Claude, Codex, Gemini, DeepSeek, and other agents.

發布方自己的服務:Cool Computers

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

本機命令列工具,把 AI 程式代理對程式庫的回答整理成可保存的報告,每項結論都指向真實程式碼位置。

可以做什麼
  • 把關於程式庫或文件資料夾的問題拆成小任務,交給你自己的程式代理完成
  • 產生每項結論都指向真實程式碼行的報告,缺少證據的結果會被擋下
  • 用公開金鑰離線驗證已簽署的結論,並維護防竄改帳本
  • 執行測試等指令並保存回執,記錄提交、結束碼和輸出摘要
  • 接續中斷的執行,並重新開啟已保存的報告
適用情境
當你希望留下可核查、可重現的紀錄,說明 AI 程式代理對程式庫得出什麼結論,或需要證明某條測試指令確實執行過,而不是只得到一段容易遺失、難以核實的對話回答時使用。
執行需求
以本機命令列工具從 npm(或 Homebrew)安裝,需要 Node.js v22.13 或更新版本與終端機;支援 Linux、macOS 以及透過 WSL 執行的 Windows,尚未支援原生 Windows。實際執行還需要電腦上已安裝並登入的 AI 程式代理,例如 Claude Code 或 Codex。不會索取 API 金鑰。
安裝前請注意
它會呼叫你的代理,並在校驗指令中執行你提供的指令,因此只應傳入你確實想執行的指令。報告與執行檔案會寫入專案內的 .cw 目錄。簽章驗證只能證明已簽署的結論原樣送達,不能證明沒有內容被新增或遺漏。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Cool Workflow,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

What is this?

Cool Workflow (cw) is a small command-line tool that turns your AI coding agent's chat answer — easy to lose, hard to check — into a saved report. Point it at a repo, or any folder of docs, and:

  • It plans the work. Your question becomes a set of small tasks.
  • Your agent does the work. CW never runs a model itself — your own agent reads and thinks.
  • It writes a checked report. Every claim points to a real place in your code, like file.ts:42. A result with no evidence stops instead of passing through.

The model is fuel. CW is the black-box recorder, the dashboard, and the gearbox — never the engine. It never calls a model API, never holds your keys, and never uploads your code.

Before you start

You need two things, and one more for real runs:

  1. A terminal. On macOS: Terminal. On Linux: any. On Windows: install WSL (run wsl --install in PowerShell, then open "Ubuntu" from the Start menu) and type every command below in that Ubuntu window.
  2. Node.js v22.13 or newer. Check with node -v. If it is missing or older, get it from nodejs.org (take the LTS one).
  3. An AI coding agent, for real runs — for one, Claude Code or Codex (see Works with your agent). Not needed for the demo in step 1 of the Quick Start.

Install

bash
npm install -g cool-workflowcw version

cw version prints the version number when the install worked.

Install trouble?
What you seeWhat to do
EACCES: permission deniedDo not use sudo. Put Node in your home folder with nvm, then run the install again.
cw: command not foundClose the terminal and open a new one. If it is still not found, npm prefix -g gives the folder; its bin folder needs to be on your PATH.
Unsupported engine or a Node errorYour Node is older than v22.13: update it (node -v to check).
Or install with Homebrew
bash
brew tap coo1white/cool-workflow https://github.com/coo1white/cool-workflowbrew install coo1white/cool-workflow/cool-workflowcw version

Upgrade later with brew update && brew upgrade cool-workflow.

You need: Node.js v22.13 or newer. No agent yet? Step 1 below still works — CW never runs a model itself.

Runs on: Linux, macOS and Windows through WSL. Native Windows is not yet supported: CI runs it to measure what still fails, and that work is going on.

Works with your agent

AgentFlagStatusGet it
Claude Code-claude✅ worksinstall
Codex CLI-codex✅ worksinstall
Muse Code-muse✅ works—
OpenCode-opencode✅ worksinstall
Gemini-gemini✅ through opencodeinstall OpenCode
DeepSeek-deepseek✅ through opencode or an HTTP endpointinstall OpenCode
GitHub Copilot CLI-copilot🧪 betainstall
Antigravity-antigravity🧪 betainstall
Grok-grok✅ works (add -grok)install
Cursor—⬜ not yet
Aider—⬜ not yet
Qwen Code—⬜ not yet
Kimi—⬜ not yet

🧪 beta: CW has a wrapper and an offline test for it, but no real login has passed cw doctor --conformance yet, and cw never picks it by itself: add its flag.

Log in to your agent once on its own (run it, for one claude, and follow its steps) before you use it with CW: CW uses your agent as it is set up, and never asks for your keys.

Not sure what you have? cw doctor checks your setup and cw fix prints the commands that put it right.

Quick Start

1 · See it work — 30 seconds, no agent needed

bash
cw demo tamper# → builds a real signed ledger, forges it three ways, catches all three offline# → VERDICT: tamper-evidence holds ✓

2 · Ask a question about your code — one command

bash
cw -q "How does auth work end-to-end here?"

CW uses the current repo and the first agent it finds on your PATH. Want a specific agent? Add a flag from the table above, such as -claude.

A full review takes about 4 minutes on a real repo (14 workers; the Map and Assess stages run at the same time). One focused question? Add --fast: 6 workers in place of 14, the same cited answer for fewer agent calls.

3 · Open the report

The report opens in your browser by itself when the run ends. It starts with the answer, then the evidence behind it. Later, open it again with:

bash
cw report --open

Want to see one first? A real run's Workbench and report, rebuilt on every push: coo1white.github.io/cool-workflow (the report is at /report.html).

4 · Keep proof that your tests passed

An agent that says "all tests pass" has only said it. Run the tests through CW and keep a receipt:

bash
cw check -- npm test# → ✓ passed: npm test (exit 0 at 1a2b3c4) — receipt rc-…. Cite it as receipt:rc-…

CW runs your command (never a model) and saves what happened: the commit, the exit code, a digest of the output. A result that cites receipt:rc-… is checked again before it counts: a failed run, a missing receipt, or code that changed since the run is turned down, with the one command to fix it. cw check list shows your receipts.

These steps are the core path. Everything else is kept working, not grown.

Words you will see

WordWhat it means
agentThe AI coding tool on your machine (Claude Code, Codex, …) that does the reading and thinking. CW gives it small tasks.
runOne question, from start to report. Each run has an id, and its files are kept in .cw/runs/<id>/ in your project.
reportThe answer, with the evidence for each claim (file.ts:42). Kept as report.md, and opened in your browser.
evidenceA pointer to a real line of code. A claim without it is not let through.
receiptA record, from cw check, that a command (for one, your tests) truly ran and how it ended.
resumeGoing on with a run that stopped: cw --resume --run <id>.

Can You Trust the Report?

CW does not run the model — it keeps the books. Your agent signs its findings (ed25519), and cw report verify-bundle checks — offline, with only the public key — that every signed finding is in the report unaltered. CW holds no private key: the agent signs, CW only verifies. This proves the signed findings reached you unaltered — not that nothing else was added, and not that none were left out. See the Trust Model.

Troubleshooting

ProblemFix
No agent foundcw doctor — shows which agents are on your machine
status: blockedSet CW_AGENT_COMMAND=builtin:claude or pass -claude
claude: command not foundInstall Claude Code and run again
Where is my report?<repo>/.cw/runs/<id>/report.md, or run cw report --open
Missing required input: questionAdd -q "<question>"
Run stopped before the endFix the cause, then cw --resume --run <id> takes it to the end; a worker that stopped gets fresh tries (inside the project, or add --repo <path>)
... is not a git projectRun it inside the project, or pass --repo
Run <id> was made for <folder>The run belongs to another folder (a copied or moved repo): pass --repo <that folder>, or move it with cw run export and cw run import

Learn more

CW dogfoods its own release: every cut runs release-cut against this repo.

License

BSD-2-Clause. Built by COOLWHITE LLC.

來源:README.md,提交 48e12f2

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.97最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Cool 整合