@acedatacloud/skills 2026.728.5 → 2026.728.6

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": "@acedatacloud/skills",
3
- "version": "2026.728.5",
3
+ "version": "2026.728.6",
4
4
  "description": "Agent Skills for AceDataCloud AI services — music, image, video generation, LLM chat, web search. Compatible with Claude Code, GitHub Copilot, Gemini CLI, OpenAI Codex, and 30+ AI coding agents.",
5
5
  "keywords": [
6
6
  "agent-skills",
@@ -5,28 +5,46 @@ when_to_use: |
5
5
  Trigger when the user wants to read or write something on GitHub —
6
6
  list / view / create / comment on issues or PRs, star / watch / fork a
7
7
  repo, manage releases / gists / labels / milestones, search code, view
8
- CI runs, etc.
8
+ CI runs, etc. Works with either connection method (OAuth authorization
9
+ or a self-supplied Personal Access Token); the commands are the same.
9
10
  connections: [github]
10
11
  allowed_tools: [Bash]
11
12
  license: Apache-2.0
12
13
  metadata:
13
14
  author: acedatacloud
14
- version: "1.1"
15
+ version: "1.2"
15
16
  ---
16
17
 
17
- Use the `gh` CLI for everything. The user's OAuth access token is exported
18
- as `$GH_TOKEN`; `gh` reads it automatically — `gh auth status` will say
19
- "not logged in" because gh keeps no config file in the sandbox, but every
20
- authenticated subcommand works regardless.
18
+ Use the `gh` CLI for everything. The user's token is exported as an env var
19
+ and `gh` reads it automatically — `gh auth status` will say "not logged in"
20
+ because gh keeps no config file in the sandbox, but every authenticated
21
+ subcommand works regardless. **The commands are identical in both modes**;
22
+ only the permission envelope differs, so check which one you're in before
23
+ diagnosing a `403`:
24
+
25
+ ```sh
26
+ if [ -n "$GITHUB_TOKEN" ]; then echo "mode: pat (user-created token)"; \
27
+ elif [ -n "$GH_TOKEN" ]; then echo "mode: oauth"; \
28
+ else echo "no GitHub connection — connect at https://auth.acedata.cloud/user/connections"; fi
29
+ ```
30
+
31
+ Both are **secret — full account access within their scope. Never echo or
32
+ print them.**
21
33
 
22
34
  `gh --help` and `gh <subcommand> --help` are always current. When unsure,
23
35
  read the help first instead of guessing flags.
24
36
 
25
37
  ## Granted scopes — what you can and cannot do
26
38
 
27
- The connection requests exactly five scopes: `read:user`, `user:email`,
28
- `repo`, `read:org`, `gist`. Everything in the Recipes below fits inside
29
- them. These do NOT fit, and will fail no matter how you phrase the call:
39
+ **In PAT mode (`$GITHUB_TOKEN`)** the scopes are whatever the user picked
40
+ when they created the token, and a fine-grained token may be limited to a
41
+ few repositories. You cannot introspect them reliably — treat every `403` /
42
+ `404` as a possible permission limit and say so rather than retrying.
43
+
44
+ **In OAuth mode (`$GH_TOKEN`)** the connection requests exactly five scopes:
45
+ `read:user`, `user:email`, `repo`, `read:org`, `gist`. Everything in the
46
+ Recipes below fits inside them. These do NOT fit, and will fail no matter
47
+ how you phrase the call:
30
48
 
31
49
  | Want to… | Needs scope | Verdict |
32
50
  |---|---|---|
@@ -41,7 +59,7 @@ Users pick scopes at install time and every box is optional, so even the
41
59
  five above may be partially granted. A `404` on something you know exists,
42
60
  or a `403`, usually means a missing scope — not a wrong URL. Say so plainly
43
61
  and point the user at `auth.acedata.cloud/user/connections` to reconnect
44
- with the box ticked.
62
+ with the box ticked (OAuth) or to paste a token with wider permissions (PAT).
45
63
 
46
64
  ## Two ways to call gh — prefer subcommands
47
65