paper2reel
Skill3k starsChanged 5 months agoMITView on GitHub
Build an interactive HTML viewer that aligns paper2poster output with slide/video deck frames through a sidecar content_alignment.json, without modifying the original poster, PPTX, or blog deliverables.
1 other project uses a version of this, 1 of them edited.
Trending
Quiet since September.thin dataabout the whole repository
Most recently taken up by
- wookat/ai-research-skillsedited, first seen Jul 15, 2026
Who's talking about microsoft/ResearchStudio
- sudosubin/agents.nix“agent-skills.github.microsoft.researchstudio: init at 0-unstable-2026-09-21”GitHub · Sep 30, 2026
- zedong-peng/woma“Manage versioned Git multi-Skill packages”GitHub · Jul 26, 2026
- iHeadWater/dailyinfo“feat: 单篇论文精细精读工具 (Paper Deep-Read),补充 NotebookLM 播客的深度缺口”GitHub · Jul 9, 2026
The biggest 3 of 3 mentions linking to the repository that our crawl found. Each line is their own headline.
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- wookat/ai-research-skills★ 287% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- idea-qualitySkill
- idea-sparkSkill
- paper-searchSkill
- scoop-checkSkill
- paper2assetsSkill
- paper2blogSkill
- html2pptxSkill
- paper2posterSkill
- paper2videoSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. About 0 are common, 6 are distinctive, and 17 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
17
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 33
When reel.html first opens, it should show only the poster itself: no permanent wrapper bar, no tab strip, and no visible instructions …
- Very specific: line 47
Use a card's own alignment entry when present.
- Very specific: line 84
Do not build a reel from stale example files or old exports/ folders.
- Very specific: line 167
When paper2blog outlines are available, pass both language outlines and the figure directory.
- Very specific: line 172
When download directories are provided, the builder always writes assets/meta/reel_downloads.json with schema paper2reel.downloads.v1.
- Very specific: line 195
All archive is instead a self-contained offline Reel containing reel.html, content_alignment.json, the Reel runtime under assets/poster, …
- Very specific: line 207
When paper2video has produced timeline.json, use it as the source of truth for modal video clips, slide clips, and section timing.
- Distinctive: line 243
After building the base viewer and timeline-backed media, run the reel package checker.
- Very specific: line 288
If the checker fails, treat it as an agent repair task first: fix the viewer and rerun the gate.
- Very specific: line 305
Do not remove the assets/ folder or copy only the HTML file.
- Very specific: line 317
If required inputs are missing or the viewer cannot load a needed artifact, record an ERROR in the QA report/manifest and stop.
- Very specific: line 323
When the user invokes paper2reel with a PDF, arXiv/link input, or an incomplete v2 bundle, first inspect the shared bundle and decide which …
- Distinctive: line 332
Use the bootstrap helper for the inspection and for the deterministic final assembly:
- Very specific: line 341
If paper2assets is missing paper_spec.md, run the complete paper2assets skill.
- Very specific: line 344
If only manifest.json, assets/meta/sections.json, or assets/meta/narration.json is missing while paper_spec.md, text.txt, figures.json, and …
- Very specific: line 348
If paper2poster is missing, run the complete paper2poster skill, including the measured fill loop, render/export, html2pptx handoff, and …
- Very specific: line 351
If paper2blog is missing, run the complete bilingual paper2blog skill, including real EN/CN outlines, DOCX generation, figure embedding, …
- Very specific: line 354
If paper2video is missing, run the complete paper2video skill, including ppt-master, audio, timeline, captions, visual highlights, …
- Distinctive: line 357
When all upstream stages pass, let the helper assemble the reel:
- Distinctive: line 380
If the helper reports a blocked stage, stop and complete that named full skill stage.
- Very specific: line 386
Prefer explicit section ids from paper2assets:
- Distinctive: line 403
If automatic slide matching is weak, pass an override JSON:
- Distinctive: line 413
Use the override with:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
paper2reel - aligned artifact viewer
paper2reel builds a browsing layer over existing artifacts. It does
not replace or mutate paper2poster, ppt-master, paper2blog, or
paper2video outputs.
The key artifact is:
content_alignment.jsonIt maps the canonical section ids from paper2assets's assets/meta/sections.json to:
- poster DOM targets, usually
[data-section="<id>"]; - slide frame targets, usually one or more slide indexes;
- blog blocks rendered from the same paper2blog content used for final DOCX;
- video clips cut from the same final, Bottom-Bar-subtitled MP4 and timeline used for paper2video delivery.
This sidecar lets a wrapper UI switch between Poster / Slides / Blog and jump to the corresponding location without adding visible engineering tags to the deliverables themselves.
Viewer UX Contract
The user-facing viewer must preserve the original poster as the default screen.
When reel.html first opens, it should show only the poster itself:
no permanent wrapper bar, no tab strip, and no visible instructions outside the
poster. The wrapper controls are discoverable through keyboard shortcuts and
section interactions:
vtoggles the top section menu.htoggles keyboard shortcut help.atoggles the poster's existing audio controls.stoggles fullscreen.dtoggles the poster debug/hover controls.- double-clicking a poster section opens a large modal.
- clicking or double-clicking the poster title opens the full-paper modal.
Method focus cards keep their data-section="method-1"…"method-N" identities.
Use a card's own alignment entry when present; otherwise its hover/double-click
interaction opens the canonical method video, blog, and slides. Highlight the
actual clicked card, including under poster scaling and historical raster
overlays. Do not rename cards or invent subsection clips to make them clickable.
The modal must use the section-media layout: video with baked Bottom Bar subtitles on the left, blog on the right, EN/中文 switching, slide thumbnails below the video, and a draggable splitter. Do not replace this with a Poster / Slides / Video / Blog tabbed viewer. A tabbed viewer is a regression because it drops the section-level interaction contract.
Video seekability is part of the contract, not a hosting detail. The modal's
video progress bar and slide thumbnails must actually seek playback. Serve and
test reels with the Range-capable paper2reel server below; do not use
python -m http.server as a passing preview or QA environment because it may
answer MP4 Range requests with 200 OK instead of 206 Partial Content.
The viewer is intentionally template-locked. Treat
assets/section_modal_contract.json as the golden UI contract distilled from
the hand-tuned Attention reel: fixed section-modal template, hidden
topbar by default, v/h/a/s/d shortcuts, debug opacity slider, baked subtitle
playback, download menu, draggable splitter, slide thumbnails, EN/CN blog
panes, and timeline-backed section clips. Do not ask an agent to redesign this HTML. The
builder may only fill data into the fixed template and copy self-contained
assets.
Inputs And Outputs
For a full bundle, paper2reel must read the same v2 outputs that are delivered to the user:
<poster_outdir>/ # poster.html, poster.pdf/png/pptx, manifest.json, assets/
<blog_outdir>/ # blog_zh.docx, blog_en.docx, manifest.json, assets/
<video_outdir>/ # video*.mp4, manifest.json, assets/Do not build a reel from stale example files or old exports/ folders. The
viewer and all timeline-backed clips must use the final
<video_outdir>/video.mp4, whose subtitles are baked into the appended black
Bottom Bar. Do not attach the VTT sidecar in the Reel viewer; doing so would
duplicate text already present in every video frame.
Build the user-facing viewer directly in a v2 reel bundle:
<reel_outdir>/
reel.html
content_alignment.json
manifest.json
assets/
poster/
media/
slides/
blog/
meta/
reel_downloads.json
downloads/ # materialized mode onlyThis directory must be self-contained enough to serve locally: reel.html
and content_alignment.json sit at the bundle root; poster/video/slides/blog
assets sit under assets/. Do not copy only reel.html.
Poster + Slides Base Viewer
From the repo root:
python skills/paper2reel/scripts/build_poster_slides_view.py \
--poster-dir <poster_outdir> \
--slides-dir <slide_png_or_svg_dir> \
--script-json <optional_audio_script_json> \
--section-slide-map <optional_section_slide_map.json> \
--blog-outline-en <blog_outdir>/assets/meta/outline_en.json \
--blog-outline-zh <blog_outdir>/assets/meta/outline_zh.json \
--blog-figures-dir <blog_outdir>/assets/figures \
--download-poster-dir <poster_outdir> \
--download-blog-dir <blog_outdir> \
--download-video-dir <video_outdir> \
--download-mode materialized \
--outdir <reel_outdir>The script writes:
<viewer_outdir>/
reel.html
content_alignment.json
manifest.json
assets/
poster/
poster.html
assets/
figures/
fonts/
logos/
qr/
audio/
slides/
slide_01.png
...
blog/
figures/
...
meta/
reel_downloads.json
downloads/ # materialized mode only
all_final.zip
poster_final.zip
blog_final.zip
video_final.zipreel.html keeps the poster in an iframe so its own interactions
remain intact. The wrapper only observes section clicks and applies transient
highlighting. Slides are copied as image frames for stable scrolling and
highlighting.
When paper2blog outlines are available, pass both language outlines and the
figure directory. The builder will copy blog figures into blog/figures/ and
store section-level EN/CN blocks in content_alignment.json; the browser gate
requires those blocks.
When download directories are provided, the builder always writes
assets/meta/reel_downloads.json with schema
paper2reel.downloads.v1. Its archives object contains exactly all,
poster, video, and blog; every archive declares label, filename, and
deduplicated files entries with bundle-relative POSIX path, ZIP arcname,
and exact byte size.
Download delivery has two explicit modes:
materializedis the standalone default. It preservesassets/downloads/{all,poster,video,blog}_final.zipand fullfile://download behavior.on_demandwrites no persistent ZIP. It uses relative__download__/{all,poster,video,blog}links, whichserve_reel.pyresolves from the manifest and streams as temporary ZIP responses. Directfile://opening hides these online-only links.
Both modes exclude .claude/, nested download directories, backups, and
internal files. The Video archive contains video.pptx, video.mp4, optional
caption sidecars, and a root README.txt pointing editors to PPTX2Video.
Historical manifests without that README remain valid; download servers inject
the canonical note into video_final.zip without rewriting the old bundle.
New manifests mark all_package_version: paper2reel.all.v2; their
All archive is instead a self-contained offline Reel containing reel.html,
content_alignment.json, the Reel runtime under assets/poster,
assets/media, assets/slides, assets/blog, assets/ui, and assets/fonts,
plus the final Poster PDF/PPTX, Video MP4/PPTX, and EN/CN Blog DOCX files. It
does not duplicate the root poster.html or poster.png, and it excludes
build/cache trees and nested ZIPs. Historical manifests without
all_package_version retain the original deduplicated-union behavior and
remain downloadable. Use on_demand for Portal jobs and materialized for
standalone offline bundles unless the caller explicitly chooses otherwise.
Timeline-Backed Section Media
When paper2video has produced timeline.json, use it as the source of truth
for modal video clips, slide clips, and section timing. Do not cut
section videos from guessed MP4 timestamps. The section clips should be composed
from complete timeline slide clips and end with a short silent freeze tail, so
the modal does not stop mid-motion or mid-thought.
python skills/paper2reel/scripts/build_section_media_from_timeline.py \
--viewer-dir <reel_outdir> \
--timeline <video_outdir>/assets/meta/timeline.json \
--video <video_outdir>/video.mp4 \
--allow-burned-subtitle-video \
--section-tail-seconds 0.9This updates:
<viewer_outdir>/content_alignment.json
<viewer_outdir>/reel.html # inline ALIGNMENT refreshed when present
<viewer_outdir>/assets/media/video.mp4 # final playback copy with baked Bottom Bar
<viewer_outdir>/assets/media/clips/<section>.mp4
<viewer_outdir>/assets/media/slide_clips/slide-XX.mp4The deterministic Reel bootstrap passes --allow-burned-subtitle-video to
declare that the selected source is the final Bottom Bar render. In this mode
the builder records burned_bottom_bar for both video source and caption
delivery and does not expose a sidecar CC track.
timeline.json must already contain the explicit section mapping. If the deck
uses slide ids instead of canonical poster ids, build the timeline with
python -m pptx2video.build_timeline --section-map ... first.
Required Hard Gate
After building the base viewer and timeline-backed media, run the reel package checker. This is a required gate, not an optional smoke test:
python skills/paper2reel/scripts/check_reel_package.py \
<reel_outdir> \
--browser \
--file-browser \
--screenshot <reel_outdir>/assets/meta/previews/reel_browser_gate.png \
--report <reel_outdir>/assets/meta/reports/reel_qa_report.jsonThe checker must pass before marking paper2reel complete. It validates
that the delivered viewer is the section-modal UI, not the stale tabbed viewer,
and confirms in a real browser that default poster-only view, shortcuts,
double-click section modal, baked-subtitle video clip, slide thumbnails, and
blog text work. It also verifies MP4 byte-range support and exercises real
video seeking: clicking a later slide thumbnail must move sectionVideo to the
thumbnail timestamp, and direct progress-bar style seeking must succeed for
both full-video and section-clip playback.
The same final reel.html must also support direct local opening with
file:// or a double-click. In direct-open mode the viewer embeds the copied
poster HTML through iframe.srcdoc, sets the poster base URL to
assets/poster/, localizes poster render resources such as MathJax under
assets/poster/, and preserves the baked Bottom Bar while the section modal,
poster hover, shortcuts, blog pane, slide-thumbnail seeking, and direct video
seeking remain usable without starting a server. This is a user-facing feature
parity path, not an HTTP protocol replacement: file:// has no HTTP 206 Range
headers, so --browser remains required for Range/seek validation and
--file-browser separately validates the direct-open runtime.
The checker reads assets/section_modal_contract.json. Missing any required
golden-contract feature is a blocking ERROR: shortcut handlers, debug slider,
paper2poster's native debug bbox/size overlay, the golden download pill with
icon and All | Poster | Video | Blog links, section-rail hover styling,
section clips with baked Bottom Bar subtitles, absence of duplicate sidecar
tracks, blog images, or the fixed template/version markers.
Download QA follows the manifest's explicit delivery field. In
materialized mode it validates the four ZIPs using the existing archive
boundaries. In on_demand mode it rejects persisted ZIPs, validates every
manifest path, classification, source file, and byte size, checks the
deduplicated All union, and probes each dynamic endpoint with HTTP HEAD.
If the checker fails, treat it as an agent repair task first: fix the viewer and
rerun the gate. Do not mark the stage PASS and do not ask the user to catch it
by visually inspecting the page.
For human preview, start the same Range-capable server used by the browser gate:
python skills/paper2reel/scripts/serve_reel.py <reel_outdir> --port 8900Open http://127.0.0.1:8900/reel.html. The preview is not considered faithful
unless video requests return 206 Partial Content for Range requests.
For on_demand bundles this server also implements
/__download__/{all,poster,video,blog} and creates each ZIP only for the
request; it does not write archives into the bundle.
For quick local sharing, users may also double-click <reel_outdir>/reel.html.
Do not remove the assets/ folder or copy only the HTML file; direct-open mode
still depends on the v2 bundle folder structure.
Output Manifest
<reel_outdir>/manifest.json must include "layout": "v2-assets" and
root-relative paths for reel.html, content_alignment.json,
assets/poster/, assets/media/, assets/slides/, assets/blog/, and
assets/meta/reel_downloads.json. Materialized bundles also index
assets/downloads/. Keep QA screenshots and reports under
assets/meta/previews/ and assets/meta/reports/.
If required inputs are missing or the viewer cannot load a needed artifact,
record an ERROR in the QA report/manifest and stop. Do not silently build a
partial viewer that hides missing poster, video, slides, or blog content.
Bootstrap From PDF Or Incomplete Bundle
When the user invokes paper2reel with a PDF, arXiv/link input, or an
incomplete v2 bundle, first inspect the shared bundle and decide which upstream
stages are already complete. Missing stages must be completed by their full
skills before the reel is assembled:
paper2assets -> paper2poster -> paper2blog -> paper2video -> paper2reelUse the bootstrap helper for the inspection and for the deterministic final assembly:
python skills/paper2reel/scripts/build_reel_from_paper.py <paper.pdf-or-bundle> --dry-runThen follow its stage report:
- If
paper2assetsis missingpaper_spec.md, run the completepaper2assetsskill. Do not treatextract_pdf.pyoutput alone as a paper2assets package, because Step 4 is model-driven. - If only
manifest.json,assets/meta/sections.json, orassets/meta/narration.jsonis missing whilepaper_spec.md,text.txt,figures.json, andmetadata.jsonalready exist, the helper may refresh those deterministic package files with--run-missing. - If
paper2posteris missing, run the completepaper2posterskill, including the measured fill loop, render/export, html2pptx handoff, and deliverable gate. - If
paper2blogis missing, run the complete bilingualpaper2blogskill, including real EN/CN outlines, DOCX generation, figure embedding, and the blog QA gate. - If
paper2videois missing, run the completepaper2videoskill, including ppt-master, audio, timeline, captions, visual highlights,video.mp4,video_no_subtitles.mp4,video.pptx, and the video QA gate. When all upstream stages pass, let the helper assemble the reel:
python skills/paper2reel/scripts/build_reel_from_paper.py \ <paper.pdf-or-bundle> \ --run-missing \ --download-mode materializedPortal callers must pass
--download-mode on_demand. After the staged Reel is synchronized into the final shared bundle, the helper rebuilds the manifest against that final bundle and removes any historicalassets/downloads/directory.
The helper builds the viewer in a temporary staging directory and then copies
only the reel deliverables back into the v2 bundle. This avoids the
build_poster_slides_view.py --outdir clean step from deleting existing
poster, blog, video, or paper2assets outputs. It preserves the v2 contract:
reel.html and content_alignment.json at the bundle root, with reel support
assets under assets/poster/, assets/media/, assets/slides/,
assets/blog/, plus assets/meta/reel_downloads.json; only materialized mode
adds assets/downloads/.
If the helper reports a blocked stage, stop and complete that named full skill stage. Do not write a simplified poster, video, blog outline, slide image, or HTML page to make the reel checker pass.
Alignment Rules
Prefer explicit section ids from paper2assets:
titleproblemmotivationcontributionmethoddataset-benchmarkkey-resultablation-studyheadline-numberstakeaway- paper-specific custom ids such as
failure-modes-limitations
For slides, pass a script.json when available. The script's sections[*].id
and order provide slide identity without embedding metadata in the PPTX.
If automatic slide matching is weak, pass an override JSON:
{
"method": [4, 5],
"key-result": [7, 9],
"takeaway": [10]
}Use the override with:
python skills/paper2reel/scripts/build_poster_slides_view.py \
--poster-dir <paper2poster_outdir> \
--slides-dir <slide_png_or_svg_dir> \
--script-json <script.json> \
--section-slide-map <map.json> \
--outdir <viewer_outdir>Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

