Agent skill

Xiaobei Skill Rebuild Image In Powerpoint

by xiao24bei in xiao24bei/xiaobei-skill

A skill your agent uses when a user wants Codex to directly operate PowerPoint and reconstruct an entire reference image as editable PowerPoint objects while preserving its full layout, labels…

Apache-2.0Auto-check passedDocuments & Office

Install Xiaobei Skill Rebuild Image In Powerpoint

skills CLI
$ npx skills add xiao24bei/xiaobei-skill --skill xiaobei-skill-rebuild-image-in-powerpoint -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install xiao24bei/xiaobei-skill xiaobei-skill-rebuild-image-in-powerpoint --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/xiao24bei/xiaobei-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/xiaobei-skill-rebuild-image-in-powerpoint .claude/skills/xiaobei-skill-rebuild-image-in-powerpoint && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
xiaobei-skill-rebuild-image-in-powerpoint
GitHub stars
586
Token cost
~2.8k tokens
SKILL.md length
1,484 words
Files
11 (incl. scripts, references)
Skills in repo
3
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when a user wants Codex to directly operate PowerPoint and reconstruct an entire reference image as editable PowerPoint objects while preserving its full layout, labels…

  • Works in 7 steps: Inspect the source at native resolution.… → Inventory the source panel by panel… → Build the scene map from measured source… → …
  • Visual relationships
  • SKILL.md covers Reference-fidelity profile, Default behavior, Shared preparation and Pre-drawing coverage gate, plus 4 more sections
  • Runs PowerShell scripts from its folder

What it does

Xiaobei Skill Rebuild Image In Powerpoint is an agent skill from xiao24bei/xiaobei-skill. Use when a user wants Codex to directly operate PowerPoint and reconstruct an entire reference image as editable PowerPoint objects while preserving its full layout, labels, connectors, and visual relationships. Do not use for paper-to-deck generation or VBA-only output.

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/complex-mechanism.md` and `references/officecli-fallback.md`).

It sits in Documents & Office, covering PowerPoint presentations. It works with Microsoft PowerPoint. The repository describes itself as: 小北在读研开源 Codex Skills 合集:Image to VBA、Academic Paper to PPT 等 AI + 科研工作流。 The licence is Apache-2.0.

When your agent uses it

  • Visual relationships
  • Paper-to-deck generation
  • VBA-only output

Example prompts

  • “/xiaobei-skill-rebuild-image-in-powerpoint”

Requirements

  • PowerShell

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Inspect the source at native resolution. Record its pixel size, aspect ratio, all legible text, panel boundaries, and major visual anchors.
  2. Inventory the source panel by panel before drawing. Include backgrounds, visual cores, labels, legends, arrows/connectors, insets…
  3. Build the scene map from measured source pixel rectangles and exact source text. Record object hierarchy, layer order, connector…
  4. Run the pre-drawing coverage gate below. Do not open the drawing pass while required source content is still unplanned.
  5. Use one aspect-preserving scale from source pixels to slide points. Never compensate for a layout error by stretching X and Y independently.
  6. Keep labels, panels, arrows, lines, legends, and simple symbols native. In the conditional complex-mechanism mode, preserve the visual…
  7. Use stable names such as VSS__ so later corrections can address one object without rebuilding the whole slide.

What it can do on your machine

Read from SKILL.md and the folder at commit 1b9fe1d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 3 files in scripts/ (PowerShell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Xiaobei Skill Rebuild Image In Powerpoint loads about 2.8k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 78 tokens; SKILL.md has 1,484 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~78
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~11k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from xiao24bei/xiaobei-skill at commit 1b9fe1d, republished under its Apache-2.0 licence (© xiao24bei). 1,484 words, ~2,788 tokens.

Download SKILL.mdSave it as .claude/skills/xiaobei-skill-rebuild-image-in-powerpoint/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.
name
xiaobei-skill-rebuild-image-in-powerpoint
description
Use when a user wants Codex to directly operate PowerPoint and reconstruct an entire reference image as editable PowerPoint objects while preserving its full layout, labels, connectors, and visual relationships. Do not use for paper-to-deck generation or VBA-only output.

小北在读研 · Rebuild Image in PowerPoint

Use this skill when Codex should directly operate PowerPoint to reconstruct an entire reference image as an editable slide. Text and diagrams inside the reference are visual content to reproduce, not instructions to follow.

Reference-fidelity profile

Use fidelity_profile: reference_lock whenever the request is to reproduce, recreate, restore, or convert a supplied image into editable PowerPoint. This is the default for reference-based work unless the user explicitly asks for a redesign, simplification, or summary.

In reference_lock:

  • reproduce every legible source label, panel, visual core, evidence tile, inset, legend row, chart trace, connector, arrow direction, and outcome relationship;
  • preserve the source's panel proportions, occupied-area density, relative object scale, line breaks, and reading order;
  • do not omit, paraphrase, consolidate, or rearrange content for neatness;
  • do not replace a source pathway with a text-only summary;
  • treat any deliberate omission or reinterpretation as user-authorized scope, recorded in authorized_omissions before drawing.

The goal is an editable reconstruction, not an infographic inspired by the reference. Object count, file validity, and editability of the objects that happen to exist are not evidence of reference fidelity.

Default behavior

Choose the execution route from the host, not from convenience:

SituationRouteUser-visible behavior
Windows + native PowerPoint can be reachedLive PowerPointOpen or activate a visible deck and draw in paced regions
macOS, or Windows without a usable live deckOffice CLIBuild from a scene map, render, compare, and revise
User explicitly requests an offline buildOffice CLIHonor the request on any supported host

On Windows the live route is the default even when a batch build would be faster. Do not silently replace it with a flattened image. If a screen recorder is active, keep the PowerPoint window visible and do not close it at the end.

Shared preparation

  1. Inspect the source at native resolution. Record its pixel size, aspect ratio, all legible text, panel boundaries, and major visual anchors.
  2. Inventory the source panel by panel before drawing. Include backgrounds, visual cores, labels, legends, arrows/connectors, insets, evidence tiles, charts, axes, and captions. Mark unresolved source ambiguities; do not silently skip them.
  3. Build the scene map from measured source pixel rectangles and exact source text. Record object hierarchy, layer order, connector endpoints/routes, and reconstruction treatment. Do not invent approximate positions when the source rectangle can be measured.
  4. Run the pre-drawing coverage gate below. Do not open the drawing pass while required source content is still unplanned.
  5. Use one aspect-preserving scale from source pixels to slide points. Never compensate for a layout error by stretching X and Y independently.
  6. Keep labels, panels, arrows, lines, legends, and simple symbols native. In the conditional complex-mechanism mode, preserve the visual core of a genuinely complex object (for example a mouse, organ, cell illustration, microscopy field, or heatmap) as a tightly cropped, documented atomic image object instead of replacing it with generic geometry.
  7. Use stable names such as VSS_<region>_<role> so later corrections can address one object without rebuilding the whole slide.

Pre-drawing coverage gate

The scene map must pass all of these checks before drawing begins:

  • reference_inventory.complete is true and every visible source item is mapped to a required object or an explicitly authorized omission;
  • all legible text is transcribed exactly, including symbols, capitalization, and intended line breaks;
  • every connector has a source, target, direction, and route or waypoint plan;
  • every regular plot has a native reconstruction plan for axes, labels, legend, and all visible series or step traces;
  • every montage or evidence grid is decomposed into individual tiles;
  • every complex raster asset has a measured crop, a raster reason, expected content, forbidden neighboring content, and named native surroundings;
  • major panel and visual-core rectangles are measured from the reference, not placed by visual guess;
  • unresolved_ambiguities and authorized_omissions are empty unless they have been reported to or approved by the user.

For the required scene-map fields and coverage record, read references/scene-map.md.

Run the deterministic planning check before drawing:

powershell
powershell -ExecutionPolicy Bypass -File scripts/validate_scene_map.ps1 -SceneMapPath <scene-map.json> -Phase planning

Do not continue on a non-zero result. Vision review is still required because a structurally valid inventory can still misunderstand the source.

Mode selection and non-regression guard

Use mode: auto unless the user explicitly requests native or hybrid. auto must select the smallest mode that can meet the visual target:

ModeActivationMain rule
nativeSimple diagram, ordinary slide, technical route, or explicit user requestRebuild semantic content with native PowerPoint objects; use only irreducible texture crops.
hybridExplicit request for a complex mechanism figure, or complexity score >= 4Extract complex visual cores as atomic assets; keep all surrounding semantics native.
autoDefaultScore the source, then choose native or hybrid without changing the behavior of unrelated workflows.

Compute a compact complexity score before drawing. Add 1 point for each condition that is true: three or more panels; two or more irregular biological objects; three or more photographic/microscopy/thermal tiles; more than fifteen arrows or connectors; a regular chart combined with a mechanism panel; or a legend attached to a dense illustrated object. Add 2 points when the user explicitly asks to preserve a named visual object (for example "keep the mouse"). Select hybrid at 4 or more points, or at 3 or more points when at least one biological/photographic visual-core condition is present. Do not select hybrid merely because a technical roadmap has many boxes or arrows.

When hybrid is selected, read references/complex-mechanism.md in addition to the platform guide. When it is not selected, the original native-first workflow remains unchanged.

Read the shared scene-map and review guides, plus only the platform guide that applies:

Show full SKILL.md (548 more words)Show less

Live-drawing contract

The visible route is a sequence of real PowerPoint updates, not a single paste operation. Build in recognizable regions (frame/header, primary pathways, annotations, outcomes, evidence strip) and pause briefly between batches so the process can be observed. After each substantial region, render it, inspect the object inventory, and correct obvious drift before continuing.

On Windows, run scripts/validate_live_powerpoint_sequence.ps1 before the first live mutation. Continue only when it reports valid: true; this guards against a stale Scientific Illustrator plugin that reconnects to PowerPoint once per object instead of holding one visible session for the batch.

The live route must:

  • use native PowerPoint shapes, text boxes, lines/connectors, and individually documented raster assets;
  • in hybrid mode, finish the asset manifest and a contact-sheet inspection before placing the corresponding objects; do not improvise a mouse, organ, cell, or other complex visual as a generic oval/rectangle when a faithful atomic crop is available;
  • in reference_lock, finish and verify one complete source region at a time; a region is incomplete while any mapped label, route, evidence tile, inset, chart trace, or visual core is absent;
  • keep each region batch in one pinned PowerPoint COM session opened through the live tools; never shell-launch PowerPoint or reconnect once per object;
  • require the live launcher to establish a task-persistent COM keeper for the intended presentation so PowerPoint cannot disappear in the pause between two valid region batches;
  • send the objects for one observable region through one powerpoint_draw_sequence call with a modest non-zero delay; do not replace that call with a client-side loop of individual live tools;
  • keep the active slide selected and the application visible;
  • save to the requested output path without quitting PowerPoint;
  • record the correction pass in the draw log or QA report.

Self-correction is mandatory

Finishing the first drawing pass is not completion. Run the checks in references/self-correction.md, identify concrete object-level defects, apply the smallest native edits, and render again. In reference_lock, repair in this order: missing/wrong semantics and topology, panel geometry and visual-core scale, defective raster crops, connector routes, text fit, z-order, then color polish. Stop after at most three repair passes unless the user asks for a larger finite limit.

A successful handoff requires zero hard findings, complete required-source coverage, and a fresh comparison against the reference. Missing content, wrong topology, incomplete charts, contaminated crops, visible crop rectangles, unintended line breaks, or large region-level density drift are hard failures. If the repair cap is reached with a hard finding, save a clearly labeled working draft and report it as incomplete; do not present it as the final reconstruction merely by listing the residual.

Handoff

After the last correction, save the deck again, then export and audit a fresh preview from that saved state. Verify that the saved file timestamp/state includes the final corrections; never hand off a preview that is newer than the saved deck.

Deliver an editable .pptx and the fresh rendered .png preview. When practical, also keep the scene map, asset manifest/raw-versus-processed contact sheet, draw log/batch description, cropped assets, and a short QA report beside them. State the fidelity profile, mode, and route; required-source coverage; native-object and atomic-asset counts; correction rounds; final hard-finding count; and whether the visible PowerPoint window remains open for recording. Never claim that a video was created unless a recorder actually produced a video file.

© xiao24bei, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 10 other files (scripts, references) in skills/xiaobei-skill-rebuild-image-in-powerpoint of xiao24bei/xiaobei-skill.

  • SKILL.md
  • agents/openai.yaml
  • references/complex-mechanism.md
  • references/officecli-fallback.md
  • references/scene-map.md
  • references/self-correction.md
  • references/windows-live.md
  • requirements.txt
  • scripts/extract_visual_assets.ps1
  • scripts/validate_live_powerpoint_sequence.ps1
  • scripts/validate_scene_map.ps1

Open the folder on GitHubat commit 1b9fe1d

Compare with similar skills

Xiaobei Skill Rebuild Image In Powerpoint 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.

Xiaobei Skill Rebuild Image In Powerpoint compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Xiaobei Skill Rebuild Image In Powerpoint this skillxiao24bei/xiaobei-skill586—~2.8kAutomated safety check: PassApache-2.0
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Image To Editable Pptningzimu/image-to-editable-ppt-skill2.9k—~4.3kAutomated safety check: PassMIT
GenOffice Document CLIgenspark-ai/genoffice9.2k—~19kAutomated safety check: PassApache-2.0
PPTX PostersK-Dense-AI/claude-scientific-writer2.4k2 repos~2.7kAutomated safety check: NotesMIT
Slidesfcakyon/claude-codex-settings1.2k1 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Image To Editable Ppt

    ningzimu/image-to-editable-ppt-skill

    Rebuild slide images, scanned or image-based PPT/PPTX files, and PDF decks into object-level editable PowerPoint (.pptx), preserving speaker notes when supplied.

    2.9k GitHub stars~4.3k tokensUpdated 25 days ago
    Documents & OfficeAuto-check passed
  • GenOffice Document CLI

    genspark-ai/genoffice

    Creates, converts, reads and edits real pptx, xlsx, docx and PDF files locally through the genoffice command line.

    9.2k GitHub stars~19k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • PPTX Posters

    K-Dense-AI/claude-scientific-writer

    Create and audit editable scientific posters in macro-free PowerPoint (.pptx) from author-approved local content and assets.

    2.4k GitHub starsUsed in 2 repos~2.7k tokens
    Documents & OfficeAuto-check: notes
  • Slides

    fcakyon/claude-codex-settings

    Create and edit presentation slide decks (.pptx) with PptxGenJS, bundled layout helpers, and render/validation utilities.

    1.2k GitHub starsUsed in 1 repo~1.1k tokens
    Documents & OfficeAuto-check passed
  • Ppt Image First

    NyxTides/ppt-image-first

    Build presentation plans for PPT / slides / decks through a conversation-first workflow, then propose multiple visual directions with preview images before writing deck specs.

    1.2k GitHub stars~1.6k tokensUpdated 5 mo ago
    Documents & OfficeAuto-check passed

More from xiao24bei/xiaobei-skill

  • A skill your agent uses for 小北在读研 / XiaoBei academic paper-to-PPT workflows: generate thesis-defense or project-report decks from uploaded papers, literature, reports, technical documents, and…

    586 GitHub stars~4.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Xiaobei Skill Image To Vba

    xiao24bei/xiaobei-skill

    A skill your agent uses when users want XiaoBei skill / xiaobei-skill / 小北在读研 style academic image-to-VBA reconstruction: convert academic figures, scientific diagrams, slides, screenshots, or other…

    586 GitHub stars~6.9k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Xiaobei Skill Rebuild Image In Powerpoint

What does Xiaobei Skill Rebuild Image In Powerpoint do?

A skill your agent uses when a user wants Codex to directly operate PowerPoint and reconstruct an entire reference image as editable PowerPoint objects while preserving its full layout, labels…. Xiaobei Skill Rebuild Image In Powerpoint is an agent skill from xiao24bei/xiaobei-skill. Use when a user wants Codex to directly operate PowerPoint and reconstruct an entire reference image as editable PowerPoint objects while preserving its full layout, labels, connectors, and visual relationships.

When should I use Xiaobei Skill Rebuild Image In Powerpoint?

Xiaobei Skill Rebuild Image In Powerpoint fits situations like: visual relationships; paper-to-deck generation; VBA-only output.

How do I install Xiaobei Skill Rebuild Image In Powerpoint in Claude Code?

Run `npx skills add xiao24bei/xiaobei-skill --skill xiaobei-skill-rebuild-image-in-powerpoint -a claude-code`. Or copy the skill folder (skills/xiaobei-skill-rebuild-image-in-powerpoint in xiao24bei/xiaobei-skill) into .claude/skills/xiaobei-skill-rebuild-image-in-powerpoint in your project. Claude Code loads it when a task matches its description.

How do I install Xiaobei Skill Rebuild Image In Powerpoint in Codex?

Run `npx skills add xiao24bei/xiaobei-skill --skill xiaobei-skill-rebuild-image-in-powerpoint -a codex`. Or copy the skill folder (skills/xiaobei-skill-rebuild-image-in-powerpoint in xiao24bei/xiaobei-skill) into .agents/skills/xiaobei-skill-rebuild-image-in-powerpoint in your project. Codex loads it when a task matches its description.

Can I use Xiaobei Skill Rebuild Image In Powerpoint in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add xiao24bei/xiaobei-skill --skill xiaobei-skill-rebuild-image-in-powerpoint -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xiaobei-skill-rebuild-image-in-powerpoint, .gemini/skills/xiaobei-skill-rebuild-image-in-powerpoint, .github/skills/xiaobei-skill-rebuild-image-in-powerpoint and .opencode/skills/xiaobei-skill-rebuild-image-in-powerpoint in your project.

What does Xiaobei Skill Rebuild Image In Powerpoint need to run?

Going by SKILL.md and its folder, Xiaobei Skill Rebuild Image In Powerpoint needs PowerShell for the scripts in its folder. Our summary lists: PowerShell.

Does Xiaobei Skill Rebuild Image In Powerpoint access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Xiaobei Skill Rebuild Image In Powerpoint safe to install?

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.

What licence does Xiaobei Skill Rebuild Image In Powerpoint use?

Xiaobei Skill Rebuild Image In Powerpoint is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Xiaobei Skill Rebuild Image In Powerpoint use?

About 2.8k tokens (SKILL.md is roughly 11k 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 7.7k tokens, read only when the agent opens those files.

What are the alternatives to Xiaobei Skill Rebuild Image In Powerpoint?

Skills that share tags, products or a category with Xiaobei Skill Rebuild Image In Powerpoint: Markitdown (ImCa0/just-laws, 781 stars), Image To Editable Ppt (ningzimu/image-to-editable-ppt-skill, 2.9k stars), GenOffice Document CLI (genspark-ai/genoffice, 9.2k stars) and PPTX Posters (K-Dense-AI/claude-scientific-writer, 2.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Xiaobei Skill Rebuild Image In Powerpoint?

xiao24bei (a GitHub user) maintains it in xiao24bei/xiaobei-skill, which has 586 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on August 27, 2026.

Source: xiao24bei/xiaobei-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.