Nature Paper2ppt
jing1312/nature-figure-skill
Build a complete but efficient Nature-style Chinese PPTX presentation from a scientific paper, preprint, PDF, article text, abstract, figure legends, or reading notes.
Use EasySlides to create, distill, edit, review, and export editable academic PPTX presentations, including 蒸馏PPT、提取模板、复用模板和答辩PPT。
$ npx skills add Rimagination/easyslides --skill easyslides -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Rimagination/easyslides easyslides --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
Claude Code skills documentation · loads skills from .claude/skills/
Install the "easyslides" agent skill from https://github.com/Rimagination/easyslides/tree/main into .claude/skills/easyslides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "easyslides", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Rimagination/easyslides --skill easyslides -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Rimagination/easyslides easyslides --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "easyslides" agent skill from https://github.com/Rimagination/easyslides/tree/main into .agents/skills/easyslides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "easyslides", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Rimagination/easyslides --skill easyslides -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Rimagination/easyslides easyslides --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "easyslides" agent skill from https://github.com/Rimagination/easyslides/tree/main into .cursor/skills/easyslides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "easyslides", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Rimagination/easyslides --skill easyslides -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Rimagination/easyslides easyslides --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "easyslides" agent skill from https://github.com/Rimagination/easyslides/tree/main into .gemini/skills/easyslides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "easyslides", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Rimagination/easyslides easyslidesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Rimagination/easyslides --skill easyslides -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "easyslides" agent skill from https://github.com/Rimagination/easyslides/tree/main into .github/skills/easyslides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "easyslides", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Rimagination/easyslides --skill easyslides -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Rimagination/easyslides easyslides --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "easyslides" agent skill from https://github.com/Rimagination/easyslides/tree/main into .opencode/skills/easyslides/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "easyslides", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
easyslidesUse EasySlides to create, distill, edit, review, and export editable academic PPTX presentations, including 蒸馏PPT、提取模板、复用模板和答辩PPT。
Easyslides is an agent skill from Rimagination/easyslides. Use EasySlides to create, distill, edit, review, and export editable academic PPTX presentations, including 蒸馏PPT、提取模板、复用模板和答辩PPT。 Integrates SVG-to-DrawingML pipeline, XML editing, and academic design templates. Use when user asks to "create academic PPT", "make presentation", "生成PPT", "做PPT", "制作演示文稿", "thesis defense", "学术报告", "开题报告", or mentions "pptx".
Its SKILL.md is about 12k tokens, which your agent loads only when the skill is triggered. The skill folder holds 14450 other files, including scripts, reference files and assets (for example `.codex-plugin/plugin.json`, `.github/workflows/publish-site.yml` and `.zcode-plugin/plugin.json`).
It sits in Documents & Office, covering PowerPoint presentations, Slides and decks and Essays and academic help. It works with Microsoft PowerPoint. The licence is MIT.
11 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit fe4882b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/, which the agent can run.
Shell commands in SKILL.md call:
pythonpipFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
mineru.netFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
MINERU_API_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Easyslides loads about 12k tokens when it runs, and up to ~24.9M if it reads all its reference files. Until then it costs about 93 tokens; SKILL.md has 5,214 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from Rimagination/easyslides at commit fe4882b, republished under its MIT licence (© Rimagination). 5,214 words, ~12,090 tokens.
.claude/skills/easyslides/SKILL.md (or your agent's skills folder). This skill also uses 14445 other files; get the full folder from GitHub.Generate and edit academic/research PPTX presentations with native editable DrawingML shapes.
EasySlides is a project-backed skill. This file is the agent entrypoint and
task router; real deck generation depends on the full repository: scripts/,
workflows/, templates/, references/, tests, and local runtime
dependencies. Installing only SKILL.md is enough for routing guidance, but
not enough to generate or validate PPTX files.
Read ARCHITECTURE.md for the layer model and capability paths. Read
INSTALL.md for minimal skill, full local runtime, and developer installation
modes.
Default onboarding is a conversation, not a browser workflow. Ask targeted
native popup questions, one consequential question at a time, adapting to each
answer until the brief is executable. Skip known facts; resolve conflicting
requirements; then summarize and proceed. Follow skills/easyslides-clarify/SKILL.md.
Open HTML guides or browser confirmation pages only when explicitly requested.
Before choosing an implementation path, read workflows/routing.md. It owns
deterministic route selection for main generation, raw PPTX template fill,
native PPTX enhancement, reusable template creation, slide-image
reconstruction, audio, preview, and chart verification. The workflow registry is
workflows/index.md.
Before selecting a route, invoke the clarification gate in
skills/easyslides-clarify/SKILL.md. If the request leaves more than one
reasonable interpretation that would affect the route, story, page count,
template, visible wording, or visual fidelity, ask the user to choose from
explicit options. Do not write a deck plan or generate slide files while a
blocking choice remains unanswered.
For every new or regenerated PPT, an unspecified production scheme is a blocking
choice even when the topic, template and content are otherwise clear. MUST ask
the user to choose and wait before planning slides or generating images/SVG/PPTX.
Follow workflows/clarification-gate.md for the exact three options and examples.
No automatic default. Reuse only the user's explicit choice for the same task.
In both choice rounds, MUST show Token 消耗 and 耗时 levels for every option before the user chooses. Explain that levels are relative estimates adjusted for scope and complexity, not exact usage or promised time; disclose image generation separately. Follow the cost and time disclosure in the clarification workflow.
For image reconstruction, confirm 全图矢量重建 (full_vector) or 保留复杂配图
(preserve_complex_images) through workflows/clarification-gate.md before
execution. No automatic default, even for “快点做”; reuse only an explicit choice
in the same task. Both modes require native PPT text boxes. Preserve one source
line in one text box, merging OCR fragments and using text runs for mixed styling;
keep independent labels and table cells separate. Full-vector mode needs approval
before any raster exception. Partial rebuilds apply this within selected regions.
Read the lightweight registry metadata first; load only the user's selected reference PNG. Do not preload the whole image library or batch-OCR templates. Use compressed previews for browsing. The installed library shares the project directory via a local junction; do not duplicate assets when syncing the plugin.
For the image-based schemes, select visual references from
templates/image_references/registry.json or user-supplied images, independently
of the native editable template library. Follow the image-reference routing in
workflows/routing.md; reference PPT-to-contact-sheet work does not distill a
native template or generate a new deck.
Use “垂听” instead of “聆听” in assistant-authored Chinese PPT text by default. For example, write “感谢垂听,敬请讨论”. This user wording preference applies to all three production schemes, including slide copy, imagegen prompts, SVG/native text, speaker notes and final wording checks. It is a user preference, not a claim about universal language usage. A later explicit user instruction can override it; do not rewrite verbatim source quotations or archived files.
academic_general, academic_scqa, defense_leftnav, defense_topnav, literature_minimal, nsfc_defense, and thu_speech; templates/template_policy.json is authoritative.lucide preferred for new generic icons and emoji replacementscripts/ppt_master_pipeline.pyworkflows/template-fill-pptx.md instead of the SVG pipeline.workflows/native-enhance-pptx.md for notes/audio/timing/transition patches without visible-slide regeneration.scripts/confirm_ui.py before visual execution when the user wants a reviewable confirmation page.scripts/visual_review.py to produce a review manifest, local HTML page, and contact sheet.scripts/create_brand.py under templates/brands/.EasySlides has one production backend: normalized SVG/shape IR converted to
editable DrawingML/PPTX by the local scripts/svg_to_pptx/ pipeline. Multiple
authoring frontends may feed that backend, but do not introduce a second
production PPTX backend unless a dedicated spike proves better editable output,
Office compatibility, and lower maintenance cost.
When no template PPTX exists, use the SVG-to-DrawingML pipeline:
Source Content → Project Init → Strategist (Deck Plan + Design Spec) → SVG Generation → Quality Check → Export PPTXKey advantage: Every SVG element becomes an editable DrawingML shape — text is selectable, colors are changeable, shapes are movable.
When a template PPTX exists:
Template PPTX → Unpack XML → Edit Content → Clean Orphans → Validate → Repack PPTXKey advantage: Preserves all template formatting, animations, and layout structure.
If the user asks to improve the look of an existing PPTX while preserving slide
count, order, and visible wording, route through workflows/beautify-pptx.md.
That route currently supports inspection plus a conservative native theme-color
patch; stronger layout repair must not silently restructure the deck through the
main generation path.
When the source is a rendered HTML page, dashboard, report, or SVG-heavy technical slide, use HTML/JSX only as an authoring and measurement layer:
HTML/JSX source -> browser measurement / component declarations -> normalized SVG or shape IR -> EasySlides validation -> DrawingML exportKey advantage: HTML/JSX is easier for LLMs to author for complex layouts, component reuse, dashboards, and architecture diagrams. The output still flows through the EasySlides checker and DrawingML backend.
Boundary: @artifact-kit/pptxgenjs-jsx and html-to-pptx-skill may be used
as references or in isolated spikes, but they are not main-path dependencies of
EasySlides. Prefer integrating their DOM measurement and JSX authoring ideas
upstream of the existing SVG/DrawingML backend.
Use workflows/html-jsx-authoring.md when evaluating this path.
When the user explicitly asks to reproduce PPT Master, use the PPT Master
workflow, or prioritize PPT Master-style SVG execution, follow
workflows/ppt-master-compat.md.
This mode keeps EasySlides' local converter stack but mirrors PPT Master's operating contract:
Source -> project init -> Strategist design_spec/spec_lock -> optional images
-> Executor hand-writes SVG pages sequentially -> svg_quality_checker
-> validate_svg_text_slots -> notes/total.md -> ppt_master_pipeline export
-> editable PPTXThe Executor must write SVG pages directly into svg_output/; do not create a
batch script that generates all pages. Use references/ppt-master-compat.md
for execution rules, templates/page_layouts/ppt-master-page-recipes-manual.md
for whole-page layout selection, and templates/cards/assembly-manual.md for
nested card selection.
For a large library of PPTX templates, prefer the Template Asset Bank harness:
PPTX templates → pptx_template_import.py workspaces → template_asset_bank.json → exact slide-module reuseUse workflows/template-asset-bank.md and scripts/template_asset_bank.py when
the goal is to mimic manual template substitution: fixed geometry, fixed
decorative structure, and only text/image/chart data replaced.
When the source of truth is a slide screenshot, exported slide PNG, or AI mockup
image, use workflows/slide-image-to-editable-pptx.md. This is an upstream
analysis and QA contract for the existing EasySlides backend: first classify
every visible source-image element into Layer A visual assets, Layer B native
structure, or Layer C editable text; then assemble through SVG/shape IR and
DrawingML export.
This path explicitly forbids full-slide screenshot backgrounds, baked text in
image assets, and dirty rectangular crops. Validate the Phase 1 element
inventory with scripts/slide_image_inventory.py, then validate the final deck
with scripts/validate_image_reconstruction_pptx.py alongside the normal text
layout and render-diff gates.
Use scripts/project_manager.py init <name> --kind slide_image_reconstruction
and scripts/image_reconstruction_pipeline.py init/qa as the standard project
facade for this path. Default QA mode is pixel-strict: editable text,
native structure, asset safety, provenance and source-render differences block
delivery. --mode faithful-practical is diagnostic only; a visual failure sets
delivery_ready=false and a failing CLI exit code. Always inspect actual renders.
For generated complete slides, follow the host-call and generation-manifest
contract in workflows/slide-image-to-editable-pptx.md. Attach the selected
template image and original evidence to the actual ImageGen call. Reconstruct
each approved output as its sole visual source; do not reuse native page shells.
Complex
raster illustrations that become ugly as vectors should use
preserve_source_frame; closed/circular source assets should use masked source
assets with clipping checks. The image route also carries a shared alignment
contract: Layer C source boxes map to absolute 1280x720 canvas coordinates,
editable text stays outside transformed parent groups, and center-locked labels
are checked against the actual native PPTX frame after export. Cover, content,
navigation, and ending-page chrome use the same contract, so a visually hidden
SVG offset cannot pass the final gate.
When the user provides a raw PowerPoint template and asks to fill it with new
material or a new topic, route to workflows/template-fill-pptx.md. This path
preserves the source deck as a native slide library and patches cloned slides
directly through OOXML. Do not convert the raw PPTX template into SVG for a
one-off fill request.
When the user provides a finished PPTX and asks only for speaker notes,
narration audio, auto-advance timings, or page transitions, route to
workflows/native-enhance-pptx.md. This path is append-oriented and must not
regenerate or rewrite visible slide content.
When the user asks for a confirmation page or checklist before visual execution,
route to workflows/confirm-ui.md. When the user asks for a visual self-check,
shareable preview, or review page for an existing deck, route to
workflows/visual-review.md. When the user asks to create, register, or inspect
a reusable brand palette/logo, route to workflows/create-brand.md.
Use scenario first, template second for academic work. In plain terms: scenario first, template second. The academic scenario defines the argument structure, evidence obligations, audience state, and page roles; the template route defines visual containers, geometry, palette, chrome, and reusable slide modules.
scenario_variant in deck_plan.json and
design_spec.md.scenario_variant.references/academic-orchestration.md before
intake and planning. Audience-State-Transfer and source-backed narrative are
shared planning capabilities across templates and production schemes; SCQA
is an optional spine. Respect user outlines and approved image pages.Before planning or generating a deck, classify the user's input:
workflows/topic-research.md. You may gather web text and download relevant
openly licensed images as PPT assets, then import the research document and
image folder as source materials with provenance.python scripts/project_manager.py init <project_name> --format ppt169
python scripts/project_manager.py import-sources <path> <files...> --moveSupported source formats: PDF, DOCX, XLSX, PPTX, URL, Markdown.
MinerU PDF Preprocessing: When importing PDFs, the system automatically tries MinerU for structural extraction before falling back to PyMuPDF. MinerU provides richer output: Markdown with figure/table identification, layout JSON, and extracted images — enabling better PPTX generation with automatic figure extraction.
| Method | Token Required | Output | Limits |
|---|---|---|---|
| Precision Extract API | Yes (MINERU_API_TOKEN env or .mineru_token file) | Markdown + JSON + images | ≤200 MB, ≤600 pages |
| Agent Lightweight API | No (IP-rate limited) | Markdown only | ≤10 MB, ≤20 pages |
| PyMuPDF fallback | No | Text + images (heuristic) | None |
To enable MinerU: set MINERU_API_TOKEN environment variable or create a .mineru_token file in the project root.
For single-paper report decks, run the paper-report intake after importing sources and before Strategist writes the final deck plan:
python scripts/paper_intake.py <project_path> --jsonThe intake reads <project_path>/sources/, Markdown converted from the PDF,
MinerU/PyMuPDF-side manifests when present, and <project_path>/images/. It
drafts deck_plan.json with a source_map for the main paper plus extracted
figures, then validates the draft with scripts/deck_plan_contract.py.
Strategist should treat the output as a traceable starting point: verify the
paper title, figure captions, claims, and slide roles before writing the final
design_spec.md and spec_lock.md.
The intake also records source-located evidence blocks in each page's
content_contract (conclusion, evidence, explanation) and summarizes
content_quality (status, evidence count, source-text length, and material
types). The component planner uses these signals to select an argument stack,
evidence split, overview mosaic, process roadmap, comparison, or matrix from
the template's verified body variants. Thin and placeholder pages remain
explicit review items; generic filler should not be used to make a page look
full.
For Chinese硕博士毕业答辩, pass
--scenario-profile thesis_defense to activate scenario_variant
cn_degree_defense_v4. The intake then records thesis chapter hierarchy,
duration-based page bands, an A-D source-figure index, high-resolution figure
review flags, and the four stages source planning -> editable master ->
editable sample -> full editable deck. Image2 is off by default; use the
explicit --visual-exploration flag only for upstream style exploration.
Before deriving the outline for single_paper_report, read
references/literature-report-flow-selection.md.
If the user provides a page outline, speaking script, learning notes, or slide-by-slide plan, that structure is the primary story contract. Preserve the user's page order and speaking logic, then use the paper/SI to verify claims and source figures. Do not replace the user's structure with an automatic long-form literature-report flow unless the user explicitly asks for a rebuild.
If no outline or script is provided, choose or present two flow options:
paper_ppt_concise: concise, figure-first 6-10 slide paper report inspired
by xiao634zhang/paper-ppt-skill.literature_report_deep_dive: 20+ slide deep literature-report planning flow
inspired by fangyuanopus/literature-report-ppt-builder, with
figure_source_manifest, deck_order_map, and page_briefs before visual
execution.Both options still use EasySlides' editable SVG/shape-IR -> DrawingML backend as the production path.
Before the confirmation step for academic decks, load the scenario profile
catalog from references/scenario_profiles.json.
python scripts/scenario_profiles.py --list --json
python scripts/scenario_profiles.py --profile <profile_id> --jsonSeed academic profiles are single_paper_report, multi_paper_review,
thesis_defense, proposal_or_fund, lab_progress, workshop_training, and
conference_talk. Pick the nearest profile from the source material, audience,
and occasion, then state it as a recommendation during confirmations. If the
deck is an academic scenario outside these seeds, keep the nearest profile as
the rule base and record a scenario_variant rather than squeezing the deck
into defense or literature-report wording.
When the user asks for a Chinese National Natural Science Foundation proposal
defense and selects nsfc_defense, activate scenario_id: nsfc_grant_cn.
This is a user-facing intent, not a request for the user to learn plan fields:
the agent records the scenario contract internally and keeps the conversation
in natural language.
For a full deck, organize the argument as: (1) rationale and scientific question, (2) three research contents and their technical route, and (3) innovation, feasibility, and implementation plan. Every page must have one declared narrative responsibility, and the template binds that responsibility to a reviewed content variant. A table-of-contents page is optional; never add one merely because the template has a TOC shell.
Ask with explicit choices before generation only when the request leaves a
result-affecting decision unresolved, such as whether this is a project
application or a progress defense, whether the user wants a full or concise
deck, or whether supplied material may be supplemented by external research.
Do not ask the user for grant_role, body_variant_id, coordinates, or other
implementation details.
Apply rule layers in this order:
hard_rules: always enforce; source faithfulness, traceability, citations,
text fit, template geometry integrity, and PPTX deliverability.required_rules: enforce for the selected scenario unless the user changes
the scenario.recommended_rules: default guidance such as action titles or ghost-deck
checks; apply when useful, but let templates and content needs override.relaxable_rules: soft defaults that can yield to venue, template, or
teaching/activity format.Templates control visual containers; scenario profiles control content
organization. Template colors, title treatment, page chrome, icon style, and
layout density may override profile recommendations only when allowed by
template_may_override; they must not override protected items in
template_must_not_override.
After confirmations and before spec_lock.md, write deck_plan.json as the
page-level academic story contract:
python scripts/deck_plan_contract.py <project_path>/deck_plan.json --jsonEach slide entry must include page, role, action_title, claim,
evidence_sources, layout_id, rhythm, and speaker_note. Use
action_title for the page's conclusion sentence, claim for the supported
statement, and evidence_sources for source-map references such as paper pages,
figure/table ids, extracted images, datasets, or user-provided assets. The
validated deck plan feeds design_spec.md, spec_lock.md page_rhythm, and
later QA gates.
After the deck plan passes, freeze the execution handoff as
deck_execution_lock.json:
python scripts/deck_execution_lock.py <project_path>/deck_plan.json --write <project_path>/deck_execution_lock.json --jsonThe execution lock records the per-page layout_id, rhythm, evidence refs,
body variant selection, declared slots, template palette, and required gates.
Executor must re-read deck_execution_lock.json together with spec_lock.md
before each page. If either file disagrees with the current deck plan, validate
with scripts/deck_execution_lock.py --validate and fix the plan before SVG
authoring.
When the selected template has body_variants.json, every executable content
slide must use a verified body variant in layout_id, provide content_shape,
and fill slot_payload with exactly the slots declared by that variant. The
scripts/deck_plan_contract.py report includes body_variant_status from
scripts/body_variant_adapter.py; body_variant_contract, template_tokens,
text_capacity, svg_quality_checker, preview_render, pptx_roundtrip, and
visual_measure_gate
are blocking gates before SVG authoring. Do not let Executor bypass this by
writing arbitrary SVG into a template body canvas.
For managed template packages, compile the canonical sources before rendering:
python scripts/easyslides.py template-compile templates/layouts/<template_id> --write --json
python scripts/easyslides.py slide-compile <project_path>/deck_plan.json --template <template_id> --out <project_path>/slide_ir.json --svg-out <project_path>/svg --pptx-out <project_path>/exports/<deck>.pptx --jsonTreat template_package.json, layouts.json, body_variants.json,
component_catalog.json, and qa_policy.json as owned sources. Treat
compiled/template_ir.json, compiled/template.lock.json, flattened
contracts, status files, and registries as generated projections. A composable
body variant must bind each required component-local slot to a declared
variant slot and resolve every instance to a named region or explicit
placement. If several variants score equally and the user intent is unclear,
block execution and ask the user to choose; do not silently pick the first
variant. A template may expose open_component_composition for an explicitly
requested arrangement, but that route accepts only registered local components
inside the declared body canvas and never permits global or cross-template
assets.
When the selected template exposes a LOGO slot, resolve it from
user-provided assets and source-material image folders before SVG generation.
Prefer an actual institutional, laboratory, project, or paper-source logo. If
no suitable logo is available, keep the template's built-in degree-cap icon
fallback; when a real logo is inserted, replace the full LOGO group or hide
the fallback drawing.
Before SVG generation, run the Academic QA Gate on the finalized
deck_plan.json:
python scripts/academic_qa_gate.py <project_path>/deck_plan.json --jsonThe gate checks the deck-plan contract plus academic expression rules:
action_title must be a conclusion sentence rather than a topic label, result
pages need figure/table/data/chart evidence, source-linked decks should include
a References/source-provenance slide, and scenarios that recommend
conclusion_last should end on Conclusions rather than a generic thank-you
page. It also checks the content contract, source-material density, and body
layout diversity. Errors block execution; warnings should be resolved or
consciously accepted before writing final SVGs.
For academic content, combine the general clarification gate with the academic
intake in references/academic-orchestration.md. Resolve source acquisition,
material roles, audience, desired outcome, speaking time, style and content
boundaries using adaptive native questions. Do not substitute a five-item design
checklist for this brief, infer duration from page count, or automatically choose
a blue palette. Skip explicit facts and inspectable file contents.
Once consequential questions are resolved, summarize the brief and output
deck_plan.json (including academic_brief), deck_execution_lock.json,
design_spec.md, and spec_lock.md.
Choose the design foundation from the confirmed scenario and template route:
templates/layouts/.academic_general is the neutral general academic fallback when no domain or
scenario-specific pack fits.academic_scqa is the structured academic/technical report variant when the
material benefits from visible Audience-State-Transfer and SCQA progression.The design spec must record the chosen scenario_profile, any
scenario_variant, the template route, and which template constraints may
override visual preferences. Use templates/reference/design_spec_reference.md
for the required 11-section structure, then pull the selected template's
design_spec.md only if that template is actually selected.
Generate SVG pages sequentially (one at a time). In Path A, each page is hand-written SVG. In Path C, generated SVG must be normalized to the same contract before validation and export.
Critical rules:
0 0 1280 720)<rect> for backgrounds, <tspan> for text wrappingrgba(), foreignObject, <mask>, or <script><use data-icon="library/icon-name"/> (see templates/icons/README.md); for new generic icons and emoji replacement, prefer lucide/* and color it with the deck theme colorscripts/icon_library.py for icon-family validation, semantic lookup, payload checks, and project-local synchronization. Select one stylistic family per batch; simple-icons is reserved for real brand marks.templates/charts/ as SVG templatesdeck_execution_lock.json and spec_lock.md before every page to
prevent layout, body-variant, palette, and gate driftSVG quality check:
python scripts/svg_quality_checker.py <project_dir># 1. Split speaker notes
python scripts/validate_svg_text_slots.py <project_dir>/svg_output --strict-unboxed --require-valign --check-canvas --report <project_dir>/reports/svg_text_slot_report.json
# 2. Split speaker notes
python scripts/total_md_split.py <project_dir>
# 3. Finalize SVGs (embed icons, base64 images, flatten text)
python scripts/finalize_svg.py <project_dir>
# 4. Export to PPTX
python scripts/svg_to_pptx.py <project_dir>Output: exports/<project_name>.pptx with native DrawingML shapes.
After every export, run package validation and rendered preview checks before delivery:
python scripts/office/unpack.py <output.pptx> <tmp_unpacked>
python scripts/office/pack.py <tmp_unpacked> <tmp_roundtrip.pptx> --original <output.pptx> --validate true
python scripts/source_to_md/ppt_to_md.py <output.pptx> -o <project_dir>/reports/pptx_text_check.md
python scripts/render_pptx_png.py <output.pptx> --out <project_dir>/reports/rendered_png --report <project_dir>/reports/rendered_png_report.json
python scripts/visual_measure_gate.py --pptx <output.pptx> --report <project_dir>/reports/visual_measure_report.jsonIf speaker notes are enabled, package validation must prove that
ppt/notesMasters/notesMaster1.xml exists, the presentation has a notes master
relationship, and the deck has the expected notesSlide*.xml files. Missing
notes master relationships are blocking even if slide previews look fine.
visual_measure_gate.py is the blocking exit gate. It aggregates template slot
contracts, template geometry, PPTX text layout, and optional rendered-PNG diff
reports into visual_measure_report.json; it invokes
scripts/validate_pptx_text_layout.py and writes text_layout_report.json as
the PPTX text subreport. Repair any SLOT-CONTRACT-*, TEXT-OVERFLOW,
TEXT-OVERLAP, TEXT-OFF-SLIDE, TEXT-FONT-TOO-SMALL, protected-region
overlap, or visual diff threshold issue before delivery. Fix by shortening
copy, splitting slides, choosing a lower-density layout, preserving locked
template geometry, or rasterizing complex styling before shrinking body text.
For production templates, template_visual_invariants.py is also mandatory:
every data-center-lock="true" text box must be a native middle-aligned text
frame, and any declared container relation must share the same vertical centre.
Mirrored decoration pairs must be literal 180-degree copies without SVG filters
that could introduce directional rendering differences. Never mark an unboxed,
source-faithful label as centre-locked merely to satisfy this gate.
Render the final PPTX itself, not just the source SVGs. On Windows the wrapper
scripts/render_pptx_png.py automatically prefers the installed Microsoft
PowerPoint COM renderer, which exports PNGs using the same Office layout engine
that users will see. On other systems, or when PowerPoint is unavailable, it
falls back to LibreOffice/soffice -> PDF -> Poppler or PyMuPDF. Use
--renderer powerpoint or --renderer soffice to force a backend. If no
renderer is available, install one or pass an explicit executable path; do not
skip visual QA. Inspect full-size previews for dense cards, process pages,
tables, references, and any text that was ported from a larger template.
Contact sheets are useful for rhythm only and can hide one-line overflow.
When academic_general is selected as the neutral fallback, use these base layout
patterns:
| Layout | Use For | SVG Template |
|---|---|---|
| Cover | Title, author, institution | 01_cover.svg |
| TOC | Outline with descriptions | 02_toc.svg |
| Chapter | Section dividers (dark blue) | 02_chapter.svg |
| Content | Main content pages | 03_content.svg |
| Ending | Thank you / Q&A | 04_ending.svg |
Content page variants:
academic_general components, bounded by the invisible body canvasUse templates/layouts/ when the user explicitly asks to use a template path
or asks what formal templates are available. The mandatory project policy is
templates/template_policy.json; the official set is exactly
academic_general, academic_scqa, defense_leftnav, defense_topnav,
literature_minimal, nsfc_defense, and thu_speech. Package QA status such as review
does not make nsfc_defense non-official. All other templates are development
assets and require an explicit user request.
Each classic pack contains design_spec.md and page shell SVGs such as
01_cover.svg, 02_toc.svg, 02_chapter.svg, 03_content.svg, and
04_ending.svg. If a future active pack uses a slot-guided mode, it should
also carry layouts.json, page_catalog.json, rules.md,
story_structure.json, and generated contract sidecars.
Discovery:
templates/layouts/README.mdtemplates/layouts/layouts_index.jsontemplates/reference/design_spec_reference.md and
templates/reference/spec_lock_reference.mdDo not fuzzy-match a bare template name when following PPT Master's stricter
template flow. Prefer an explicit directory path such as
templates/layouts/academic_general/.
The L001 notebook-defense and Guizang style packs are not part of the current
project template route. Their assets are managed in the external archive; do
not select templates/style_packs/... paths because those paths are intentionally
absent from this checkout.
Reference chart SVGs from templates/charts/. The catalog contains 71
templates. Common academic charts:
| Chart Type | File | Use Case |
|---|---|---|
| Bar chart | bar_chart.svg | Comparisons |
| Line chart | line_chart.svg | Trends over time |
| Scatter | scatter_chart.svg | Correlations |
| Box plot | box_plot_chart.svg | Data distribution |
| Radar | radar_chart.svg | Multi-dimensional comparison |
| Heatmap | heatmap_chart.svg | Matrix data |
| Fishbone | fishbone_diagram.svg | Root cause analysis |
| Timeline | timeline.svg | Process / milestones |
To use a chart: read the SVG template, replace placeholder data with actual data, and embed in the slide SVG.
For productized selection, use the normalized chart/<chart_id> asset instead
of referring to a raw filename. The adapter preserves the PPT Master pick/skip
rule while adding family, data model, slots, renderer, editability, provenance,
and required QA gates. An explicit chart_id in deck_plan.json is a direct
asset match; otherwise the component selector can search the chart catalog by
content shape and page role.
python scripts/chart_library.py validate
python scripts/chart_library.py search "trend" --limit 10
python scripts/component_selector.py query --content-shape chart --limit 10Use templates/page_layouts/ppt_master_page_recipes.json before selecting
cards whenever the deck follows the PPT Master-compatible route. Page recipes
are the main source of visual diversity: they define the whole-page archetype,
regions, slot capacity, and required text measurement contract.
Useful commands:
python scripts/page_recipe.py count
python scripts/page_recipe.py query --content-shape causal_chain --item-count 4
python scripts/page_recipe.py validate --recipe-id pm_causal_map --payload-file payload.json
python scripts/page_recipe.py prompt --recipe-id pm_causal_mapAfter SVG authoring, run scripts/validate_svg_text_slots.py before export.
Every meaningful text item longer than a tiny label should use
data-pptx-textbox="true" and data-pptx-box-x/y/w/h with explicit <tspan>
lines. If text does not fit, shorten, split, or choose a larger page recipe.
Use templates/cards/card_library.json when content should be assembled from
fixed-size cards instead of freeform text boxes. Read
templates/cards/assembly-manual.md before selecting cards. The library
currently contains 13 card styles covering metrics, parallel points,
comparisons, processes, evidence, method modules, literature notes, and
callouts.
For PPT Master-like cards, also read
templates/cards/visual-recipes-manual.md and query
templates/cards/visual_recipes.json through scripts/card_recipe.py. Visual
recipes define fixed geometry, slot capacity, layered SVG skeletons, and a
prompt contract the Executor can follow when hand-writing SVG pages.
Useful commands:
python scripts/card_library.py count
python scripts/card_library.py query --content-shape parallel_points --item-count 3
python scripts/card_library.py validate --card-id three_card_summary --payload-file payload.json
python scripts/card_library.py preview --output outputs/card_library_preview.pptx
python scripts/card_recipe.py count
python scripts/card_recipe.py query --content-shape sequence --item-count 3
python scripts/card_recipe.py validate --recipe-id pm_flow_strip --payload-file payload.json
python scripts/card_recipe.py prompt --recipe-id pm_flow_stripBefore rendering a card into PPTX, validate the payload. If a slot exceeds its declared capacity, shorten, split, or choose another card/body variant; do not expand the card or shrink text below the declared minimum.
python scripts/thumbnail.py template.pptx
python -m markitdown template.pptxReview thumbnails.jpg for layouts, markitdown output for placeholder text.
For each content section, choose a template slide.
Use varied layouts — monotonous presentations are a common failure mode. Don't default to title + bullet slides. Actively seek out:
python scripts/office/unpack.py template.pptx unpacked/Extracts PPTX, pretty-prints XML, escapes smart quotes.
<p:sldIdLst> in ppt/presentation.xmlpython scripts/add_slide.py unpacked/ slide2.xml<p:sldId> elementsEach slide is a separate XML file (ppt/slides/slide{N}.xml). Use subagents for parallel editing.
Use the Edit tool, not sed or Python scripts.
Formatting rules:
b="1" on <a:rPr><a:buChar> or <a:buAutoNum><a:p> elements, never concatenatepython scripts/clean.py unpacked/
python scripts/office/pack.py unpacked/ output.pptx --original template.pptx| Level | Size (1280x720) | Weight | Use |
|---|---|---|---|
| H1 | 56px | Bold | Cover title |
| H2 | 36px | Bold | Section headers |
| H3 | 28px | Bold | Subsection headers |
| Body | 20px | Regular | Main content |
| Caption | 16px | Regular | Labels, annotations |
| Footnote | 12px | Regular | Page numbers, sources |
#FFFFFF, #F5F7FA)#003366)#0066CC, #CC0000 for emphasis)lucide for new generic
icons and emoji replacement, with fill set to the deck theme color.
simple-icons is only for brand marks.<use data-icon="library/icon-name"/>spec_lock re-read: Re-read before every pagergba(): Use hex colors with opacity attributes insteadforeignObject into production SVG.defense_leftnav cannot
safely reuse long card/process copy from larger templates. Shorten at the
source content layer and use punctuation-aware Chinese wrapping before
export.• — causes double bullets“ etc.) in new textclean.py: Always run after structural changesadd_slide.py — manual copy misses bookkeepingdefusedxml.minidom — ElementTree corrupts namespaces<repo>/
├── SKILL.md # This file
├── references/
│ ├── workflow-create.md # Path A detailed workflow
│ ├── workflow-edit.md # Path B detailed workflow
│ ├── design-guidelines.md # Academic design standards
│ └── svg-rules.md # SVG authoring constraints
├── templates/
│ ├── academic/ # Academic defense template
│ │ ├── design_spec.md # Design specification
│ │ ├── 01_cover.svg # Cover page
│ │ ├── 02_toc.svg # Table of contents
│ │ ├── 02_chapter.svg # Chapter divider
│ │ ├── 03_content.svg # Content page
│ │ └── 04_ending.svg # Ending page
│ ├── layouts/ # 7 active academic layout template packs
│ ├── charts/ # 71 visualization SVG templates
│ └── icons/ # 11,635 icons across six libraries
│ ├── chunk-filled/
│ ├── phosphor-duotone/
│ ├── simple-icons/
│ ├── tabler-filled/
│ └── tabler-outline/
└── scripts/
├── template_asset_bank.py # Build exact-reuse PPTX template module banks
├── svg_to_pptx/ # SVG → DrawingML converter
│ ├── __init__.py
│ ├── drawingml_converter.py # Main dispatcher
│ ├── drawingml_elements.py # Element converters
│ ├── drawingml_paths.py # Path parser
│ ├── drawingml_styles.py # Style converters
│ ├── drawingml_utils.py # Utilities
│ ├── pptx_builder.py # PPTX assembly
│ └── pptx_slide_xml.py # Slide XML generation
├── office/ # PPTX editing tools
│ ├── unpack.py # Extract & pretty-print
│ ├── pack.py # Validate & repack
│ ├── helpers/ # Run merging, redline simplification
│ ├── validators/ # XSD schema validation
│ └── schemas/ # OOXML XSD schemas
├── add_slide.py # Add/duplicate slides
├── clean.py # Remove orphaned resources
├── finalize_svg.py # SVG post-processing
├── svg_quality_checker.py # SVG quality validation
├── config.py # Configuration
├── project_manager.py # Project management
└── svg_to_pptx.py # CLI wrapperpip install python-pptx>=0.6.21 defusedxml lxml PillowOptional (for source conversion):
pip install pymupdf markitdown pandoc© Rimagination, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 14,445 other files (scripts, references, assets) in the repository root of Rimagination/easyslides.
Open the folder on GitHubat commit fe4882b
Easyslides next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Easyslides this skillRimagination/easyslides | 138 | — | ~12k | Automated safety check: Pass | MIT | |
| Nature Paper2pptjing1312/nature-figure-skill | 168 | — | ~9.5k | Automated safety check: Pass | MIT | |
| Nature Paper2pptCitrus-bit/Anaxa | 120 | 1 repos | ~5.9k | Automated safety check: Pass | MIT | |
| Nature Paper2pptTai609/NebulaMat | 100 | — | ~1.3k | Automated safety check: Pass | Custom licence | |
| Academic Slide Pragmatic Fallbackfangyuanopus/literature-report-ppt-builder | 110 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Ppt Visual ReplicaZhiweiWei-NAMI/PPT-Visual-Replica | 135 | — | ~1.8k | Automated safety check: Pass | MIT |
jing1312/nature-figure-skill
Build a complete but efficient Nature-style Chinese PPTX presentation from a scientific paper, preprint, PDF, article text, abstract, figure legends, or reading notes.
Citrus-bit/Anaxa
Build a complete but efficient Nature-style Chinese PPTX presentation from a scientific paper, preprint, PDF, article text, abstract, figure legends, or reading notes.
Tai609/NebulaMat
Build a complete Nature-style Chinese PPTX presentation from a scientific paper, preprint, PDF, article text, figure legends, or reading notes.
fangyuanopus/literature-report-ppt-builder
Create Chinese academic literature-report PPTs from real paper/SI figures.
ZhiweiWei-NAMI/PPT-Visual-Replica
Create and edit editable PowerPoint decks, recreate slides or infographics from reference images, and develop scientific talks, teaching slides, and thesis defenses by generating slide drafts with…
Yila-AI/awesome-research-skills
Create, revise, and quality-check source-grounded research presentations from papers, research notes, data, or manuscripts.
Rimagination/easyslides
Canonical EasySlides entry point for creating, distilling, editing, reviewing, and exporting editable academic PPTX presentations.
Rimagination/easyslides
Resolve only result-affecting ambiguities in an EasySlides request through explicit user choices before route selection or generation.
Rimagination/easyslides
Distill a source PPTX with EasySlides into factual source evidence, a content-free semantic layout family, and real reusable component and symbol assets.
Works with
Categories
Use EasySlides to create, distill, edit, review, and export editable academic PPTX presentations, including 蒸馏PPT、提取模板、复用模板和答辩PPT。. Easyslides is an agent skill from Rimagination/easyslides. Use EasySlides to create, distill, edit, review, and export editable academic PPTX presentations, including 蒸馏PPT、提取模板、复用模板和答辩PPT。 Integrates SVG-to-DrawingML pipeline, XML editing, and academic design templates.
Easyslides fits situations like: user asks to create academic PPT; make presentation.
Run `npx skills add Rimagination/easyslides --skill easyslides -a claude-code`. Or copy the skill folder (the Rimagination/easyslides repository) into .claude/skills/easyslides in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Rimagination/easyslides --skill easyslides -a codex`. Or copy the skill folder (the Rimagination/easyslides repository) into .agents/skills/easyslides in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Rimagination/easyslides --skill easyslides -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/easyslides, .gemini/skills/easyslides, .github/skills/easyslides and .opencode/skills/easyslides in your project.
Going by SKILL.md and its folder, Easyslides needs the command-line tools its instructions call (python and pip) and credentials named MINERU_API_TOKEN.
SKILL.md names 1 domain. As links in the text: mineru.net. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Easyslides is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 12k tokens (SKILL.md is roughly 48k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 24.9M tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Easyslides: Nature Paper2ppt (jing1312/nature-figure-skill, 168 stars), Nature Paper2ppt (Citrus-bit/Anaxa, 120 stars), Nature Paper2ppt (Tai609/NebulaMat, 100 stars) and Academic Slide Pragmatic Fallback (fangyuanopus/literature-report-ppt-builder, 110 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Rimagination (a GitHub user) maintains it in Rimagination/easyslides, which has 138 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on September 13, 2026.
Source: Rimagination/easyslides on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.