officecli-pptx
Ce qu’il fait
Cette skill guide l'agent IA dans le travail sur les fichiers de présentation .pptx grâce à l'outil officecli. Elle s'adresse à toute personne qui construit, lit ou modifie des diaporamas.
Quand l’utiliser
- ✓Quand vous voulez créer un nouveau diaporama ou une présentation à partir de votre contenu.
- ✓Quand vous avez besoin d'extraire le texte ou les notes de l'orateur d'un fichier PowerPoint existant.
- ✓Quand vous voulez modifier un modèle, changer des mises en page ou combiner des fichiers de diapositives.
Lien du skill
https://github.com/iOfficeAI/OfficeCLI/blob/main/skills/officecli-pptx/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Peux-tu transformer ces points clés en une présentation propre de 8 diapositives, avec des notes de l'orateur ?”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent utilise officecli pour lire la structure des diapositives, modifier les diapositives, le texte, les formes et les notes, puis vérifie le résultat.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
OfficeCLI PPTX Skill
Setup
If officecli is missing:
- macOS / Linux:
curl -fsSL https://d.officecli.ai/install.sh | bash - Windows (PowerShell):
irm https://d.officecli.ai/install.ps1 | iex
Verify with officecli --version (open a new terminal if PATH hasn't picked up). If install fails, download a binary from https://github.com/iOfficeAI/OfficeCLI/releases.
⚠️ Help-First Rule
This skill teaches what good slides look like, not every command flag. When a property name, enum value, or alias is uncertain, consult help BEFORE guessing.
officecli help pptx # List all pptx elements
officecli help pptx <element> # Full element schema (e.g. shape, chart, animation, connector, zoom, group)
officecli help pptx <verb> <element> # Verb-scoped (e.g. add shape, set slide)
officecli help pptx <element> --json # Machine-readable schema
Help reflects the installed CLI version. When skill and help disagree, help is authoritative. Triggers to run help immediately: UNSUPPORTED props: warning, unknown animation preset, connector.shape= enum drifts, prop-vs-alias (lineWidth vs line.width, color vs font.color).
Shell & Execution Discipline
Shell quoting (zsh / bash). ALWAYS quote element paths ("/slide[1]/...") — zsh globs unquoted [1] to no matches found. Escaping happens at three layers — keep them separate (the CLI handles the second for you):
- Shell.
$in a value still belongs to the shell — single-quote the whole value:--prop text='$15M'. Double-quoted"$15M"gets expanded toM. The CLI does NOT unescape\$for you. - CLI (
text=). The two-char escapes\nand\tARE interpreted, consistently across pptx / docx / xlsx —\nis a line / paragraph break,\tis a tab. To produce a literal backslash-n in text, double it (\\n); this is rarely what you want. - JSON (batch heredoc). The recipes below pipe
cat <<EOF | officecli batchunquoted so$SLIDE/$FILEexpand inside the body. That same unquoted heredoc also expands a literal$in a value:"$1.42"silently becomes.42and"$2.4B"becomes.4B($1/$2are empty shell params). Escape currency as\$—"text":"\$1.42"— which still lets$SLIDEexpand.\n/\tinside the JSON work either way. A fully-quoted<<'EOF'protects every$but then$SLIDEwon't expand, so only use it when the body has no shell variables. After writing money values,view textand confirm the$survived.
If in doubt, view text after writing and compare character-for-character.
Incremental execution. One command → check exit code → continue. A 50-command script that fails at command 3 cascades silently. After any structural op (new slide, chart, animation, connector) run get before stacking more.
Requirements for Outputs
These are the deliverable standards every deck MUST meet. Violating any one = not done, regardless of content quality.
All decks
One idea per slide. If a slide needs a second title to explain what it covers, split it. Dense "everything about X" slides lose the audience inside 3 seconds. Use a section divider to group related one-idea slides, not a mega-slide.
Explicit type hierarchy — do NOT rely on theme defaults. Theme defaults drift between masters. Set sizes explicitly on every text shape.
| Element | Minimum | Typical | Min shape height |
|---|---|---|---|
| Slide title | ≥ 36pt bold | 36–44pt | ≥ 2cm |
| Section / subtitle | ≥ 20pt | 20–24pt | ≥ 1.2cm |
| Body text | ≥ 18pt | 18–22pt | ≥ 1cm |
| Caption / axis label | ≥ 10pt muted | 10–12pt | ≥ 0.6cm |
Rule of thumb: min shape height ≈ font_pt × 0.05cm. An 18pt sublabel in a 0.8cm-tall box will overflow — view annotated catches this.
Title must be ≥ 2× body size (36pt over 20pt works; 28pt over 20pt looks timid). Four legit exceptions to body ≥ 18pt: chart axis labels, legends, footer / page number, and ≤ 5-word KPI sublabels (e.g. "Active users"). Descriptive sentences must be ≥ 18pt. Left-align body; center only titles and hero numbers. If "the cards won't fit", drop cards instead of shrinking font.
Two fonts max, one palette. One heading font + one body font (e.g. Georgia + Calibri) — a third display face is fine only for big numerals or the cover title, as long as that heading+body pair stays intact. One dominant brand color (60–70% weight) + one supporting + one accent. Ne
Questions fréquentes
Faut-il PowerPoint installé ?
Non. La skill indique qu'officecli fonctionne sans aucune installation d'Office.
Peut-elle lire les notes de l'orateur ?
Oui. La skill couvre les notes de l'orateur, les commentaires et les mises en page.
Où trouver les noms exacts des propriétés ?
La skill indique d'utiliser la commande d'aide d'officecli, qui fait référence.
Détails
Description originale de l’auteur
Use this skill any time a .pptx file is involved -- as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file; editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions 'deck', 'slides', 'presentation', 'pitch', or references a .pptx filename.
repo: iOfficeAI/OfficeCLI
Popularité
- Étoiles GitHub
- 33k
- Position au classement
- #9135
- Licence
- Apache-2.0
- Mis à jour
- 30/10/2026
Commentaires
- …
Autres skills de ce dépôt
officecli
33kPermet à votre agent de créer, lire, vérifier et modifier des fichiers Word, Excel et PowerPoint avec l'outil officecli, sans avoir besoin d'Office installé.
morph-ppt-3d
33kAide votre agent à construire une présentation PowerPoint avec un modèle 3D au format GLB et des transitions Morph fluides entre les diapositives.
morph-ppt
33kAide votre agent à créer un fichier PowerPoint avec des transitions Morph fluides, où les formes se déplacent, grossissent ou tournent d'une diapositive à l'autre.
officecli-academic-paper
33kAide votre agent à mettre en forme un article de recherche, une thèse ou un manuscrit en fichier Word, avec citations, équations et mise en page de type revue.
Skills similaires
feishu-doc
394kAide votre agent à lire, créer et modifier des documents cloud Feishu, y compris du texte, des images et des tableaux, grâce à l'outil de document.
feishu-drive
394kPermet à votre agent de parcourir, organiser et commenter des fichiers d'un dossier cloud Feishu partagé avec le bot.
feishu-perm
394kAide votre agent à vérifier et modifier qui peut accéder à un fichier Feishu, en choisissant la plus petite autorisation qui répond à votre demande.