SuperAPI AI Directory

kuaishou-upload

Marketing & growth

View repository

Updated 10-15 21:13

About this skill

Kuaishou Upload Skill

Prefer using sau as the primary interface.

Do not assume that the current environment can definitely read the repository source code. Do not read uploader/at the start. Only fall back to the troubleshooting instructions when the command is unavailable or CLI execution fails.

Feature Overview

Feature Command entry Description
Kuaishou login sau kuaishou login --account <name> Generate or refresh the cookie for the specified account
Cookie validation sau kuaishou check --account <name> Check whether the specified account cookie is valid
Video upload sau kuaishou upload-video ... Upload and publish a Kuaishou video
Image-text upload sau kuaishou upload-note ... Upload and publish Kuaishou image-text content

Metadata conventions:

  • Use title + desc + tags
  • for videos. Use title + note + tags

Default Workflow

  1. First confirm the runtime prerequisites in references/runtime-requirements.md .
  2. Then confirm the command contract in references/cli-contract.md .
  3. Execute the matching sau kuaishou ... command.
  4. If the command fails, then check references/troubleshooting.md。

Supported Actions

  • Use sau kuaishou login --account <name> to log in to Kuaishou
  • Use sau kuaishou check --account <name> to validate whether the cookie is valid
  • Use sau kuaishou upload-video ... to upload a Kuaishou video
  • Use sau kuaishou upload-note ... to upload Kuaishou image-text content

Command Selection Recommendations

  • When the user needs a new cookie, or the existing cookie has expired, use login
  • When the user only needs to confirm the cookie status, use check
  • When the user wants to publish a video, use upload-video
  • When the user wants to publish image-text content, use upload-note

Pre-execution Checks

  • First confirm whether sau
  • can be invoked in the current shell. If sau is unavailable, handle it according to the fallback method in references/runtime-requirements.md .
  • When the user explicitly specifies headless or headed mode, explicitly pass --headless or --headed
  • Use --schedule
  • If the login flow generates a local QR code image, do not only tell the user the image path
  • The QR code image itself is for the user to scan, so prioritize directly displaying/sending the local image to the user

Template Files

When you need stable command templates, use the files under scripts/examples/ :

  • kuaishou_commands.ps1
  • kuaishou_commands.sh
  • kuaishou_cli_template.py

Reference Documents

  • Runtime prerequisites:references/runtime-requirements.md
  • CLI contract:references/cli-contract.md
  • Troubleshooting:references/troubleshooting.md