@atollhq/skill-codex 0.1.10 → 0.1.11

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/README.md CHANGED
@@ -31,7 +31,6 @@ Once installed, ask Codex anything task-related:
31
31
  "List my Atoll tasks"
32
32
  "Create an issue to fix the login bug, priority 1"
33
33
  "What goals are off pace?"
34
- "Check my Atoll heartbeat"
35
34
  "Move ATOLL-42 to in_progress"
36
35
  ```
37
36
 
@@ -41,27 +40,19 @@ For terminal-first work, see [`@atollhq/cli`](https://www.npmjs.com/package/@ato
41
40
 
42
41
  ```bash
43
42
  npm install -g @atollhq/cli
44
- atoll auth login --key sk_atoll_...
45
- atoll config set-org your-org-slug
46
- atoll heartbeat
47
- atoll issue list --json
48
- atoll agent-context
43
+ atoll auth setup
44
+ atoll issue list
49
45
  ```
50
46
 
51
47
  For multiple agents or orgs, use CLI auth profiles:
52
48
 
53
49
  ```bash
54
- atoll auth login --profile agent-a --key sk_atoll_... --org acme
50
+ atoll auth manage
51
+ atoll auth profiles
52
+ atoll auth login --profile agent-a --key sk_atoll_... --org acme --project project-uuid
55
53
  atoll auth login --profile agent-b --key sk_atoll_... --org client
56
54
  atoll --profile agent-b issue list
57
- ```
58
-
59
- The companion CLI also supports safer issue removal and local/upstream feedback:
60
-
61
- ```bash
62
- atoll issue archive ATOLL-42
63
- atoll issue delete ATOLL-42 --dry-run
64
- atoll feedback "The heartbeat output should include blocked issue details"
55
+ atoll auth delete-profile agent-b --force
65
56
  ```
66
57
 
67
58
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atollhq/skill-codex",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Install the Atoll project management integration for Codex CLI",
5
5
  "bin": {
6
6
  "skill-codex": "bin/install.mjs"
package/skill/SKILL.md CHANGED
@@ -56,42 +56,45 @@ npm install -g @atollhq/cli # or: npx @atollhq/cli ...
56
56
  Configure once:
57
57
 
58
58
  ```bash
59
- atoll auth login --key sk_atoll_...
60
- atoll config set-org my-org
59
+ atoll auth setup
60
+
61
+ # Or configure non-interactively:
62
+ atoll auth login --key sk_atoll_... --org my-org
61
63
  ```
62
64
 
63
65
  For machines or agents that need multiple credentials, use auth profiles:
64
66
 
65
67
  ```bash
66
- atoll auth login --profile agent-a --key sk_atoll_... --org acme
67
- atoll auth login --profile agent-b --key sk_atoll_... --org client
68
+ atoll auth setup
69
+ atoll auth manage
68
70
  atoll auth profiles
69
71
  atoll auth use agent-a
70
72
 
73
+ # Non-interactive profile setup can include default org/project context
74
+ atoll auth login --profile agent-a --key sk_atoll_... --org acme --project project-uuid
75
+ atoll auth login --profile agent-b --key sk_atoll_... --org client
76
+
71
77
  # Run one command as a specific profile
72
78
  atoll --profile agent-b issue list
79
+
80
+ # Remove an obsolete profile
81
+ atoll auth delete-profile agent-b --force
73
82
  ```
74
83
 
75
84
  Common commands:
76
85
 
77
86
  ```bash
78
- # Agent orientation
79
- atoll heartbeat
80
- atoll heartbeat --signals-only
81
- atoll heartbeat --severity critical
82
- atoll heartbeat --json
83
- atoll agent-context
84
-
85
87
  # List tasks
86
- atoll issue list --json
87
- atoll issue list --status todo --priority 1 --limit 25
88
+ atoll issue list
89
+ atoll issue list --project <project-id>
90
+ atoll issue list --status todo --priority 1
88
91
 
89
92
  # View a task
90
- atoll issue get ATOLL-42
91
- atoll issue view ATOLL-42 # alias kept for humans
93
+ atoll issue view ATOLL-42
92
94
 
93
95
  # Create a task
94
96
  atoll issue create --title "Fix login bug" --status todo --priority 1
97
+ atoll issue create --title "Fix login bug" --project <project-id>
95
98
 
96
99
  # Update a task
97
100
  atoll issue update ATOLL-42 --status in_progress
@@ -103,28 +106,15 @@ atoll issue assign ATOLL-42 --to self
103
106
  # Comments
104
107
  atoll comment add ATOLL-42 --body "Working on this now"
105
108
 
106
- # Safe removal
107
- atoll issue archive ATOLL-42
108
- atoll issue unarchive ATOLL-42
109
- atoll issue delete ATOLL-42 --dry-run
110
- atoll issue delete ATOLL-42 --force
111
-
112
- # Report friction to Atoll maintainers
113
- atoll feedback "The status error should list custom board statuses"
114
-
115
109
  # Projects & milestones
116
110
  atoll project list
111
+ atoll config set-project <project-id> # optional default for issue/milestone commands
117
112
  atoll milestone list --project <project-id>
113
+ atoll milestone list # uses the default project when configured
118
114
  ```
119
115
 
120
- Prefer the CLI for routine task operations, heartbeat checks, comments, and feedback. Use direct API calls when the CLI does not expose the needed endpoint yet.
121
-
122
- CLI JSON conventions:
123
-
124
- - Use `--json` for machine-readable output.
125
- - List commands return `{ resource, items, total, limit, offset, nextOffset, truncated, hint }`.
126
- - Diagnostics and errors go to stderr.
127
- - `atoll agent-context` returns a versioned command/flag manifest and available profile context.
116
+ Profiles can store a default project ID. Explicit `--project` flags override it, and
117
+ `ATOLL_PROJECT` overrides profile config for one process.
128
118
 
129
119
  ## Quick Start — API (for advanced use)
130
120
 
@@ -145,7 +135,7 @@ atoll "/api/orgs/$ATOLL_ORG_ID/issues?status=todo"
145
135
 
146
136
  ## The Heartbeat Loop
147
137
 
148
- The primary pattern for autonomous agents. Prefer `atoll heartbeat --json` when the CLI is available; it wraps `GET /api/orgs/{id}/heartbeat` and returns the same computed briefing:
138
+ The primary pattern for autonomous agents. `GET /api/orgs/{id}/heartbeat` returns a computed briefing:
149
139
 
150
140
  - **Goal status** with days remaining
151
141
  - **KPI pace**: `pace_needed` vs `pace_actual`, trend (`accelerating`/`decelerating`/`flat`), staleness
@@ -155,15 +145,6 @@ The primary pattern for autonomous agents. Prefer `atoll heartbeat --json` when
155
145
 
156
146
  Signal types: `kpi_off_pace`, `kpi_stale`, `issue_stale`, `issue_blocked`, `milestone_overdue`, `initiative_stalled`, `webhook_failing`. Severity: `info`, `warning`, `critical`.
157
147
 
158
- Useful CLI forms:
159
-
160
- ```bash
161
- atoll heartbeat
162
- atoll heartbeat --signals-only
163
- atoll heartbeat --severity critical
164
- atoll heartbeat --json
165
- ```
166
-
167
148
  **The agent loop:**
168
149
  1. Call heartbeat
169
150
  2. Read signals (highest severity first)
@@ -176,8 +157,7 @@ atoll heartbeat --json
176
157
  ### Pick up and complete a task
177
158
 
178
159
  ```bash
179
- atoll heartbeat --signals-only # orient first
180
- atoll issue list --status todo --assignee self --json # find assigned work
160
+ atoll issue list --status todo --assignee self # find assigned work
181
161
  atoll issue update ATOLL-42 --status in_progress # start work
182
162
  atoll comment add ATOLL-42 --body "Progress update…" # report progress
183
163
  atoll issue update ATOLL-42 --status done # complete
@@ -226,7 +206,7 @@ Full endpoint tables and field schemas:
226
206
 
227
207
  All endpoints are under `/api/orgs/{orgId}/...`.
228
208
 
229
- † `DELETE /issues/{id}` requires `owner` or `admin` role — any caller without that role (including member-role agents) gets `403`. If you just need to remove a task, use `POST /api/orgs/{orgId}/issues/{issueId}/archive` (soft delete, no role gate); reverse with `DELETE` on the same path (unarchive). In the CLI, prefer `atoll issue archive <id>`. Permanent `atoll issue delete <id>` requires `--force` and supports `--dry-run`.
209
+ † `DELETE /issues/{id}` requires `owner` or `admin` role — any caller without that role (including member-role agents) gets `403`. If you just need to remove a task, use `POST /api/orgs/{orgId}/issues/{issueId}/archive` (soft delete, no role gate); reverse with `DELETE` on the same path (unarchive).
230
210
 
231
211
  ### Quick enum reference
232
212
 
@@ -262,14 +242,6 @@ curl -X POST https://atollhq.com/api/feedback \
262
242
 
263
243
  No authentication required. Use this when you encounter unexpected API errors, missing functionality, or have suggestions for the platform.
264
244
 
265
- The CLI can record the same feedback locally, and optionally submit upstream:
266
-
267
- ```bash
268
- atoll feedback "The /issues endpoint returns 500 when filtering by milestoneId and status together"
269
- atoll feedback --send "heartbeat should emit issue_blocked signals directly"
270
- atoll feedback list --json
271
- ```
272
-
273
245
  ## Notes
274
246
 
275
247
  - Request bodies accept camelCase; responses use snake_case
@@ -231,14 +231,6 @@ Returns computed briefing with goal status, KPI pace/trend, initiative progress,
231
231
 
232
232
  Signal types: `kpi_off_pace`, `kpi_stale`, `issue_stale`, `issue_blocked`, `milestone_overdue`, `initiative_stalled`, `webhook_failing`. Severity: `info`, `warning`, `critical`.
233
233
 
234
- CLI equivalent:
235
-
236
- ```bash
237
- atoll heartbeat --json
238
- atoll heartbeat --signals-only
239
- atoll heartbeat --severity critical
240
- ```
241
-
242
234
  ## Activity
243
235
 
244
236
  | Method | Endpoint | Description |
@@ -254,6 +246,8 @@ Filters: `by_me` = your actions; `mine` = activity on issues assigned to you.
254
246
  |--------|----------|-------------|
255
247
  | GET | `/api/orgs/{id}/teams` | List teams |
256
248
  | POST | `/api/orgs/{id}/teams` | Create team |
249
+ | PATCH | `/api/orgs/{id}/teams/{teamId}` | Update team (`{ name?, slug?, description? }`) |
250
+ | DELETE | `/api/orgs/{id}/teams/{teamId}` | Delete team |
257
251
  | GET | `/api/orgs/{id}/teams/{teamId}/members` | List team members |
258
252
  | POST | `/api/orgs/{id}/teams/{teamId}/members` | Add member to team |
259
253
  | DELETE | `/api/orgs/{id}/teams/{teamId}/members/{memberId}` | Remove from team |
@@ -427,11 +421,3 @@ No authentication required. Sends feedback to the Atoll team's internal board.
427
421
  | Method | Endpoint | Description |
428
422
  |--------|----------|-------------|
429
423
  | POST | `/api/feedback` | Submit bug report or feature request (`{ type, description, userEmail?, userName?, url? }`)
430
-
431
- CLI equivalent:
432
-
433
- ```bash
434
- atoll feedback "Describe the bug or feature request"
435
- atoll feedback --send "Submit upstream as well"
436
- atoll feedback list --json
437
- ```