pptx
Fungsinya
Skill ini bekerja dengan presentasi PowerPoint, mulai dari membaca teks slide sampai membangun deck baru dari ringkasan. Skill ini ditujukan untuk orang yang perlu membuat atau memperbarui slide dalam format PowerPoint.
Kapan dipakai
- ✓Saat Anda membutuhkan berkas PowerPoint yang dibuat dari ringkasan atau kerangka.
- ✓Ketika Anda perlu memperbarui deck yang sudah ada sambil menjaga templatnya.
- ✓Ketika Anda perlu mengambil teks dan catatan pembicara dari berkas .pptx.
Link skill
https://github.com/TokenRhythm/opensquilla/blob/main/src/opensquilla/skills/bundled/pptx/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Bisakah Anda mengubah kerangka ini menjadi deck PowerPoint sepuluh slide dengan templat perusahaan kami?”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent membangun deck di ruang kerja dengan memakai tata letak dari templat, lalu meninjau slide dan menerbitkan berkas yang sudah jadi. Jika sesi tidak bisa membuat berkas, agent menyatakannya alih-alih menempelkan kode.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
pptx
Work with PowerPoint .pptx decks. The pptx file format is OOXML — a zip
container holding XML descriptions of slides, layouts, masters, and media.
Delivery rule
First, use the available tool list for this session to choose the delivery path.
If write_file, edit_file, apply_patch, or execute_code is available:
- Build the
.pptxin the active workspace using the paths below. - Call
publish_artifactfor the final.pptxbefore your final reply when that tool is available. - The code examples later in this document apply.
In restricted channels, run the inline Python examples with execute_code
and save workspace-relative files before calling publish_artifact. Shell,
Node, and LibreOffice commands require the corresponding exposed tool and
runtime. Do not use Python subprocesses to bypass an unavailable shell tool,
and do not retry generation on the host when sandbox execution fails.
If none of those file-authoring tools are available:
- Do not attempt to generate, save, or modify the
.pptx. - Do not paste OOXML, Python, JavaScript, HTML, or other source as a substitute for sending the deck.
- Ignore the Path B, Path C, and Visual QA sections below; they do not apply when file authoring is unavailable.
- Reply plainly: explain that the current session cannot create files, and
offer to publish an existing
.pptxby path, describe the slide contents in text, or continue in a file-authoring surface such as the OpenSquilla Web UI.
In all cases, do not paste full file source as the deliverable. Source code is appropriate only when the user explicitly asks for code.
Decide the path first
Pick one of three paths up front; do not mix them. The right path depends only on what is on disk before you start.
| You have | Goal | Path |
|---|---|---|
Existing .pptx |
Read text only | A. Read |
Existing .pptx |
Modify content while keeping the design | B. Edit-in-place |
| Nothing, or a brief | Build a new deck | C. Create from scratch |
If the user hands you a deck and asks for changes, default to path B and treat the input deck as the visual style baseline. Only fall back to path C when the user explicitly says "start fresh" or there is no input deck.
Path A: Read text from a .pptx
When shell execution is available, use the helper script. It walks slides via
the python-pptx public API and prints text grouped by slide. With
execute_code, use the inline Python example instead.
python {baseDir}/scripts/extract_text.py /path/to/deck.pptx
python {baseDir}/scripts/extract_text.py /path/to/deck.pptx --json
For programmatic use, call python-pptx directly:
from pptx import Presentation
prs = Presentation("deck.pptx")
for i, slide in enumerate(prs.slides, 1):
for shape in slide.shapes:
if shape.has_text_frame:
for para in shape.text_frame.paragraphs:
print(i, "".join(run.text for run in para.runs))
If markitdown is available, it gives a faster Markdown rendering:
python -m markitdown deck.pptx
Path B: Edit an existing deck
Two sub-strategies; pick by how invasive the edit is.
B1. Text-only edits (preferred)
When the change is "swap this string for that one" or "fill these placeholders": use python-pptx to mutate runs in place. This preserves all theme/master/font settings.
from pptx import Presentation
prs = Presentation("input.pptx")
slide = prs.slides[0]
for shape in slide.shapes:
if not shape.has_text_frame:
continue
for para in shape.text_frame.paragraphs:
for run in para.runs:
if run.text == "{{TITLE}}":
run.text = "Q3 Review"
prs.save("output.pptx")
Edit at the run level, not the paragraph level — replacing whole paragraph
text drops formatting. If a placeholder spans multiple runs (often happens
when the original template had partial bold/italic), concatenate the runs into
the first run and clear the others.
B2. Structural edits (add/remove/reorder slides, change layouts)
python-pptx's slide-level mutation is limited (no public reorder API). For
structural work, unzip the .pptx, patch ppt/presentation.xml and the
slide files, and repack:
mkdir _unpacked && (cd _unpacked && unzip -q ../input.pptx)
# edit _unpacked/ppt/presentation.xml (sldIdLst order)
# edit _unpacked/ppt/slides/slideN.xml content
(cd _unpacked && zip -q -r ../output.pptx . -x "*.DS_Store")
Rules
Pertanyaan umum
Bagaimana jika sesi tidak bisa membuat berkas?
Skill ini menyatakan agent harus menjelaskan keterbatasannya dan menawarkan untuk bekerja dengan berkas yang sudah ada.
Apakah templat saya tetap dipertahankan?
Ya. Skill ini dibangun untuk mempertahankan templat dan tata letaknya saat menyunting.
Apakah bisa membaca catatan pembicara?
Ya. Skill ini mencakup pengambilan teks dan catatan pembicara dari deck.
Detail
Deskripsi asli dari pembuat
Read, inspect, edit, or create PowerPoint `.pptx` presentations, including text extraction, template-preserving changes, slide review, and generation from a brief.
repo: TokenRhythm/opensquilla
Popularitas
- Bintang GitHub
- 7.1k
- Peringkat
- #13591
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
browser-use
7.1kMembiarkan agent Anda membuka, membaca, dan mengoperasikan halaman web di browser samping pada OpenSquilla Desktop, termasuk formulir dan pemeriksaan visual.
deep-research
7.1kMengajari agent Anda melakukan riset multi-putaran dengan rencana yang tersimpan, sumber yang dilacak, dan laporan panjang dengan sitasi.
docx
7.1kMembantu agent Anda membaca, menyunting, atau membuat berkas Word .docx sambil menjaga format, perubahan terlacak, dan struktur tetap utuh.
html-coder
7.1kMembantu agent Anda menulis halaman HTML yang bersih dan semantik dengan formulir, media, dan fitur HTML5 yang mudah diakses, lalu membukanya sebagai pratinjau web.
Skill serupa
feishu-doc
394kMembantu agent Anda membaca, membuat, dan mengedit dokumen cloud Feishu, termasuk teks, gambar, dan tabel, dengan memakai alat dokumen.
feishu-drive
394kMemungkinkan agent Anda menelusuri, mengatur, dan memberi komentar pada file di folder cloud Feishu yang sudah dibagikan kepada bot.
feishu-perm
394kMembantu agent Anda memeriksa dan mengubah siapa yang dapat mengakses file Feishu, dengan memilih izin terkecil yang memenuhi permintaan Anda.