How icip-cas/pptagent works
PPTAgent is a coding-agent skill for creating, revising, visually reviewing, and exporting editable PowerPoint decks. The primary workflow is agent-authored HTML slides in a task workspace, slide rendering and review, PPTX build, deck review, then delivery. The sampled runtime centers on a CLI orchestrating workspace operations and a core module; configuration and visual-model review are supporting layers. README-documented authoring capabilities are included, but their implementation is described by skill instructions rather than sampled runtime code.
Main entry points: pptagent.py Workflow CLI · core.py Workflow engine · visual.py Visual model client · SKILL.md PPTAgent skill
Components 18
Agent authoring
- PPTAgent skill
skills/pptagent/SKILL.md - Task workspace
- HTML slide sources
Workflow runtime
- Workflow CLI
skills/pptagent/scripts/pptagent.py - Runtime configuration
skills/pptagent/scripts/pptagent_runtime/config.py - Workflow engine
skills/pptagent/scripts/pptagent_runtime/core.py - Workflow state
Visual review
- Slide rendering
skills/pptagent/scripts/pptagent_runtime/core.py - Slide review
skills/pptagent/scripts/pptagent.py - Visual model client
skills/pptagent/scripts/pptagent_runtime/visual.py - Deck rendering
skills/pptagent/scripts/pptagent_runtime/core.py - Visual review MCP
skills/pptagent/scripts/visual_mcp.py
Deck delivery
- PPTX build
skills/pptagent/scripts/pptagent_runtime/core.py - Editable PPTX
- Delivery checks
skills/pptagent/scripts/pptagent_runtime/core.py
Other components
- Coding agent
- External vision model
- LibreOffice
Connections 20
- Coding agent → PPTAgent skill: invokes
README.md - PPTAgent skill → Coding agent: guides authoring
README.md - Coding agent → Task workspace: creates task
README.md - Coding agent → HTML slide sources: authors and revises
README.md - Workflow CLI → Runtime configuration: loads settings
skills/pptagent/scripts/pptagent.py - Workflow CLI → Workflow engine: dispatches workflow
skills/pptagent/scripts/pptagent.py - Workflow engine → Workflow state: reads and writes
skills/pptagent/scripts/pptagent_runtime/core.py - Workflow engine → Slide rendering: renders slides
skills/pptagent/scripts/pptagent_runtime/core.py - Workflow CLI → Slide review: runs review
skills/pptagent/scripts/pptagent.py - Slide review → Visual model client: requests assessment
skills/pptagent/scripts/pptagent.py - Visual model client → Runtime configuration: gets review settings
skills/pptagent/scripts/pptagent_runtime/visual.py - Visual model client → External vision model: sends images
skills/pptagent/scripts/pptagent_runtime/visual.py - Workflow CLI → Deck rendering: renders deck
skills/pptagent/scripts/pptagent.py - Deck rendering → LibreOffice: converts to PDF
skills/pptagent/scripts/pptagent_runtime/core.py - Visual review MCP → Workflow CLI: dispatches review
skills/pptagent/scripts/visual_mcp.py - Workflow CLI → PPTX build: builds deck
skills/pptagent/scripts/pptagent.py - PPTX build → HTML slide sources: converts sources
skills/pptagent/scripts/pptagent_runtime/core.py - PPTX build → Editable PPTX: produces
skills/pptagent/scripts/pptagent_runtime/core.py - Workflow CLI → Delivery checks: checks delivery
skills/pptagent/scripts/pptagent.py - Delivery checks → Editable PPTX: validates artifact
skills/pptagent/scripts/pptagent_runtime/core.py