@krodak/clickup-cli 1.18.1 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +50 -19
- package/dist/chunk-XAXTPUJP.js +2024 -0
- package/dist/index.js +374 -1990
- package/dist/sprint-7S5UOUQX.js +19 -0
- package/package.json +1 -1
- package/skills/clickup-cli/SKILL.md +106 -89
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clickup-cli",
|
|
3
3
|
"description": "ClickUp CLI skills for managing tasks, sprints, comments, checklists, custom fields, tags, and time tracking via the cup command",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.19.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Krzysztof Rodak"
|
|
7
7
|
},
|
package/README.md
CHANGED
|
@@ -14,6 +14,16 @@
|
|
|
14
14
|
npm install -g @krodak/clickup-cli && cup init
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
## For AI Agents
|
|
18
|
+
|
|
19
|
+
Paste this into any AI agent to get started immediately:
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
Fetch and follow instructions from https://raw.githubusercontent.com/krodak/clickup-cli/main/skills/clickup-cli/SKILL.md
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Or install the skill permanently with `cup skill` (see [Set up your agent](#set-up-your-agent) below).
|
|
26
|
+
|
|
17
27
|
## Talk to your agent
|
|
18
28
|
|
|
19
29
|
Install the CLI, add the skill file to your agent, and it works with ClickUp. No API knowledge needed.
|
|
@@ -73,13 +83,13 @@ cup init
|
|
|
73
83
|
|
|
74
84
|
## Set up your agent
|
|
75
85
|
|
|
76
|
-
|
|
86
|
+
After installing `cup`, run:
|
|
77
87
|
|
|
78
88
|
```bash
|
|
79
89
|
cup skill
|
|
80
90
|
```
|
|
81
91
|
|
|
82
|
-
This detects which agents you have (Claude Code, Codex, OpenCode) and installs the skill to the right locations. Run it again after updating `cup` to refresh the skill.
|
|
92
|
+
This detects which agents you have (Claude Code, Codex, OpenCode) and installs the [skill file](https://agentskills.io) to the right locations. Run it again after updating `cup` to refresh the skill.
|
|
83
93
|
|
|
84
94
|
<details>
|
|
85
95
|
<summary>Manual install options</summary>
|
|
@@ -126,13 +136,19 @@ cup skill --path ~/.config/opencode/skills/clickup/SKILL.md
|
|
|
126
136
|
</details>
|
|
127
137
|
|
|
128
138
|
<details>
|
|
129
|
-
<summary> <strong>Other agents</strong></summary>
|
|
139
|
+
<summary> <strong>Other agents / npx</strong></summary>
|
|
140
|
+
|
|
141
|
+
Without installing globally, you can use `npx`:
|
|
130
142
|
|
|
131
143
|
```bash
|
|
132
|
-
|
|
144
|
+
npx @krodak/clickup-cli skill --print > SKILL.md
|
|
133
145
|
```
|
|
134
146
|
|
|
135
|
-
Or
|
|
147
|
+
Or install the skill directly from GitHub via the [skills CLI](https://github.com/vercel-labs/skills):
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
npx skills add https://github.com/krodak/clickup-cli
|
|
151
|
+
```
|
|
136
152
|
|
|
137
153
|
</details>
|
|
138
154
|
|
|
@@ -142,20 +158,21 @@ Or copy `skills/clickup-cli/SKILL.md` into your agent's skill directory or `AGEN
|
|
|
142
158
|
|
|
143
159
|
Full CRUD for the core ClickUp workflow:
|
|
144
160
|
|
|
145
|
-
| Area | Capabilities
|
|
146
|
-
| -------------------- |
|
|
147
|
-
| ✅ **Tasks** | Create, read, update, delete, duplicate, search, subtasks, assign, dependencies, links, multi-list, bulk status updates
|
|
148
|
-
| 💬 **Comments** | Post, edit, delete, threaded replies, notify all
|
|
149
|
-
| 📄 **Docs** | List, read, create, edit, delete (v3 API)
|
|
150
|
-
| ⏱️ **Time Tracking** | Start/stop timer, log entries, list/update/delete history
|
|
151
|
-
| ☑️ **Checklists** | View, create, delete, add/edit/delete items
|
|
152
|
-
| 🔧 **Custom Fields** | List, create, set, remove values (dropdown, date, checkbox, text, etc.)
|
|
153
|
-
| 🏷️ **Tags** | Add/remove on tasks, space-level create/update/delete
|
|
154
|
-
| 🎯 **Goals & OKRs** | Goals CRUD, key results CRUD
|
|
155
|
-
| 🏃 **Sprints** | Auto-detect active sprint, flexible date parsing, config override
|
|
156
|
-
|
|
|
157
|
-
|
|
|
158
|
-
|
|
|
161
|
+
| Area | Capabilities |
|
|
162
|
+
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
|
|
163
|
+
| ✅ **Tasks** | Create, read, update, delete, duplicate, search, subtasks, assign, dependencies, links, multi-list, bulk status updates |
|
|
164
|
+
| 💬 **Comments** | Post, edit, delete by ID or by task scope for your own comments, threaded replies, notify all |
|
|
165
|
+
| 📄 **Docs** | List, read, create, edit, delete (v3 API) |
|
|
166
|
+
| ⏱️ **Time Tracking** | Start/stop timer, log entries, list/update/delete history |
|
|
167
|
+
| ☑️ **Checklists** | View, create, delete, add/edit/delete items |
|
|
168
|
+
| 🔧 **Custom Fields** | List, create, set, remove values (dropdown, date, checkbox, text, etc.) |
|
|
169
|
+
| 🏷️ **Tags** | Add/remove on tasks, space-level create/update/delete |
|
|
170
|
+
| 🎯 **Goals & OKRs** | Goals CRUD, key results CRUD |
|
|
171
|
+
| 🏃 **Sprints** | Auto-detect active sprint, `sprint:current` pseudo-ID for move/create, flexible date parsing, config override, favorite sprint folders |
|
|
172
|
+
| ⭐ **Favorites** | Local favorites for quick access to sprint folders, spaces, lists, folders, views, tasks |
|
|
173
|
+
| 👁️ **Views** | List, get, create, update, delete views on lists |
|
|
174
|
+
| 🏢 **Workspace** | Spaces, folders, lists (read + create + from template), members, task types, templates |
|
|
175
|
+
| 📎 **Attachments** | Upload files to tasks, shown in detail views |
|
|
159
176
|
|
|
160
177
|
[Full API coverage details](docs/api-coverage.md) | [Command reference](docs/commands.md)
|
|
161
178
|
|
|
@@ -209,6 +226,20 @@ Environment variables override config file values:
|
|
|
209
226
|
|
|
210
227
|
When both `CU_API_TOKEN` and `CU_TEAM_ID` are set, the config file is not required. Useful for CI/CD and containerized agents.
|
|
211
228
|
|
|
229
|
+
## Troubleshooting
|
|
230
|
+
|
|
231
|
+
**"No config file found"** - Run `cup init` to set up your API token and workspace.
|
|
232
|
+
|
|
233
|
+
**"Config missing apiToken"** - Set `CU_API_TOKEN` environment variable or run `cup init`.
|
|
234
|
+
|
|
235
|
+
**No output from `cup`** - Make sure you're on v1.5.2+. Older versions had a symlink bug. Update: `npm install -g @krodak/clickup-cli`
|
|
236
|
+
|
|
237
|
+
**Sprint not detected** - Your sprint folder needs "sprint", "iteration", "cycle", or "scrum" in the name. Or pin it: `cup config set sprintFolderId <id>`. You can also favorite a sprint folder: `cup favorite add sprint-folder <id>`
|
|
238
|
+
|
|
239
|
+
**Custom field filter fails** - `--field` requires `--list` to resolve field names to IDs: `cup tasks --list <id> --field "Sprint" "Week 1"`
|
|
240
|
+
|
|
241
|
+
**Wrong workspace** - Switch profile: `cup profile use <name>` or use `-p <name>` for one command.
|
|
242
|
+
|
|
212
243
|
## Development
|
|
213
244
|
|
|
214
245
|
```bash
|