@atollhq/skill-codex 0.1.0 → 0.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atollhq/skill-codex",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
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
@@ -28,34 +28,61 @@ All requests require: `Authorization: Bearer sk_atoll_<key>`
28
28
 
29
29
  Verify with: `GET /api/auth/me`
30
30
 
31
- API keys are generated in **Settings > Members > Add Agent**. Store as `$ATOLL_API_KEY`.
31
+ API keys are generated in **Settings > Members > Add Agent** (for agents) or **Settings > Members > Create API Key** (for integrations). Store as `$ATOLL_API_KEY`.
32
32
 
33
- ## Quick Start
33
+ ## Quick Start — CLI (recommended)
34
+
35
+ Install globally or use via npx:
34
36
 
35
37
  ```bash
36
- export ATOLL_API_KEY="sk_atoll_..."
38
+ npm install -g @atollhq/cli # or: npx atoll ...
39
+ ```
37
40
 
38
- # Helper function
39
- atoll() {
40
- curl -s -H "Authorization: Bearer $ATOLL_API_KEY" \
41
- -H "Content-Type: application/json" \
42
- "https://atollhq.com$1" "${@:2}" | python3 -m json.tool
43
- }
41
+ Configure once:
42
+
43
+ ```bash
44
+ atoll auth login --key sk_atoll_...
45
+ atoll config set-org my-org
46
+ ```
44
47
 
45
- # List orgs
46
- atoll /api/orgs
48
+ Common commands:
47
49
 
50
+ ```bash
48
51
  # List tasks
49
- atoll "/api/orgs/{orgId}/issues?projectId={projectId}"
52
+ atoll issue list
53
+ atoll issue list --status todo --priority 1
54
+
55
+ # View a task
56
+ atoll issue view ATOLL-42
50
57
 
51
58
  # Create a task
52
- atoll /api/orgs/{orgId}/issues -X POST -d '{"title":"Fix login bug","status":"todo","priority":1}'
59
+ atoll issue create --title "Fix login bug" --status todo --priority 1
53
60
 
54
61
  # Update a task
55
- atoll /api/orgs/{orgId}/issues/{issueId} -X PATCH -d '{"status":"in_progress"}'
62
+ atoll issue update ATOLL-42 --status in_progress
63
+
64
+ # Assign a task
65
+ atoll issue assign ATOLL-42 --to <user-id>
66
+ atoll issue assign ATOLL-42 --to self
67
+
68
+ # Comments
69
+ atoll comment add ATOLL-42 --body "Working on this now"
56
70
 
57
- # Add a comment
58
- atoll /api/orgs/{orgId}/issues/{issueId}/comments -X POST -d '{"body":"Working on this now"}'
71
+ # Projects & milestones
72
+ atoll project list
73
+ atoll milestone list --project <project-id>
74
+ ```
75
+
76
+ ## Quick Start — API (for advanced use)
77
+
78
+ All CLI commands map to REST endpoints. Use the API directly when the CLI doesn't cover a specific operation.
79
+
80
+ ```bash
81
+ export ATOLL_API_KEY="sk_atoll_..."
82
+
83
+ curl -s -H "Authorization: Bearer $ATOLL_API_KEY" \
84
+ -H "Content-Type: application/json" \
85
+ "https://atollhq.com/api/orgs/{orgId}/issues?status=todo"
59
86
  ```
60
87
 
61
88
  ## The Heartbeat Loop
@@ -81,10 +108,12 @@ Signal types: `kpi_off_pace`, `kpi_stale`, `issue_stale`, `issue_blocked`, `mile
81
108
 
82
109
  ### Pick up and complete a task
83
110
 
84
- 1. `GET /api/orgs/{id}/issues?status=todo&assigneeId={agentId}` -- find assigned work
85
- 2. `PATCH /api/orgs/{id}/issues/{issueId}` with `{"status":"in_progress"}` -- start work
86
- 3. `POST /api/orgs/{id}/issues/{issueId}/comments` with `{"body":"Progress update..."}` -- report progress
87
- 4. `PATCH /api/orgs/{id}/issues/{issueId}` with `{"status":"done"}` -- complete
111
+ ```bash
112
+ atoll issue list --status todo --assignee self # find assigned work
113
+ atoll issue update ATOLL-42 --status in_progress # start work
114
+ atoll comment add ATOLL-42 --body "Progress update…" # report progress
115
+ atoll issue update ATOLL-42 --status done # complete
116
+ ```
88
117
 
89
118
  ### Set up the strategy chain
90
119
 
@@ -38,6 +38,7 @@ All endpoints require `Authorization: Bearer sk_atoll_...` header.
38
38
  - [Webhooks](#webhooks)
39
39
  - [Notifications](#notifications)
40
40
  - [Agents](#agents)
41
+ - [Integrations](#integrations)
41
42
  - [GitHub Integration](#github-integration)
42
43
 
43
44
  ---
@@ -377,6 +378,17 @@ URL must be HTTPS. Returns webhook record plus `secret` for HMAC verification.
377
378
  | POST | `/api/orgs/{id}/agents/{agentId}/rotate` | Rotate all keys |
378
379
  | POST | `/api/orgs/{id}/agents/{agentId}/install-snippets` | Get install snippets (`{ key }`) |
379
380
 
381
+ ## Integrations
382
+
383
+ | Method | Endpoint | Description |
384
+ |--------|----------|-------------|
385
+ | GET | `/api/orgs/{id}/integrations` | List integrations (owner/admin) |
386
+ | POST | `/api/orgs/{id}/integrations` | Create integration (`{ name }`) |
387
+ | DELETE | `/api/orgs/{id}/integrations/{integrationId}` | Revoke integration |
388
+ | GET | `/api/orgs/{id}/integrations/{integrationId}/keys` | List API keys |
389
+ | POST | `/api/orgs/{id}/integrations/{integrationId}/keys` | Generate new key (`{ name? }`) |
390
+ | DELETE | `/api/orgs/{id}/integrations/{integrationId}/keys/{keyId}` | Revoke key |
391
+
380
392
  ## GitHub Integration
381
393
 
382
394
  | Method | Endpoint | Description |