@atollhq/skill-gemini 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 +6 -15
- package/package.json +1 -1
- package/skill/SKILL.md +25 -53
- package/skill/references/api-endpoints.md +2 -16
package/README.md
CHANGED
|
@@ -31,7 +31,6 @@ Once installed, ask Gemini 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
|
|
45
|
-
atoll
|
|
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
|
|
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
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
|
|
60
|
-
|
|
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
|
|
67
|
-
atoll auth
|
|
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
|
|
87
|
-
atoll issue list --
|
|
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
|
|
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
|
-
|
|
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.
|
|
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
|
|
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).
|
|
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
|
-
```
|