sn-ppt-doctor
Environment diagnostic for the PPT family. Validates sn-image-base, API keys, Node runtime, and optional deps; interactively writes .env for required vars. Runs before sn-ppt-entry…
SenseNova-Skills
@sensenova-skills
Install
$ openclaw skills install @sensenova-skills/sn-ppt-doctorsn-ppt-doctor
When to use
- Before the first time you use
sn-ppt-entry/sn-ppt-creative/sn-ppt-standard, to verify env is wired - After you change
.env, to confirm - When
sn-ppt-entryreports missing-env error and tells you to come here
Hard checks (must pass before sn-ppt-entry can run)
- Text chat API key is available via
SN_TEXT_API_KEY, sharedSN_CHAT_API_KEY, or globalSN_API_KEY - Vision chat API key is available via
SN_VISION_API_KEY, sharedSN_CHAT_API_KEY, or globalSN_API_KEY - Image generation API key is available via
SN_IMAGE_GEN_API_KEYor globalSN_API_KEY sn-image-baseis discoverable andsn_agent_runner.py --helpworks (auto-resolved as a sibling skill under the sameskills/directory;SN_IMAGE_BASEonly needed for non-standard layouts)node --version>= 18
Soft checks (warnings only)
$(pwd)/ppt_decks/creatable and writable (deck_dir parent; fixed — not configurable via env)sn-ppt-standard/scripts/export_pptx/node_modulesexists (runnpm installon first use otherwise)- Optional env vars (
SN_IMAGE_GEN_*,SN_CHAT_*,SN_TEXT_*,SN_VISION_*) — displays current value or "unset" pypdf/python-docxPython deps for doc parsing in sn-ppt-entry
Invocation
Single-file entry; no package imports, no -m, no PYTHONPATH needed.
python $SKILL_DIR/ppt_doctor/check_environment.py # interactive
python $SKILL_DIR/ppt_doctor/check_environment.py --non-interactive
python $SKILL_DIR/ppt_doctor/check_environment.py --env-path /custom/.env
When used inside OpenClaw, /skill sn-ppt-doctor runs the same entry.
Output
Plain text report — one line per check — then a summary. On any hard-check failure, enters interactive mode to fill .env (unless --non-interactive).
Does NOT
- Modify
sn-image-*skills or their.env - Install packages automatically (prints install commands instead)
- Run any PPT pipeline
Top skills in this category
Nano Pdf
@steipeteEdit PDFs with natural-language instructions using the nano-pdf CLI.
Word / DOCX
@ivangdavilaCreate, inspect, and edit Microsoft Word documents and DOCX files with reliable styles, numbering, tracked changes, tables, sections, and compatibility check...
Excel / XLSX
@ivangdavilaCreate, inspect, and edit Microsoft Excel workbooks and XLSX files with reliable formulas, dates, types, formatting, recalculation, and template preservation...
Markdown Converter
@steipeteConvert documents and files to Markdown using markitdown. Use when converting PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx, .xls), HTML, CSV, JSON, XML, images (with EXIF/OCR), audio (with transcription), ZIP archives, YouTube URLs, or EPubs to Markdown format for LLM processing or text analysis.
Powerpoint / PPTX
@ivangdavilaCreate, inspect, and edit Microsoft PowerPoint presentations and PPTX decks with reliable layouts, templates, placeholders, notes, charts, and visual QA. Use...