Installation
Run from a clone (recommended)
No app store, no account, no signup. Clone the repo and the whole toolkit works locally in one command.
git clone https://github.com/ctok-cli/ctok.gitcd ctok
# macOS / Linux./scripts/setup.sh
# Windows (PowerShell)./scripts/setup.ps1
# any OS, after `corepack enable`pnpm setupsetup installs dependencies, builds every package, and links the ctok binary
onto your PATH. Add --no-link (or -NoLink on PowerShell) to skip the global
symlink and run via pnpm start -- <args> from the repo root.
Requirements: Node.js ≥ 20 and pnpm (the script enables it via corepack if missing).
CLI from npm
The CLI is published, so npm works too:
npm install -g @ctok/cli# orpnpm add -g @ctok/cliVerify
ctok --version # 0.1.0ctok doctor # checks environment, config, plan detectionWeb playground
No install needed - open ctok-cli.github.io/ctok/playground/ in any browser.
MCP server
Add to your Claude Code config (~/.claude.json):
{ "mcpServers": { "ctok": { "command": "npx", "args": ["-y", "@ctok/mcp"] } }}Restart Claude Code. Four tools appear: estimate, refine, recommend_model, scan_project.
Desktop app
Build it locally from your clone - no App Store account needed:
pnpm installpnpm -F @ctok/desktop tauri build # or: tauri devThe binary lands in packages/desktop/src-tauri/target/release/. Because it is
unsigned, macOS Gatekeeper / Windows SmartScreen may warn on first launch -
right-click → Open (macOS) or More info → Run anyway (Windows). Requires the
Tauri prerequisites for your OS.
Browser extension
Build it and load it unpacked - no Chrome Web Store account needed:
pnpm installpnpm -F @ctok/browser-ext buildThen open chrome://extensions (or edge://extensions), enable Developer
mode, click Load unpacked, and select packages/browser-ext/dist. See
USAGE.md
for the Firefox path.