SkillsGrove
SkillsGrove/Vidéo courte et créateurs/leecyno1/newma-media-studio/bilibili-upload-bridge

bilibili-upload-bridge

Installation

$npx skills add https://github.com/leecyno1/newma-media-studio --skill bilibili-upload-bridge
$git clone --depth 1 https://github.com/leecyno1/newma-media-studio.git /tmp/newma-media-studio && mkdir -p ~/.claude/skills && cp -r /tmp/newma-media-studio/skills/bilibili-upload-bridge ~/.claude/skills/bilibili-upload-bridge
Installe pour moi cette Agent Skill : https://github.com/leecyno1/newma-media-studio/tree/1760eda6177fb7a2a566126c889c485e630c03b5/skills/bilibili-upload-bridge — lis d’abord son SKILL.md et ses scripts, et ne l’installe dans mon dossier de compétences qu’après avoir vérifié qu’elle est sûre.

Résumé

Description d’origine · MITUse when Newma Publish needs to prepare, upload, or package Bilibili video submissions from completed transwrite video channel packs.
Le SKILL.md ci-dessous est reproduit depuis leecyno1/newma-media-studio (commit 1760eda) sous licence MIT. Le texte est inchangé ; seules les métadonnées d’en-tête du fichier sont omises, les images sont affichées sous forme de liens et les fichiers très longs sont tronqués. Copyright 2026 Newma Media Studio. Licence : LICENSE. Seul le fichier d’instructions est affiché ; consultez le dépôt d’origine pour les éventuels scripts.

Bilibili Upload Bridge

Role

Bridge Newma Publish channel packs to B站 upload tools. Prefer biliup-rs; use the project-local, ignored social-auto-upload upstream as fallback. Both remain independently updateable and are not version-locked by the main repository.

Default roots:

${BILIUP_RS_ROOT:-${BILIUP_RS_ROOT:-vendor/reserved/publish/biliup-rs}}
${SOCIAL_AUTO_UPLOAD_ROOT:-${DASHENG_PROJECT_ROOT:-.}/vendor/publish/social-auto-upload}

Inputs

  • channel_pack.json for bilibili_video
  • Final MP4
  • Optional SRT/subtitle
  • Title, description, tags, cover

Workflow

  1. Check upstream registry:
    python3 scripts/check_publish_upstreams.py --name biliup-rs
    
  2. Validate final video exists.
  3. Build B站 submission package:
    • title
    • description
    • tags
    • cover
    • video path
    • subtitle path when present
    python3 scripts/build_video_upload_package.py --channel-pack <channel_pack.json>
    
  4. Prefer a dry-run or draft/upload preview when the external tool supports it.
  5. Ask for explicit confirmation before real submission.
  6. Write platform response, draft ID, URL, screenshot, or fallback reason back to the publish package.

Fallback

If biliup-rs is missing, broken, or cannot authenticate:

  1. Try social-auto-upload-bridge for Bilibili.
  2. If that fails, export an人工投稿包 and mark status manual_package.

Hard Rules

  1. B站 uploads are not considered published until a URL,稿件 ID, or platform response is recovered and verified.
  2. Do not store B站 cookies or account secrets inside this repo or skills/.
  3. Do not mark ready_for_execution if the MP4 is missing.
  4. If the account requires CAPTCHA/SMS/manual login, stop and request user action.

Upstream

Tracked in:

configs/publish/upstream_repos.json
Voir le texte intégral de la licence (MIT)
MIT License

Copyright (c) 2026 Newma Media Studio

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.