CLI, keys and local AI
Let a local AI such as Claude Code use your own key to write tasks, documents, whiteboards and components in the projects the key is added to; every write waits for your approval.8 min
-
Step 1:Give your AI one sentence
Paste into Claude Code or Codex: "Read https://teamai.com.tw/cli and follow its steps to connect this computer to Contrack." It installs the CLI and skill and checks the setup; you type no commands. When you issue a key under Settings › Keys, the dialog also has a ready-to-copy instruction with the key, and the full kit to download. By hand: irm https://teamai.com.tw/cli/install.ps1 | iex in PowerShell on Windows, curl -fsSL https://teamai.com.tw/cli/install.sh | sh on macOS or Linux.
-
Step 2:Sign in with your key
If the instruction carries a key, the AI signs in with it; otherwise it opens the approval page in your browser, where you tick the permissions to give (tasks, docs and whiteboards, budgets, component design; without any it only reads; ones you lack yourself are greyed out) and approve. The key is yours and the AI works as you.
-
Step 3:The key goes where you go
A key is not added to projects: it reaches every project you are in, and does there what both your role and the key allow. With the skill installed the AI runs contrack doctor and says in plain words what is missing and where to fix it.
-
Step 4:Write the current way
The AI reads the whole project in one go with contrack brief (people, tasks, budget, documents), then contrack format doc or board before writing, and the params of only the components it uses (contrack format component <name>): the format and the company's switched-on components, always current.
-
Step 5:You approve its writes
A key's writes do not apply at once: tasks, documents, whiteboards and components the AI creates or changes come to you first and apply once you approve them in Reviews › Waiting on me. Only task comments and file uploads apply directly. Finishing a task is confirmed by you first, then goes through the task's own review. Every write is in the audit log.
-
Step 6:Stop a computer
Revoke the key under Settings › Keys, or run contrack logout --revoke on the computer; to take it out of one project, remove the key in that project's members.