SkillsGrove
SkillsGrove/ショート動画・クリエイター/leecyno1/newma-media-studio/bilibili-upload-bridge

bilibili-upload-bridge

インストール

$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
この Agent Skill をインストールしてください:https://github.com/leecyno1/newma-media-studio/tree/1760eda6177fb7a2a566126c889c485e630c03b5/skills/bilibili-upload-bridge — まず SKILL.md とスクリプトを読み、安全であることを確認してから、私のスキルフォルダにインストールしてください。

概要

原文の説明 · MITUse when Newma Publish needs to prepare, upload, or package Bilibili video submissions from completed transwrite video channel packs.
以下の SKILL.md は leecyno1/newma-media-studio(コミット 1760eda)から MIT ライセンスに基づいて転載しています。本文は変更しておらず、ファイル先頭のメタデータのみ省略し、画像はリンクとして表示し、非常に長いファイルは途中までの表示としています。Copyright 2026 Newma Media Studio。ライセンス:LICENSE。表示しているのは指示ファイルのみです。スクリプト等は元のリポジトリをご覧ください。

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
ライセンス全文を見る(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.