К основному содержанию
скилл Claude Code CX Codex Cursor GitHub Copilot

nature-image2ppt — скилл для Claude Code: что делает и как установить

Пересобирает скриншоты, сканы PDF и растровые слайды в редактируемые презентации PowerPoint с отдельными объектами. Пригодится для восстановления схем и макетов.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add Yuan1z0825/nature-skills --skill nature-image2ppt -a claude-code
Открыть на GitHub

Что делает nature-image2ppt

Скилл восстанавливает презентации из картинок или файлов без векторных слоёв через локальный Python CLI (cli/image2ppt/cli.py). Для работы требуется Python 3.10 или новее с установленным requirements.txt. Перед запуском пайплайн требует обязательной проверки зависимостей через команду doctor — если она выдаст ошибку, продолжать нельзя.

Процесс разбит на этапы: подготовка запуска через prepare, распознавание и распределение страниц по воркерам. Каждая страница делится на 3–5 семантических областей. Простые фигуры, карточки и стрелки воссоздаются как векторные элементы PowerPoint, а сложные части остаются растровыми вставками. Состояние выполнения отслеживается строго в файле page_jobs.json.

Для распознавания текста скилл задействует Baidu AI Studio через токен PADDLE_OCR_TOKEN. Без него включается локальный запасной вариант builtin-ink. Он сохраняет только координаты блоков без символов, поэтому ключ стоит настроить заранее.

Какие задачи решает

  • пересобрать растровый слайд в векторный формат PowerPoint
  • восстановить блок-схемы со стрелками и карточками из скриншота
  • разбить сканированный PDF на редактируемые страницы презентации
  • выделить геометрию блоков и текст с помощью OCR

Примеры запросов агенту

  • Восстанови этот скриншот слайда в редактируемый файл PowerPoint с помощью nature-image2ppt
  • Запусти cli.py doctor и подготовь разбор презентации presentation.pdf
  • Разбери эту схему из картинки на векторные блоки и стрелки в PPTX

Как установить nature-image2ppt

1Через Skills CLI (Vercel)

npx skills add Yuan1z0825/nature-skills --skill nature-image2ppt -a claude-code

2Вручную: положить файлы

~/.claude/skills/nature-image2ppt/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/nature-image2ppt/

Из того же набора17

Весь набор →
nature-figure Yuan1z0825 Скилл собирает, правит и проверяет рисунки для научных статей на Python или R. Пригодится, когда графики идут в submission, а не в отчёт. Claude Code CX Codex Cursor +1 18 700установок nature-polishing Yuan1z0825 Скилл для правки, перевода и сокращения готового академического текста. Держит факты, термины и границы доказательств на месте. Claude Code CX Codex Cursor +1 17 400установок nature-paper2ppt Yuan1z0825 Собирает китайскую академическую презентацию .pptx из научной статьи или заметок: слайды, рисунки из источника и заметки докладчика. Claude Code CX Codex Cursor +1 16 000установок nature-citation Yuan1z skill, refactored into static/dynamic layers Ищет статьи из Nature и семейства CNS для подтверждения тезисов рукописи, связывает утверждения с источниками и готовит экспорт для менеджера ссылок. Пригодится, когда нужны ссылки именно из этих журналов. Claude Code CX Codex Cursor +1 15 600установок nature-writing Yuan1z0825 Скилл для черновиков и перестройки научных рукописей: собирает аргументы, разделы и материалы первой подачи из ваших данных. Claude Code CX Codex Cursor +1 15 600установок nature-data Yuan1z skill, refactored into static/dynamic layers Скилл помогает подготовить или проверить разделы о доступности данных и кода, маршруты доступа к наборам и FAIR-метаданные для рукописи. Claude Code CX Codex Cursor +1 15 300установок nature-academic-search Yuan1z0825 Ищет научные публикации, проверяет ссылки и собирает стратегии MeSH. Пригодится для работы с источниками и файлами библиографии. Claude Code CX Codex Cursor +1 15 200установок nature-response Yuan1z0825 Скилл для черновиков, аудита и правки ответов на замечания рецензентов, сопроводительных писем и размеченных рукописей. Claude Code CX Codex Cursor +1 15 100установок

Похожие

frontend-slides affaan-m Скилл создаёт анимационные HTML-презентации с нуля и преобразует PPT/PPTX в веб-слайды. Подойдёт для докладов, питчей и внутренних презентаций. Claude Code CX Codex Cursor +1 5 400установок ppt-generation bytedance Генерирует слайды для презентаций в формате PPTX через создание картинок к каждому экрану. Пригодится, когда нужно быстро собрать визуальный доклад с единым оформлением. Claude Code CX Codex Cursor +1 5 200установок nutrient-document-processing affaan-m Скилл обращается к Nutrient DWS API, чтобы конвертировать документы, распознавать сканы, извлекать данные и менять PDF. Подойдёт, если эти операции нужны в рабочем процессе с файлами. Claude Code CX Codex Cursor +1 4 400установок wowerpoint thedotmack Превращает один текстовый документ в нарративную kawaii-презентацию в NotebookLM через CLI. Пригодится, когда нужно быстро показать отчёт или проект в виде понятных слайдов. Claude Code CX Codex Cursor +1 4 400установок view-pdf официальный anthropics Открывает PDF в интерактивном просмотрщике и помогает размечать документ, заполнять формы и размещать подписи. Подходит для совместной работы по экрану. Claude Code CX Codex Cursor +1 6 300установок earnings-analysis официальный anthropics Скилл собирает отчёт по квартальным результатам компании: сравнивает факты с ожиданиями, обновляет оценки и показывает влияние на инвестиционный тезис. Claude Code CX Codex Cursor +1 3 300установок pptx официальный anthropics Скилл помогает создавать, читать и редактировать файлы .pptx и шаблоны .potx. Пригодится, когда нужно собрать презентацию или извлечь из неё текст. Claude Code Claude.ai 241 433установок pdf официальный anthropics Скилл читает, создаёт и меняет PDF-файлы, включая формы и сканы. Подойдёт, когда агенту нужно работать с PDF в проекте. Claude Code Claude.ai 216 041установок

Вопросы о nature-image2ppt

Как установить nature-image2ppt в Claude Code?

Выполните команду npx skills add Yuan1z0825/nature-skills --skill nature-image2ppt -a claude-code в терминале.

Что делает nature-image2ppt?

Скилл восстанавливает слайды из изображений, скриншотов или сканов PDF в виде редактируемых файлов PowerPoint. Он преобразует простые фигуры и карточки в нативные векторные объекты, сохраняя структуру макета.

Что нужно настроить для распознавания текста?

Для полноценного распознавания символов требуется токен PADDLE_OCR_TOKEN от Baidu AI Studio. Без него встроенный механизм builtin-ink замерит только геометрию блоков, но не сможет прочитать текст.

Исходный текст

SKILL.md · MIT
---
name: nature-image2ppt
description: "Reconstruct slide images, screenshots, scanned PDFs, or image-only PPTX files as object-level editable PowerPoint. Use for 图片转可编辑PPT、截图还原PPT and diagram reconstruction; not authoring a new deck from research notes."
---

# Nature Image2PPT

Use this directory as the complete runtime. Run deterministic actions only through:

```bash
python <image2ppt-root>/cli/image2ppt/cli.py <command> ...
```

Use Python 3.10 or later with `requirements.txt` installed. When a dedicated
environment exists, substitute `<image2ppt-root>/.venv/bin/python` on macOS/Linux
or `<image2ppt-root>/.venv/Scripts/python.exe` on Windows for every `python`
command below. Do not continue after a failed `doctor`; install only the reported
missing dependency, then rerun it.

Do not discover or invoke another Skill, CLI, Prompt, Schema, module, or state machine.

## Read the local contracts progressively

Always read `references/workflow.md`. Read `references/runtime-dependencies.md`
only for setup or `doctor` failures, and read
`references/ocr-text-hints-contract.md` only when choosing or troubleshooting OCR.

Before writing a page manifest, read `references/page-decision-tree.md` and
`references/manifest-schema.md`. Add only the references needed by that page:

- structured or compound page: `references/region-decomposition.md` and
  `references/object-routing.md`;
- arrows: `references/manifest-arrow-extension.md`;
- raster assets or image-backend work: `references/assets-provenance-contract.md`.

Before accepting or delivering output, read `references/qa-contract.md`.

## Preserve the single source of truth

- Treat `page_jobs.json` as the only page-state source.
- Treat each `pages/page_NNN/manifest.json` as the only page-content source.
- Treat `deck_manifest.json` as the final-assembly source.
- Use only `prepare`, `run next/dispatch/record/reset/hints/finalize`, and the
  page commands in the local CLI for stateful lifecycle operations.
- Keep semantic-region evidence in `manifest.json.image2ppt_region_decomposition`.
- Never create a second job file, reconstruction plan, OCR normalizer, page
  controller, packager, or finalize path.
- Let supplemental QA report failures; never let it mutate lifecycle state.

## Keep every write inside its owner directory

- Page build, validation, hints, and QA may read and write only inside that page
  directory. Manifest paths, recorded assets, formulas, reports, previews, and
  `--out` overrides must not use `..`, symlinks, or absolute paths to escape it.
  The sole external-input exception is an explicit image-tool result supplied to
  `image import` or as `process-sheet --asset-sheet-source`; it is copied into the
  page before becoming a build dependency.
- Run-level manifests and final outputs must remain inside the prepared run
  directory. Finalization rebuilds into a same-directory temporary file and
  publishes it atomically only after a successful build.
- Treat any boundary rejection as a hard failure; do not copy the rejected file
  back into scope and present it as runtime output.

## Preserve pre-migration behavior

- Treat self-containment as a path/import/entrypoint migration, not a redesign of
  reconstruction behavior.
- Generate each worker Prompt from the complete local base layer plus the preserved
  Image2PPT profile layer. Do not condense, reinterpret, or replace either layer.
- Prefer the previously validated visual strategy when several routes satisfy the
  contracts. Keep simple measured objects native and retain bounded complex assets
  wherever a native redraw would reduce fidelity.
- Never re-author an accepted baseline page merely to prove runtime independence.

## Run the workflow

### Image backend selection

Use `builtin-imagegen` when the agent runtime exposes `image_gen.imagegen`; it is
the preferred backend because the worker can inspect edit inputs and import the
explicit local result. Use the CLI image contract only when the built-in tool is
unavailable, errors, cannot read an input, or returns no valid local output. A
missing optional argument such as model, mask, size, quality, or output path never
authorizes fallback. Record the actual producer and permitted fallback reason in
`imagegen-jobs.json`.

The CLI image contract is provider-neutral at the transport boundary. Select
`codex-oauth` only for GPT Image model ids. Select `openai-compatible-api` for any
provider-specific model whose endpoint implements the OpenAI Images-compatible
`/images/generations` and/or `/images/edits` schema. Do not infer the image backend
from the task's language model. Use an explicit backend when provenance matters;
`auto` uses Codex OAuth only for compatible GPT Image ids and otherwise selects the
configured API without sending Codex OAuth credentials to third parties.

### 1. Preflight and OCR choice

```bash
python <image2ppt-root>/cli/image2ppt/cli.py doctor --json
```

Use Baidu AI Studio `PADDLE_OCR_TOKEN` when configured. If it is absent, tell the
user once that the local `builtin-ink` fallback measures text geometry but does
not recognize characters; offer the configuration path in
`references/ocr-text-hints-contract.md`. Respect an offline-only choice.

### 2. Prepare one run

```bash
python <image2ppt-root>/cli/image2ppt/cli.py prepare <input...> \
  --out-root output/image2ppt --image-backend builtin-imagegen
```

To pin a configured third-party provider/model for auditable provenance, prepare
with `--image-backend openai-compatible-api`. The run contract records the exact
`IMAGE2PPT_IMAGE_MODEL` from the active project config or environment; it does not
substitute a GPT Image default merely because no `--model` flag was passed.

Use `--no-text-hints` only when OCR processing is intentionally disabled. Regenerate
hints without creating a new run when needed:

```bash
python <image2ppt-root>/cli/image2ppt/cli.py run hints <run-dir>
```

### 3. Advance and claim pages

```bash
python <image2ppt-root>/cli/image2ppt/cli.py run next <run-dir> --json
python <image2ppt-root>/scripts/build_page_worker_prompt.py \
  <run-dir> --page <page-id> --out <absolute-page-dir>/worker-prompt.md
python <image2ppt-root>/cli/image2ppt/cli.py run dispatch \
  <run-dir> --page <page-id> --agent-id <id> --prompt-file <absolute-prompt>
```

For exactly one page, claim it with `--local` and reconstruct it in the current
agent. For multiple pages, dispatch independent page workers up to the capacity in
`page_jobs.json`. Do not reset a live worker merely because it is slow.

### 4. Reconstruct and gate each page

Plan a structured page as 3–5 semantic regions and route each region independently.
Use measured compound diagrams: measure every node, relation, and protected anchor. Keep measurable
circles, cards, straight/dashed relations, and simple connectors native. Use bounded
transparent assets only for complex local subparts.

Represent a thin arrow as one connector with its arrowhead on the same object.
Represent a filled arrow as one Arrow AutoShape, with centered label text inside the
same object. Never construct an ordinary arrow from a line plus triangle and never
flatten a whole knowledge graph into one image.

Write new page manifests with `schema_version: 2`. Use structured
`visual_inventory` items with explicit `kind` and `representation` values, and
write a concrete `quality_evidence` observation for every required quality check.
Formula rendering is a hard gate: a missing engine, converter, or failed compile
must keep the page failed unless the user explicitly approves that exact formula
exception and the manifest records both `user_approved_exception: true` and a
concrete `approval_note`.

The worker Prompt performs the deterministic sequence. Its final gates are:

```bash
python <image2ppt-root>/cli/image2ppt/cli.py page build <page-dir>
python <image2ppt-root>/scripts/run_image2ppt_qa.py <page-dir>
# The first run writes visual-review-evidence.template.json and remains pending.
# Inspect source.png against render/rendered.png, copy and complete the template
# as visual-review-evidence.json, repair if needed, then:
python <image2ppt-root>/scripts/run_image2ppt_qa.py <page-dir> \
  --visual-review-status reviewed \
  --visual-review-evidence <page-dir>/visual-review-evidence.json
python <image2ppt-root>/cli/image2ppt/cli.py page contact-sheet <page-dir>
```

The evidence file must cover the current source/render hashes and every required
check with a specific observation. `--visual-review-notes` is optional context and
cannot substitute for the evidence file.

Record only after standard validation and the Image2PPT region, arrow, and rendered
gates pass:

```bash
python <image2ppt-root>/cli/image2ppt/cli.py run record \
  <run-dir> --page <page-id> --agent-id <id>
```

Use the same `run reset` → dispatch → record lifecycle to repair rejected pages.

### 5. Finalize and revalidate the rebuilt deck

When `run next` reports `finalize`, run:

```bash
python <image2ppt-root>/cli/image2ppt/cli.py run finalize <run-dir>
python <image2ppt-root>/scripts/run_final_image2ppt_qa.py <run-dir>
# The first run writes final/visual-review-evidence.template.json and remains pending.
# Inspect every rendered slide, complete final/visual-review-evidence.json, then:
python <image2ppt-root>/scripts/run_final_image2ppt_qa.py <run-dir> \
  --visual-review-status reviewed \
  --visual-review-evidence <run-dir>/final/visual-review-evidence.json
```

Finalize rebuilds from page manifests, preserves source speaker notes, validates the
package, and writes the output recorded by `deck_manifest.json`. Final QA reapplies
manifest arrows, verifies arrow atomicity and compound structure, renders every
slide, checks speaker-note integrity, and writes `final/image2ppt_qa.json`.

## Deliver

Return the final PPTX path, standard final validation, and
`final/image2ppt_qa.json`. Report which complex visuals remain replaceable bitmap
assets. Do not call the deck complete while any page/final gate is pending or failed.

© Yuan1z0825 · MIT · Yuan1z0825/nature-skills

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой