clickup-clilisted
Install: claude install-skill heyramzi/ai-agency
# ClickUp CLI
Command-line tool for managing ClickUp tasks, docs, hierarchy, and time tracking.
## Setup
It is one global binary:
```bash
cu <command> [args]
```
There is no `clickup` alias; that name returns "command not found".
Install it with `npm i -g heyramzi/clickup-cli`, then `cu init`. It is a public
repository, so there is no token and nothing to ask anybody for. The course that
teaches it is **ClickUp Foundations** at
[skool.com/ai-agency-systems-3191](https://www.skool.com/ai-agency-systems-3191).
Every command below assumes `cu` is on your PATH.
### Configuration
Stored at `~/.config/clickup/config.json`. Supports multiple API tokens with priority-based fallback. Override with env vars: `CU_API_TOKEN`, `CU_TEAM_ID`.
**"Priority-based fallback" applies to picking the token, not to retrying a
failed call.** Every command runs on `tokens[0]` and stops there, so a `401
ACCESS_081` / `INSUFFICIENT_PARENT_ACCESS` is not proof the operation is
forbidden. The other token may own the object. It is per-task, not per-list:
one token updated, attached to and deleted tasks in a list all session, then 401'd
on deleting one task in that same list that the owner's token deleted immediately.
There is no `--token` flag; switch with the env override for the one call:
```bash
export CU_API_TOKEN=$(python3 -c "import json;d=json.load(open('$HOME/.config/clickup/config.json'));print([t['token'] for t in d['tokens'] if t['name']=='owner'][0])")
cu task delete <taskId>
```
Whol