Logo: Paper To Bilibili

Paper To Bilibili

Communautéit
yhbcode000
paper-to-bilibili

Orchestrate a paper PDF through MinerU, SUSTech Beamer slides, complete Chinese narration, landscape and portrait video, metadata gates, and Bilibili upload. Supports single-paper and batch slides, video, or bilibili phases. Trigger on full paper-to-Bilibili requests, PDF-to-video publication, and batch paper publishing.

Iwwersiicht

Editeuryhbcode000
Repositorypaper-share-skills
Skill-Nummpaper-to-bilibili
Stären
52
Forks
5
Matgeliwwert Dateien
4
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 4 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    yhbcode000 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Paper To Bilibili an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/yhbcode000/paper-share-skills/tree/main/paper-to-bilibili
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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-to-bilibili .claude/skills/paper-to-bilibili
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Paper To Bilibili an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Paper To Bilibili automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Paper To Bilibili net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Paper to Bilibili

This is the sole full-pipeline orchestration identity. It composes these promoted packages plus the retained managed Rednote workflow:

  • paper-to-beamer: paper and MinerU content to compiled 16:10 SUSTech Beamer slides.
  • paper-video-cover: optional poster generation for reference; the normal video cover remains the generated cover artifact.
  • paper-slides-to-video: physical-page render, narration extraction, TTS, landscape assembly, cover, and Bilibili metadata.
  • rednote-video-uploader (managed): required portrait video generation.
  • paper-bilibili-uploader: fail-closed validation, dry-run, upload, and durable receipt.

Outputs use $PP_ROOT/论文分享/<VENUE YEAR - SHORT>/ with md_output/, slides-beamer/, and video/.

Modes and phases

slides: paper to compiled slides

When an entry has a nonempty arxiv_id (or the user provided an arXiv link) and no source exists on disk (no root PDF, no paper_src/ with .tex), download the TeX source first:

bash
python \
  "<SKILLS_DIR>/paper-download-arxiv-paper-source/scripts/download_source.py" \
  "<arxiv_id>" --output "<paper_dir>"

The downloader creates <paper_dir>/arXiv-<id>.tar.gz + <paper_dir>/paper_src/; then follow skill://paper-to-beamer Phase 1 onward (Phase 1's move step is skipped since the paper dir already exists). For PDF_ONLY output, copy the PDF to the paper dir root (the pdf_downloaded gate requires a root PDF).

Follow skill://paper-to-beamer for content authoring. Required gates before continuing:

  1. slides-beamer/main.tex contains the paper-specific narrative from paper information and motivation through methods, experiments, limitations, takeaways, references, Q&A, and 3–8 useful appendix slides.
  2. The document uses the SUSTech 16:10 template (aspectratio=1610).
  3. slides-beamer/main.pdf is nonempty, with no undefined controls or severe overflow.

The batch CLI only scans and persists disk evidence for this agent-authored phase; it does not fabricate slides.

Narration authoring gate

Copy the compiled TeX to video/main_with_narration.tex and add exactly one nonempty % NARRATION: entry per physical PDF page. Narration is polished Simplified Chinese with English technical terms inline. It expands the technical argument rather than reading bullets, avoids visual-only references such as “本页” or “如图所示”, and covers appendix pages too.

The transition from slides_done to narrations_done occurs only when both the compiled slides and nonempty annotated TeX exist.

video: narrated landscape and portrait artifacts

bash
python <SKILLS_DIR>/paper-to-bilibili/scripts/batch.py video "<PAPERS_JSON>"

For each narrations_done paper, the orchestrator calls the sibling paper-slides-to-video full command. After child success it rescans and atomically persists video_done. It then calls the managed rednote-video-uploader/scripts/portrait_video.py, rescans, validates cover and Bilibili metadata, and atomically persists upload_ready. Child failures propagate and never advance state.

Quality gates are exact frame/text/MP3 cardinality, nonempty narration and audio for every physical page, a nonempty landscape MP4, a nonempty portrait MP4, a nonempty cover, and schema-valid Bilibili metadata.

bilibili: validate or upload

Always review a dry-run first:

bash
python <SKILLS_DIR>/paper-to-bilibili/scripts/batch.py bilibili "<PAPERS_JSON>" --dry-run

Dry-run delegates to the promoted uploader and must leave upload_ready unchanged. Remove --dry-run only after review. There is no default upload timeout; an operator may opt in with --upload-timeout SECONDS.

Normal uploads require P1 landscape then P2 portrait. Metadata uses singular tag, a positive tid, valid copyright/source fields, a structured description, and a nonempty cover. A paper becomes uploaded only when video/upload_result.json is valid and contains a matching BV URL plus ISO-8601 timestamp.

State contract

batch.py rescans the disk with this exact precedence:

  1. valid upload_result.json → uploaded
  2. nonempty landscape + nonempty portrait + cover + schema-valid video_meta.json → upload_ready
  3. nonempty landscape → video_done
  4. compiled slides + nonempty annotated TeX → narrations_done
  5. compiled slides → slides_done
  6. MinerU Markdown → mineru_done
  7. source PDF or extracted TeX source (paper_src/ containing .tex) → pdf_downloaded
  8. otherwise → pending

Every successful child command is followed by a rescan and atomic replacement of the input JSON. State changes are printed as STATE <paper>: <old> -> <new>. Dry-run validates and delegates but never invents a new state. A failed child preserves the last grounded state and its exit code is propagated.

Batch input

papers.json is an array of objects with a nonempty absolute dir_path; dir_name, arxiv_id, pdf_path, and descriptive fields may accompany it. The orchestrator records _status in each object.

Prerequisites

  • Python 3.10+ (if python is not on PATH, use py -3).
  • Dependencies are declared in pyproject.toml (currently none at runtime); install the project with uv sync --project <SKILLS_DIR>/paper-to-bilibili when adding any.
  • <SKILLS_DIR> is the directory containing the installed skill folders (e.g. ~/.claude/skills, ~/.codex/skills, .omp/skills); sibling skills (paper-slides-to-video, paper-bilibili-uploader, paper-download-arxiv-paper-source) must be installed next to this one so sibling resolution stays project-local and deterministic.
  • PAPER_PYTHON (optional): interpreter used to launch sibling CLIs; defaults to the interpreter running batch.py.

Related skills

  • skill://paper-bilibili-uploader
  • skill://paper-download-arxiv-paper-source
  • skill://paper-slides-to-video
  • skill://paper-to-beamer
  • skill://paper-video-cover
  • skill://rednote-video-uploader

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Paper To Bilibili?

Orchestrate a paper PDF through MinerU, SUSTech Beamer slides, complete Chinese narration, landscape and portrait video, metadata gates, and Bilibili upload. Supports single-paper and batch slides, video, or bilibili phases. Trigger on full paper-to-Bilibili requests, PDF-to-video publication, and batch paper publishing.

Firwat Paper To Bilibili op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Paper To Bilibili besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Paper To Bilibili an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/yhbcode000/paper-share-skills/tree/main/paper-to-bilibili an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Paper To Bilibili benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Paper To Bilibili benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Paper To Bilibili domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Paper To Bilibili gratis?

Jo. yhbcode000 huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇