kuaishou
Installation
SKILL.md
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:
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; }