pptx
O que ela faz
Esta skill trabalha com apresentações do PowerPoint, desde a leitura do texto dos slides até a criação de uma apresentação nova a partir de um briefing. Serve para quem precisa criar ou atualizar slides no formato PowerPoint.
Quando usar
- ✓Quando você precisa de um arquivo PowerPoint criado a partir de um briefing ou de um roteiro.
- ✓Quando você precisa atualizar uma apresentação existente mantendo o modelo dela.
- ✓Quando você precisa extrair o texto e as anotações do orador de um arquivo .pptx.
Link da skill
https://github.com/TokenRhythm/opensquilla/blob/main/src/opensquilla/skills/bundled/pptx/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Pode transformar este roteiro em uma apresentação de dez slides no PowerPoint usando o modelo da nossa empresa?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente monta a apresentação no espaço de trabalho usando os layouts do modelo, depois revisa os slides e publica o arquivo final. Se a sessão não puder criar arquivos, o agente diz isso em vez de colar código.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
E se a sessão não puder criar arquivos?
A skill diz que o agente deve explicar a limitação e oferecer trabalhar com um arquivo existente.
Ele mantém o meu modelo?
Sim. A skill é feita para preservar o modelo e os layouts ao editar.
Ele consegue ler as anotações do orador?
Sim. A skill cobre a extração de texto e de anotações do orador de uma apresentação.
Detalhes
Descrição original do autor
Read, inspect, edit, or create PowerPoint `.pptx` presentations, including text extraction, template-preserving changes, slide review, and generation from a brief.
repo: TokenRhythm/opensquilla
Popularidade
- Estrelas no GitHub
- 7,1 mil
- Posição no ranking
- #13591
- Licença
- Apache-2.0
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
browser-use
7,1 milPermite que seu agente abra, leia e opere páginas web no navegador da barra lateral do OpenSquilla Desktop, incluindo formulários e verificações visuais.
deep-research
7,1 milEnsina seu agente a fazer uma pesquisa em várias rodadas, com um plano salvo, fontes acompanhadas e um relatório longo com citações.
docx
7,1 milAjuda seu agente a ler, editar ou criar arquivos Word .docx, mantendo a formatação, as alterações rastreadas e a estrutura intactas.
html-coder
7,1 milAjuda seu agente a escrever páginas HTML limpas e semânticas, com formulários acessíveis, mídia e recursos do HTML5, e abri-las como uma prévia web.
Skills parecidas
feishu-doc
394 milAjuda seu agente a ler, criar e editar documentos na nuvem do Feishu, incluindo textos, imagens e tabelas, usando a ferramenta de documentos.
feishu-drive
394 milPermite que seu agente navegue, organize e comente arquivos de uma pasta na nuvem do Feishu que foi compartilhada com o bot.
feishu-perm
394 milAjuda seu agente a verificar e alterar quem pode acessar um arquivo do Feishu, escolhendo a menor permissão que atende ao seu pedido.