@acedatacloud/skills 2026.705.2 → 2026.705.3

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.705.2",
3
+ "version": "2026.705.3",
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",
@@ -34,16 +34,20 @@ The connector injects the cookie jar as an env var:
34
34
  The skill ships [`scripts/medium.py`](scripts/medium.py) — self-contained, stdlib only.
35
35
 
36
36
  ```sh
37
- MED=$SKILL_DIR/scripts/medium.py
38
- python3 $MED whoami # who is logged in
39
- python3 $MED articles --limit 20 # my posts + clap/response stats
40
- python3 $MED article <post-id> # one post's details
37
+ # $SKILL_DIR can point at another skill loaded this turn — anchor on our own
38
+ # script, and re-run this at the top of every Bash block (fresh shell each time).
39
+ MED="$SKILL_DIR/scripts/medium.py"; [ -f "$MED" ] || MED=$(find /tmp -maxdepth 8 -path '*/skills/*/scripts/medium.py' 2>/dev/null | head -1)
40
+ [ -f "$MED" ] || { echo "medium script not found (SKILL_DIR=$SKILL_DIR)" >&2; exit 1; }
41
+ python3 "$MED" whoami # who is logged in
42
+ python3 "$MED" articles --limit 20 # my posts + clap/response stats
43
+ python3 "$MED" article <post-id> # one post's details
41
44
  ```
42
45
 
43
46
  ## Verify the connection first
44
47
 
45
48
  ```sh
46
- python3 $MED whoami
49
+ MED="$SKILL_DIR/scripts/medium.py"; [ -f "$MED" ] || MED=$(find /tmp -maxdepth 8 -path '*/skills/*/scripts/medium.py' 2>/dev/null | head -1)
50
+ python3 "$MED" whoami
47
51
  # → {"user_id": "...", "name": "...", "username": "..."}
48
52
  ```
49
53
 
@@ -62,9 +66,10 @@ Without a trailing `--confirm` it dry-runs. `--confirm` is honored **only as the
62
66
  last argument**. Always show the dry-run, get an explicit "yes", then re-run.
63
67
 
64
68
  ```sh
65
- python3 $MED publish --title "Title" --content-file a.md # dry-run
66
- python3 $MED publish --title "Title" --content-file a.md --draft-only --confirm # private draft
67
- python3 $MED publish --title "Title" --content-file a.md --confirm # PUBLIC story
69
+ MED="$SKILL_DIR/scripts/medium.py"; [ -f "$MED" ] || MED=$(find /tmp -maxdepth 8 -path '*/skills/*/scripts/medium.py' 2>/dev/null | head -1)
70
+ python3 "$MED" publish --title "Title" --content-file a.md # dry-run
71
+ python3 "$MED" publish --title "Title" --content-file a.md --draft-only --confirm # private draft
72
+ python3 "$MED" publish --title "Title" --content-file a.md --confirm # PUBLIC story
68
73
  ```
69
74
 
70
75
  Publishing is Medium's multi-step editor flow (new-story → write deltas →