Paper Bilibili Uploader logo

Paper Bilibili Uploader

Community
yhbcode000
paper-bilibili-uploader

Validate and upload narrated paper videos to Bilibili with biliup. Handles required landscape-first/portrait-second submissions, series uploads, CST scheduling, diagnostics, dry-run validation, and durable upload receipts. Trigger on: "upload to bilibili", "bilibili upload", "发布到B站", "上传到B站".

Overview

Publisheryhbcode000
Repositorypaper-share-skills
Skill namepaper-bilibili-uploader
Stars
52
Forks
5
Bundled files
3
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by yhbcode000 on GitHub. Read the source before you install it.

Installation

Install the Paper Bilibili Uploader AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/yhbcode000/paper-share-skills/tree/main/paper-bilibili-uploader
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/yhbcode000/paper-share-skills.git /tmp/paper-share-skills
mkdir -p .claude/skills
cp -r /tmp/paper-share-skills/paper-bilibili-uploader .claude/skills/paper-bilibili-uploader
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Paper Bilibili Uploader in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Paper Bilibili Uploader on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Paper Bilibili Uploader is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Paper Bilibili Uploader

Use the final packaged CLI:

bash
python <SKILLS_DIR>/paper-bilibili-uploader/scripts/upload.py "<PAPER_DIR>" --dry-run

(The script depends on biliup, psutil, and requests — see pyproject.toml in the skill dir; run uv sync there or install them in the active interpreter if imports fail.)

Remove --dry-run only after reviewing the resolved parts, metadata, cover, and publication time.

Required normal-mode layout

text
<PAPER_DIR>/video/
  *_narrated.mp4
  *_portrait_narrated.mp4
  cover.png
  video_meta.json

Both MP4s must be nonempty. The CLI deterministically sends every landscape video before every portrait video: P1 landscape, then P2 portrait. A missing or empty landscape, portrait, cover, or metadata file fails closed.

Cover policy (poster ARTIFACT required; FIRST-SLIDE cover uploads)

实验室调研 (课题组) dirs — detected by a poster_data.json in the paper root — still REQUIRE the paper-video-cover POSTER artifact: <PAPER_DIR>/poster/poster.png must exist (missing it fails the upload closed with a generation hint). The UPLOAD COVER, however, defaults to the deck's FIRST SLIDE: explicit cover_path in video_meta.json wins, otherwise video/cover.png (rendered by the video pipeline from the title page) is used — the poster is NOT copied over the first-slide cover. ALL OTHER papers (论文分享 etc.) keep the plain cover contract — explicit cover_path → video/cover.png — and a poster/poster.png in the dir is IGNORED. Series mode (--series) skips the lab/poster check entirely.

If a lab video was already uploaded with the wrong cover, fix it WITHOUT re-uploading: upload.py --edit --vid <BV> --cover <video/cover.png> — the member cover endpoint uploads the image and the edit submits the URL verbatim (stripping the scheme makes the edit fail with 封面必须由页面进行上传,不支持外部链接). The video stays in review briefly after upload; the edit succeeds once unlocked (state 0), otherwise poll and retry.

Generate the portrait artifact with the retained managed workflow at ~/.omp/agent/managed-skills/rednote-video-uploader/scripts/portrait_video.py (adjust to your agent's managed-skills directory).

Metadata contract

video/video_meta.json must use Bilibili's singular tag key:

json
{"title":"【Venue Year】Paper — 中文亮点","tag":["论文分享","机器人"],"tid":231,"copyright":1,"desc":"【论文信息】...","cover_path":"cover.png"}

Validation requires a nonempty string title; a nonempty list of nonempty strings in tag; a positive integer tid; copyright exactly 1 or 2; and a nonempty source when copyright is 2. cover_path must resolve to a nonempty file. Do not rename tag to tags; tags belongs to Rednote metadata.

Dry-run boundary

--dry-run performs input resolution, P1/P2 ordering, metadata patching, publication scheduling, validation, and complete command construction. It returns before any biliup subprocess can start and never writes an upload receipt.

CST scheduling

  • 00:00–22:59 publishes immediately unless metadata or --dtime supplies a delayed time.
  • 23:00–23:59 schedules 07:00 the next day when no delayed time is already supplied.
  • Explicit --dtime always wins; it accepts YYYY-MM-DD HH:MM in CST or a ten-digit Unix timestamp.

Upload receipt

A real upload succeeds only when biliup exits zero and returns a BV identifier. The CLI writes video/upload_result.json exactly with status, bv, url, and ISO-8601 uploaded_at fields. A zero exit without a BV identifier fails and writes no receipt.

Series mode

Place ordered P1–PN landscapes, cover.png, and video_meta.json in <PAPER_DIR>/bilibili-series/video/, then add --series. Series mode preserves filename order and intentionally does not require a portrait part.

Login and diagnostics

Use the same CLI with --login, --diagnose, or --kill-all. Cookies live at %USERPROFILE%/.bilibili/cookies.json. Diagnostics use psutil process/open-file inspection, do not depend on WMIC or fsutil, and tolerate an unset LOCALAPPDATA.

Related skills

  • skill://paper-video-cover
  • skill://rednote-video-uploader
  • skill://awesome-embodied-batch-pipeline
  • skill://bilibili-edit-while-in-review
  • skill://blog-to-bilibili
  • skill://lab-survey-to-bilibili-runbook

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Paper Bilibili Uploader AI skill do?

Validate and upload narrated paper videos to Bilibili with biliup. Handles required landscape-first/portrait-second submissions, series uploads, CST scheduling, diagnostics, dry-run validation, and durable upload receipts. Trigger on: "upload to bilibili", "bilibili upload", "发布到B站", "上传到B站".

Why use Paper Bilibili Uploader on TypingMind?

Because you install it once and use it with any model. Paper Bilibili Uploader is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Paper Bilibili Uploader in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/yhbcode000/paper-share-skills/tree/main/paper-bilibili-uploader. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Paper Bilibili Uploader?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Paper Bilibili Uploader?

As many as you like. As long as a model supports skills, you can use Paper Bilibili Uploader with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Paper Bilibili Uploader AI skill free?

Yes. It is published on GitHub by yhbcode000 under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇