### Install with npx from repository root Source: https://github.com/henryhyw/slidepoise/blob/main/docs/USAGE.md Use this command from the repository root to run the managed installation via npx. It invokes the setup command which prepares the framework home and workspace folders. ```bash npx . setup ``` -------------------------------- ### Install SlidePoise for your agent Source: https://github.com/henryhyw/slidepoise/blob/main/docs/IMAGE_GENERATION.md Installs the SlidePoise skill and runtime for your agent. Setup detects supported installations; add --agent claude, --agent qoder, or --agent codex to choose a platform explicitly, and repeat the option to install for several platforms. Restart or reload skills after installation. ```bash npx github:henryhyw/slidepoise setup ``` -------------------------------- ### Development setup and test commands Source: https://github.com/henryhyw/slidepoise/blob/main/README.md Commands to set up a Python virtual environment, install the package with dev and runtime dependencies, install npm dependencies, and run the test suites. On Windows, use executables in .venv\Scripts. ```bash python -m venv .venv .venv/bin/pip install -e '.[dev,runtime]' npm ci PYTHONDONTWRITEBYTECODE=1 .venv/bin/python -m pytest npm test ``` -------------------------------- ### Verify SlidePoise installation with doctor, profile list, and generation show Source: https://github.com/henryhyw/slidepoise/blob/main/docs/AGENT_SETUP.md Run these three commands to inspect the setup's exit status and JSON output. Confirm the selected platform appears in skills, Node dependencies were prepared, and preview installation finished. A successful process exit alone does not establish that the requested platform was registered. ```bash npx github:henryhyw/slidepoise doctor npx github:henryhyw/slidepoise profile list npx github:henryhyw/slidepoise generation show ``` -------------------------------- ### Set up development environment Source: https://github.com/henryhyw/slidepoise/blob/main/CONTRIBUTING.md Create a virtual environment, install development dependencies, and install npm packages. Use the Windows activation command on Windows. ```bash python -m venv .venv source .venv/bin/activate python -m pip install -e ".[dev,runtime]" npm ci ``` -------------------------------- ### Run SlidePoise setup for Claude Code Source: https://github.com/henryhyw/slidepoise/blob/main/docs/AGENT_SETUP.md Use this command in Claude Code to install SlidePoise for the current user. It creates an isolated runtime under ~/.slidepoise, installs bundled Profiles and Library Sets, and registers the skill. The command uses non-interactive defaults when run without a terminal. ```bash npx github:henryhyw/slidepoise setup --agent claude ``` -------------------------------- ### Install into a Python environment (venv + npm ci) Source: https://github.com/henryhyw/slidepoise/blob/main/docs/USAGE.md Use these commands to install SlidePoise into a Python virtual environment you manage. It creates a venv, installs the runtime extras, installs npm dependencies, and runs the setup command. On Windows, use .venv\Scripts\pip.exe and .venv\Scripts\slidepoise.exe instead. ```bash python -m venv .venv .venv/bin/pip install -e '.[runtime]' npm ci .venv/bin/slidepoise setup ``` -------------------------------- ### Check SlidePoise installation with npx doctor Source: https://github.com/henryhyw/slidepoise/blob/main/docs/USAGE.md Run this command to check the installation. It verifies both preview executables and reports an incomplete installation as an error. Resolve the reported issue and rerun the same command. Advanced users can pass --skip-preview if their Agent host already provides PowerPoint rendering. ```bash npx github:henryhyw/slidepoise doctor ``` -------------------------------- ### Launch the slidepoise Console Source: https://github.com/henryhyw/slidepoise/blob/main/README.md Run this command after installation to open the optional local Console for inspecting or adjusting Profiles and Library Sets. The Console uses sample data and does not inspect your computer. ```bash npx github:henryhyw/slidepoise console ``` -------------------------------- ### SlidePoise CLI commands Source: https://github.com/henryhyw/slidepoise/blob/main/docs/USAGE.md Example commands for the SlidePoise CLI. On macOS and Linux, use ~/.slidepoise/python/bin/slidepoise; on Windows, use %USERPROFILE%\.slidepoise\python\Scripts\slidepoise.exe. A checkout or pipx installation provides the shorter slidepoise command. ```bash slidepoise doctor slidepoise profile list slidepoise profile show editorial-archive slidepoise profile select editorial-archive slidepoise profile create "My Studio" --based-on editorial-archive slidepoise profile add-resource my-studio visual_references reference.png --name "Editorial rhythm" --description "Asymmetric type and image treatment" slidepoise library list slidepoise library create icons "Research symbols" slidepoise library add-resource research-symbols icon.svg --name "Research" --license "CC0" slidepoise console ``` -------------------------------- ### Rebuild a sample presentation Source: https://github.com/henryhyw/slidepoise/blob/main/examples/README.md Run the packaged reconstruction path with the retained designs and semantic maps. Use a new output directory for each run. Add --no-preview to construct the PowerPoint without rendering images. Fonts and the preview renderer can affect the result. ```bash python examples/rebuild.py examples/consulting-ai-transformation --output-dir output/consulting-rebuild ``` -------------------------------- ### Render complete deck preview with slidepoise_runtime.py Source: https://github.com/henryhyw/slidepoise/blob/main/slidepoise/references/portable-artifacts.md Renders the complete deck to a PDF and rasterizes pages in presentation order. Use a new preview directory for each revision. The command stops if the page count differs from the PowerPoint or the source changes during rendering; a failed conversion leaves no partially published preview directory. ```bash python scripts/slidepoise_runtime.py render-deck-preview \ --pptx deliverables/presentation.pptx \ --output-dir deliverables/preview-v1 ``` -------------------------------- ### Render deck from manifest with slidepoise_runtime.py render-deck Source: https://github.com/henryhyw/slidepoise/blob/main/slidepoise/references/deck-orchestration.md Run this command to assemble the ordered deck from the scene manifest. The runtime verifies structural compatibility but does not judge narrative or visual quality. Only scenes compiled from measured SlidePoise reconstruction inputs are accepted. ```bash python scripts/slidepoise_runtime.py render-deck \ --manifest work/deck-scenes.json \ --output deliverables/presentation.pptx ``` -------------------------------- ### Open session panel with slidepoise panel --run Source: https://github.com/henryhyw/slidepoise/blob/main/slidepoise/references/session-panel.md Opens the session style panel for a specific presentation run. The --run flag must point to an absolute path to the presentation. The returned panel ID should be preserved for the conversation. ```bash slidepoise panel --run /absolute/path/to/presentation ``` -------------------------------- ### Run tests and checks Source: https://github.com/henryhyw/slidepoise/blob/main/CONTRIBUTING.md Run the full test suite and static checks. Set PYTHONDONTWRITEBYTECODE in PowerShell. The preview test requires LibreOffice, pdftoppm, and pdftotext. ```bash PYTHONDONTWRITEBYTECODE=1 python -m pytest -q npm test npx playwright install chromium npm run test:browser python -m ruff check --select E9,F63,F7,F82 framework webapp slidepoise tests setup.py python slidepoise/scripts/preflight_config.py framework/defaults/slidepoise-config.json python slidepoise/scripts/preflight_catalogs.py --profiles-root profiles python slidepoise/scripts/audit_skill_boundaries.py ``` -------------------------------- ### Bundle portable deck with slidepoise_runtime.py Source: https://github.com/henryhyw/slidepoise/blob/main/slidepoise/references/portable-artifacts.md Bundles compiled scenes and raster sources for a reproducible case. Each optional --include copies one explicitly selected source file or directory under evidence/; use distinct names. The bundle output must be outside the included source directories. Evidence retains exact bytes and authored pointers. ```bash python scripts/slidepoise_runtime.py bundle-deck \ --manifest work/deck-scenes.json \ --output-dir presentation-bundle \ --include work \ --include slides ``` -------------------------------- ### Verify and rebuild bundle with slidepoise_runtime.py Source: https://github.com/henryhyw/slidepoise/blob/main/slidepoise/references/portable-artifacts.md Verifies a bundle's closed file inventory and then rebuilds the presentation from its manifest. Write rebuilt outputs outside the bundle. Verification reports added, missing, or changed source files; the bundle does not include runtime dependencies or fonts. ```bash python scripts/slidepoise_runtime.py verify-bundle \ --bundle-dir presentation-bundle ``` ```bash python scripts/slidepoise_runtime.py render-deck \ --manifest presentation-bundle/deck-scenes.json \ --output rebuilt/presentation.pptx ``` -------------------------------- ### Agent prompt for creating a presentation Source: https://github.com/henryhyw/slidepoise/blob/main/README.md Paste this prompt into your Agent to create a five-slide presentation about an AI pilot. It instructs the Agent to use the Consulting Profile, make assumptions explicit, show a sample, and deliver an editable PowerPoint. ```text Use SlidePoise to create a five-slide presentation for our leadership team about an AI pilot. Use the Consulting Profile. Develop a clear recommendation, make the assumptions explicit, and show me one sample before finishing the deck. Deliver an editable PowerPoint. ``` -------------------------------- ### Run validation commands Source: https://github.com/henryhyw/slidepoise/blob/main/docs/USAGE.md Run these commands in order to validate the project: preflight configuration, catalog preflight, skill boundary audit, and the test suites (pytest and node --test). ```bash python slidepoise/scripts/preflight_config.py framework/defaults/slidepoise-config.json python slidepoise/scripts/preflight_catalogs.py --profiles-root profiles python slidepoise/scripts/audit_skill_boundaries.py python -m pytest node --test tests/console_interactions.test.mjs tests/panel_interactions.test.mjs ``` -------------------------------- ### Export generation request for manual exchange Source: https://github.com/henryhyw/slidepoise/blob/main/slidepoise/references/image-generation.md Compiles the normal generation request and exports a handoff folder containing image-generation.zip, prompt.txt, and reference files for manual exchange. ```bash slidepoise generation export --request --output ``` -------------------------------- ### Manage presentation runs with slidepoise run commands Source: https://github.com/henryhyw/slidepoise/blob/main/docs/USAGE.md Commands to create, show, resolve, sync, and manage events for a presentation run. Each run contains work/deck-outline.json and slide IDs remain stable. Use 'run sync' to read durable panel changes, 'run ack-events' after adopting changes, and 'run archive' to preserve the presentation before revising. ```bash slidepoise run create "Executive summary" slidepoise run show /absolute/path/to/run slidepoise run resolve /absolute/path/to/run slidepoise run sync /absolute/path/to/run slidepoise run events /absolute/path/to/run slidepoise run ack-events /absolute/path/to/run --ids --expected ``` -------------------------------- ### Render preview with LibreOffice Source: https://github.com/henryhyw/slidepoise/blob/main/slidepoise/SKILL.md Use this command to generate a preview when LibreOffice is available. It invokes the slidepoise runtime Python script to render a preview of the current scene. ```bash scripts/slidepoise_runtime.py render-preview ``` -------------------------------- ### Configure image generation in manual mode Source: https://github.com/henryhyw/slidepoise/blob/main/docs/AGENT_SETUP.md Use this command to switch image generation to manual mode. In manual mode, SlidePoise exports the exact compiled prompt and ordered visual references, and the user generates an image in their chosen app and returns the downloaded file. The Agent imports it, reviews it, and continues the same reconstruction workflow. ```bash npx github:henryhyw/slidepoise generation configure --mode manual ``` -------------------------------- ### Import returned image from handoff Source: https://github.com/henryhyw/slidepoise/blob/main/slidepoise/references/image-generation.md Imports a returned image from a handoff folder, checking that the request and references remain current and recording file facts without accepting the image. ```bash slidepoise generation import --handoff --image --output ``` -------------------------------- ### Assemble ordered slide scenes Source: https://github.com/henryhyw/slidepoise/blob/main/slidepoise/SKILL.md Use this command to assemble ordered slide scenes into a deck. The manifest file work/deck-scenes.json defines the scene order. ```bash scripts/slidepoise_runtime.py render-deck --manifest work/deck-scenes.json ``` -------------------------------- ### Configure image generation mode from terminal Source: https://github.com/henryhyw/slidepoise/blob/main/docs/IMAGE_GENERATION.md Terminal commands to view the current generation mode and switch between manual and automatic modes. A selected tool can be saved with --mode tool --tool , and --model when supported. Use an empty string to clear a model preference, and --run to change one presentation. ```bash slidepoise generation show slidepoise generation configure --mode manual slidepoise generation configure --mode auto ``` -------------------------------- ### Open the session panel with a run path or ID Source: https://github.com/henryhyw/slidepoise/blob/main/docs/USAGE.md Opens the Slidepoise session panel for a given run, either by absolute path or by panel ID with a view style. The panel shows inherited Profile, density, typography, palette, icon treatment, Library Sets, uploads, and overridden values. It must be opened with a known run and has no presentation picker. ```bash slidepoise panel --run /absolute/path/to/presentation slidepoise panel --id --view style ``` -------------------------------- ### Run OpenCV measurement and reconstruction command Source: https://github.com/henryhyw/slidepoise/blob/main/slidepoise/references/workflow.md Use this command to run OpenCV measurement before building the reconstruction contract and constructor scene. It requires an accepted slide image, semantic map, upstream handoff, config, stable slide ID, and output directory. Inspect the debug overlay and rerun after updating the semantic map if corrections are needed. ```bash python scripts/slidepoise_runtime.py reconstruct-slide \ --image work/accepted-slide.png \ --semantic-map work/semantic-map.json \ --upstream-handoff work/reconstruction-handoff.json \ --config ../../work/resolved-config.json \ --slide-id \ --output-dir work/reconstruction ``` -------------------------------- ### Export and import manual image generation exchange Source: https://github.com/henryhyw/slidepoise/blob/main/docs/IMAGE_GENERATION.md Commands for manual image generation exchange. Export prepares a ZIP with the prompt, numbered references, and instructions; import brings back the generated image as a candidate for review. An imported file is a candidate only—its existence does not mean the design is accepted. ```bash slidepoise generation export --request generation-request.json --output image-exchange slidepoise generation import --handoff image-exchange --image downloaded.webp --output candidate.png ``` -------------------------------- ### Isolated profile directory structure Source: https://github.com/henryhyw/slidepoise/blob/main/docs/USAGE.md Shows the directory layout for an isolated profile and its libraries, as well as the structure for library sets. Visual references belong to a profile, while icons and components belong to coherent Library Sets that can be shared across profiles. ```text profiles// profile.json libraries/ visual_references/catalog.json library-sets/ catalog.json icons//catalog.json components//catalog.json ```