pptx
यह क्या करती है
यह स्किल PowerPoint प्रेज़ेंटेशन के साथ काम करती है, स्लाइड का टेक्स्ट पढ़ने से लेकर ब्रीफ़ से नया डेक बनाने तक। यह उन लोगों के लिए है जिन्हें PowerPoint फ़ॉर्मेट में स्लाइड बनवानी या अपडेट करवानी हैं।
कब इस्तेमाल करें
- ✓जब आपको रूपरेखा या ब्रीफ़ से PowerPoint फ़ाइल बनवानी हो।
- ✓जब आपको मौजूदा डेक अपडेट करना हो और उसका टेम्पलेट बनाए रखना हो।
- ✓जब आपको .pptx फ़ाइल से टेक्स्ट और स्पीकर नोट्स निकालने हों।
Skill का लिंक
https://github.com/TokenRhythm/opensquilla/blob/main/src/opensquilla/skills/bundled/pptx/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप इस रूपरेखा को हमारे कंपनी टेम्पलेट का इस्तेमाल करके दस स्लाइड वाले PowerPoint डेक में बदल सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट टेम्पलेट के लेआउट इस्तेमाल करके वर्कस्पेस में डेक बनाता है, फिर स्लाइड की समीक्षा करता है और तैयार फ़ाइल प्रकाशित करता है। अगर सेशन फ़ाइलें नहीं बना सकता, तो एजेंट यह बताता है, कोड नहीं चिपकाता।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
अक्सर पूछे जाने वाले सवाल
अगर सेशन फ़ाइलें न बना सके तो?
स्किल कहती है कि एजेंट सीमा समझाए और इसके बजाय किसी मौजूदा फ़ाइल पर काम करने की पेशकश करे।
क्या यह मेरा टेम्पलेट रखता है?
हाँ। स्किल बदलाव के समय टेम्पलेट और उसके लेआउट को सुरक्षित रखने के लिए बनाई गई है।
क्या यह स्पीकर नोट्स पढ़ सकता है?
हाँ। स्किल डेक से टेक्स्ट और स्पीकर नोट्स निकालना कवर करती है।
जानकारी
लेखक का मूल विवरण
Read, inspect, edit, or create PowerPoint `.pptx` presentations, including text extraction, template-preserving changes, slide review, and generation from a brief.
repo: TokenRhythm/opensquilla
लोकप्रियता
- GitHub स्टार
- 7.1k
- रैंकिंग में स्थान
- #13591
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
browser-use
7.1kयह आपके एजेंट को OpenSquilla Desktop के साइडबार ब्राउज़र में वेब पेज खोलने, पढ़ने और चलाने देती है, जिसमें फ़ॉर्म और विज़ुअल जाँच शामिल हैं।
deep-research
7.1kयह आपके एजेंट को सहेजी गई योजना, ट्रैक किए गए स्रोतों और उद्धरणों वाली लंबी रिपोर्ट के साथ कई दौर का गहन शोध करना सिखाती है।
docx
7.1kयह आपके एजेंट को Word .docx फ़ाइलें पढ़ने, बदलने या बनाने में मदद करती है, और फ़ॉर्मेटिंग, ट्रैक्ड बदलाव और ढाँचा बना रहता है।
html-coder
7.1kयह आपके एजेंट को सुलभ फ़ॉर्म और HTML5 फ़ीचर वाले साफ़ HTML पेज लिखने और उन्हें वेब प्रीव्यू में खोलने में मदद करती है।
मिलती-जुलती skills
feishu-doc
394kयह आपके एजेंट को document टूल से Feishu क्लाउड दस्तावेज़ पढ़ने, बनाने और बदलने में मदद करती है, जिसमें टेक्स्ट, इमेज और टेबल शामिल हैं।
feishu-drive
394kयह आपके एजेंट को बॉट के साथ साझा किए गए Feishu क्लाउड फ़ोल्डर में फ़ाइलें देखने, व्यवस्थित करने और उन पर टिप्पणी करने देती है।
feishu-perm
394kयह आपके एजेंट को Feishu फ़ाइल तक किसकी पहुंच है, यह जांचने और बदलने देती है, और आपके अनुरोध के लिए सबसे छोटी अनुमति चुनती है।