Zum Inhalt springen
Skillpedia
PDF, Word & Folien260k · #497

pptx-author

Was er macht

Hier wird eine PowerPoint-Datei aus Code erstellt, geeignet für modellbasierte Präsentationen wie Pitch-Decks, Investment-Memos und Ergebnisnotizen. Der Skill richtet sich an Analysten und Finanzteams, deren Präsentationen zu ihren Zahlen passen müssen.

Wann du ihn nutzt

  • ✓Wenn du eine .pptx-Datei brauchst, die aus einem Modell oder einer Arbeitsmappe entsteht.
  • ✓Wenn du ein Pitch-Deck, ein IC-Memo oder eine Ergebnisnotiz erstellst, deren Zahlen übereinstimmen müssen.
  • ✓Wenn du eine Präsentation als Datei statt innerhalb einer laufenden PowerPoint-Sitzung willst.

Link zum Skill

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/finance/pptx-author/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/finance/pptx-author/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Verwandle die Zahlen in dieser Modell-Arbeitsmappe in eine Pitch-Präsentation mit zehn Folien und speichere sie als PowerPoint-Datei.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent schreibt ein Python-Skript mit der Bibliothek python-pptx, erstellt die Folien und speichert die Präsentation in einem Ausgabeordner. Er gibt dir den Dateipfad zurück, damit du sie öffnen kannst.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

pptx-author

Produce a .pptx file on disk using python-pptx. Use when you need to deliver a deck as a file artifact, not drive a live PowerPoint session.

Adapted from Anthropic's pptx-author and pitch-deck skills in anthropics/financial-services. The MCP / Office-JS branches of the originals are dropped — this assumes headless Python.

For the broader, already-shipped PowerPoint authoring skill (slides, speaker notes, embeds, media), see the built-in microsoft-office skill. This skill is a lighter-weight pattern tuned for model-backed decks (pitch decks, IC memos, earnings notes) where every number must trace to a source workbook.

Output contract

  • Write to ./out/<name>.pptx. Create ./out/ if it does not exist.
  • Return the relative path in your final message.

Setup

Use python when it already imports pptx (the Hermes Docker image ships it). Otherwise, when hermes is on PATH, let Hermes build its shared, pinned documents environment under the Hermes home (safe to run from several agents at once); in a Docker sandbox without Hermes the block builds a venv in the sandbox home with the same pinned versions. It is the same block as the microsoft-office/pdf skills. Never pip install into the interpreter that runs Hermes:

python -c "import pptx" 2>/dev/null && PY=python || if command -v hermes >/dev/null 2>&1; then
  PY="$(hermes pm environment documents --extra documents --extra documents-pdf)"
else
  PY="$HOME/.cache/hermes-docs-venv/bin/python"
  "$PY" -c "import docx, openpyxl, pptx, reportlab, pypdf, pdfplumber, pypdfium2" 2>/dev/null || (
    # Safe to run from several agents at once: each caller builds a private venv,
    # a symlink publishes the first finished one atomically, the others delete theirs;
    # a published build is replaced and deleted only while it still fails to import.
    mkdir -p "$HOME/.cache" && cd "$HOME/.cache" && stage="$(mktemp -d hermes-docs-venv.XXXXXX)" || exit 1
    old="$(readlink hermes-docs-venv)"  # the published build, if any (another agent may have just published it)
    python3 -m venv "$stage" &&
      "$stage/bin/python" -m pip install -q --disable-pip-version-check python-docx==1.2.0 openpyxl==3.1.5 python-pptx==1.0.2 reportlab==5.1.0 pypdf==6.21.2 pdfplumber==0.11.10 pypdfium2==5.14.0 &&
      "$stage/bin/python" -c "import docx, openpyxl, pptx, reportlab, pypdf, pdfplumber, pypdfium2" &&
      if [ -z "$old" ]; then python3 -c 'import os, sys; os.symlink(*sys.argv[1:])' "$stage" hermes-docs-venv
      elif [ "$(readlink hermes-docs-venv)" = "$old" ] && ! "$old/bin/python" -c "import docx, openpyxl, pptx, reportlab, pypdf, pdfplumber, pypdfium2" 2>/dev/null; then
        ln -s "$stage" "$stage.lnk" && python3 -c 'import os, sys; os.replace(*sys.argv[1:])' "$stage.lnk" hermes-docs-venv &&
          case "$old" in hermes-docs-venv.??????) rm -rf "$old" ;; esac
      fi 2>/dev/null
    [ "$(readlink hermes-docs-venv)" = "$stage" ] || rm -rf "$stage" "$stage.lnk"
  )
fi
export PY

Run the deck-building Python with "$PY".

Core conventions

One idea per slide

Title states the takeaway; body supports it. A slide titled "Q3 Revenue" is weak; "Revenue growth accelerated to 14% Y/Y in Q3" is strong.

Every number traces to the model

If a figure on a slide came from ./out/model.xlsx, footnote the sheet and cell.

Revenue: $1,250M  (Source: model.xlsx, Inputs!C3)

Never transcribe numbers from memory or from a summary — open the workbook, read the named range, and bind the deck value to it programmatically when you can.

Use the firm template when one is mounted

If ./templates/firm-template.pptx exists, load it so the deck inherits branded colors, fonts, and master layouts.

from pptx import Presentation
from pathlib import Path

template = Path("./templates/firm-template.pptx")
prs = Presentation(str(template)) if template.exists() else Presentation()

Charts: PNG-from-model beats native pptx charts

When fidelity matters (the model's chart styling must match the deck exactly), render the chart to PNG from the source workbook and embed the image. Native pptx.chart charts are fragile and often don't match firm conventions.

from pptx.util import Inches
slide.shapes.add_picture("./out/charts/football_field.png",
                         Inches(1), Inches(2),
                         width=Inches(8))

No external sends

This skil

Häufige Fragen

Gibt es einen eigenen PowerPoint-Skill?

Ja. Dieser Skill verweist für allgemeine Folien, Sprechernotizen und Medien auf den Skill microsoft-office.

Braucht es eine installierte PowerPoint-Version?

Nein. Die .pptx-Datei wird direkt mit Python geschrieben.

Wo wird die Ausgabe gespeichert?

In einem Ordner namens out im Arbeitsverzeichnis.

Details

Originalbeschreibung des Autors

Build PowerPoint decks headless with python-pptx.

repo: NousResearch/hermes-agent

Beliebtheit

GitHub-Sterne
260k
Platz im Ranking
#497
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills