kuaishoulisted
Install: claude install-skill AceDataCloud/Skills
All calls go through `scripts/kuaishou.py` (stdlib-only). The user's OAuth token
arrives as `$KUAISHOU_TOKEN` and the app id as `$KUAISHOU_APP_ID` (injected from
the connector's `metadata.platform_env`); the script reads both and fails fast
with a clear message if either is missing — never print either.
Resolve the script first (`$SKILL_DIR` may point at a different skill loaded the
same turn), and repeat this preamble in every Bash block:
```bash
KS="$SKILL_DIR/scripts/kuaishou.py"; [ -f "$KS" ] || KS=$(find /tmp -maxdepth 8 -path '*/skills/*/scripts/kuaishou.py' 2>/dev/null | head -1)
[ -f "$KS" ] || { echo "kuaishou script not found (SKILL_DIR=$SKILL_DIR)" >&2; exit 1; }
```
## Read
```bash
python3 "$KS" whoami # nickname, avatar, fans, follows, city
python3 "$KS" works --limit 20 # works + play/like/comment counts
python3 "$KS" works --limit 20 --cursor <photo_id> # next page
python3 "$KS" work <photo-id> # one work
python3 "$KS" counts # public / friend / private / total
```
## Publish a video
**This posts publicly to the user's real account — there is no draft mode.**
Before publishing, confirm with the user in chat:
1. the caption (required by 快手), and
2. that the video is **their own original work** — 快手 bans accounts that
publish non-original video, and the ban lands on *the user's* account.
Without a trailing `--confirm` the command only dry-runs and publishes nothing.
`--confirm` must be the **last** arg