nature-image2ppt
Skill này làm gì
Skill này hướng dẫn agent biến ảnh chụp slide hoặc sơ đồ thành một file PowerPoint gồm các phần riêng có thể chỉnh sửa. Skill dành cho người chỉ có slide dưới dạng hình ảnh và cần chỉnh sửa chúng.
Khi nào nên dùng
- ✓Khi bạn có ảnh chụp màn hình slide và cần một file PowerPoint có thể chỉnh sửa.
- ✓Khi bạn có PDF scan của slide và muốn các phần của nó có thể chỉnh sửa.
- ✓Khi bạn có một sơ đồ dạng ảnh và muốn dựng lại thành các đối tượng PowerPoint.
Liên kết skill
https://github.com/Yuan1z0825/nature-skills/blob/main/skills/nature-image2ppt/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể biến ảnh chụp các slide cũ của tôi thành một file PowerPoint có thể chỉnh sửa không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đọc từng trang, tìm văn bản và hình dạng, rồi đặt chúng thành các đối tượng riêng trong một bộ slide mới. Nó kiểm tra kết quả trước khi giao.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Nature Image2PPT
Use this directory as the complete runtime. Run deterministic actions only through:
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.mdandreferences/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.jsonas the only page-state source. - Treat each
pages/page_NNN/manifest.jsonas the only page-content source. - Treat
deck_manifest.jsonas 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
--outoverrides must not use.., symlinks, or absolute paths to escape it. The sole external-input exception is an explicit image-tool result supplied toimage importor asprocess-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
confi
Câu hỏi thường gặp
Nó có viết bộ slide mới từ ghi chú nghiên cứu không?
Không. Skill dựng lại các hình ảnh có sẵn và không tạo bộ slide mới từ ghi chú nghiên cứu.
Nó có cần phần mềm bổ sung không?
Có. Skill cần Python 3.10 trở lên và một số thư viện, và nó kiểm tra chúng trước khi bắt đầu.
Nó có đọc được chữ trong ảnh không?
Có. Nó dùng nhận dạng văn bản (OCR), và skill có một hướng dẫn riêng để chọn công cụ đó.
Chi tiết
Mô tả gốc của tác giả
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.
repo: Yuan1z0825/nature-skills
Độ phổ biến
- Sao GitHub
- 52k
- Vị trí xếp hạng
- #3403
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
nature-academic-search
52kGiúp agent của bạn tìm kiếm tài liệu học thuật từ nhiều nguồn, kiểm tra trích dẫn và xây dựng chiến lược tìm kiếm kiểu PubMed.
nature-citation
52kCung cấp cho agent của bạn cách tìm và kiểm tra các bài báo thuộc họ Nature để hỗ trợ các khẳng định trong bản thảo, rồi xuất sang trình quản lý tài liệu.
nature-data
52kHướng dẫn agent của bạn soạn hoặc kiểm tra phần Data and Code Availability mà tạp chí yêu cầu, và lên kế hoạch nơi chia sẻ bộ dữ liệu.
nature-downloader
52kDạy agent của bạn tải toàn văn bài báo nghiên cứu một cách hợp pháp, qua truy cập mở, quyền truy cập thư viện hoặc các kênh của nhà xuất bản.
Skill tương tự
feishu-doc
394kGiúp agent của bạn đọc, tạo và sửa tài liệu đám mây Feishu, gồm văn bản, hình ảnh và bảng, bằng công cụ tài liệu.
feishu-drive
394kCho phép agent của bạn duyệt, sắp xếp và bình luận các file trong một thư mục đám mây Feishu đã được chia sẻ với bot.
feishu-perm
394kGiúp agent của bạn kiểm tra và thay đổi ai có quyền truy cập một file Feishu, chọn quyền nhỏ nhất đáp ứng yêu cầu của bạn.