@atollhq/skill-claude 0.1.7 → 0.1.8
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 +2 -0
- package/bin/install.mjs +6 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,6 +8,8 @@ Gives your Claude Code agent the ability to manage tasks, goals, KPIs, initiativ
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
npx @atollhq/skill-claude --key sk_atoll_... --org your-org-id
|
|
11
|
+
# or
|
|
12
|
+
ATOLL_API_KEY=sk_atoll_... ATOLL_ORG_ID=your-org-id npx @atollhq/skill-claude
|
|
11
13
|
```
|
|
12
14
|
|
|
13
15
|
Get an API key from **Settings > Members > Add Agent** (or **Create API Key** for integrations) in the Atoll app.
|
package/bin/install.mjs
CHANGED
|
@@ -24,10 +24,11 @@ function parseArgs(argv) {
|
|
|
24
24
|
function printUsage() {
|
|
25
25
|
console.log(`
|
|
26
26
|
Usage: npx @atollhq/skill-claude --key <api-key> --org <org-id>
|
|
27
|
+
or: ATOLL_API_KEY=<api-key> ATOLL_ORG_ID=<org-id> npx @atollhq/skill-claude
|
|
27
28
|
|
|
28
29
|
Options:
|
|
29
|
-
--key Atoll API key (sk_atoll_...)
|
|
30
|
-
--org Organization ID
|
|
30
|
+
--key Atoll API key (sk_atoll_...). Defaults to ATOLL_API_KEY.
|
|
31
|
+
--org Organization ID. Defaults to ATOLL_ORG_ID.
|
|
31
32
|
--help Show this help message
|
|
32
33
|
|
|
33
34
|
This installs the Atoll skill for Claude Code, giving your agent
|
|
@@ -36,6 +37,8 @@ the ability to manage tasks, goals, KPIs, and initiatives.
|
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
const args = parseArgs(process.argv)
|
|
40
|
+
args.key ??= process.env.ATOLL_API_KEY
|
|
41
|
+
args.org ??= process.env.ATOLL_ORG_ID
|
|
39
42
|
|
|
40
43
|
if (args.help) {
|
|
41
44
|
printUsage()
|
|
@@ -43,7 +46,7 @@ if (args.help) {
|
|
|
43
46
|
}
|
|
44
47
|
|
|
45
48
|
if (!args.key || !args.org) {
|
|
46
|
-
console.error('Error: --key and --org
|
|
49
|
+
console.error('Error: provide --key and --org, or set ATOLL_API_KEY and ATOLL_ORG_ID\n')
|
|
47
50
|
printUsage()
|
|
48
51
|
process.exit(1)
|
|
49
52
|
}
|