SuperAPI AI Directory

bilibili-upload

Marketing & growth

View repository

Updated 10-15 21:13

About this skill

Bilibili Upload Skill

Prefer using sau as the primary interface.

Do not start by making the user find biliup themselves or manually download a release. The program will automatically check, automatically download, and automatically update at runtime biliup。

Feature Overview

Feature Command Entry Description
Login sau bilibili login --account <name> The user needs to execute this themselves in a real local terminal, used to generate or refresh login information
Verification sau bilibili check --account <name> Check whether the specified account is currently valid
Video Upload sau bilibili upload-video ... Upload one Bilibili video

Default Workflow

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

Command Selection Suggestions

  • If the user has no login information, first have the user execute it themselves in the local terminal login
  • If the user only wants to confirm account status, first use check
  • If the user wants to post a video, use upload-video

Pre-execution Checks

  • First confirm that the current environment can run sau
  • If sau is not in PATH, you can use the one in the repository sau_cli.py
  • Do not require the user to manually download biliup
  • When running a Bilibili command for the first time, the program may automatically connect to the internet to prepare biliup
  • For the agent, do not force-run in a non-interactive environment sau bilibili login
  • The correct approach is to have the user execute it themselves in the local terminal sau bilibili login --account <name>
  • If the QR code displayed in the terminal is incomplete, remind the user to directly open the one in the current directory qrcode.png to scan the code

Template Files

  • scripts/examples/bilibili_commands.ps1
  • scripts/examples/bilibili_commands.sh
  • scripts/examples/bilibili_cli_template.py

Reference Documentation

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