PPTX 文档离线读写:解析/替换/重排/缩略图、OOXML 解包编辑回包,以及 html2pptx(HTML→PPT)工作流。适用于生成与维护演示文稿(依赖安装可能需要网络)。
PPTX 文档离线读写:解析/替换/重排/缩略图、OOXML 解包编辑回包,以及 html2pptx(HTML→PPT)工作流。适用于生成与维护演示文稿(依赖安装可能需要网络)。
SKILL.mdscripts/ (optional)references/ (optional)assets/ (optional)Installing a skill means your coding tool / agent runner can discover the
SKILL.mdinside it (typically via askills/directory, or via a built-in “install from Git” feature).
From this repo root:
Set SKILLS_DIR to whatever skills folder your tool scans (examples: ~/.codex/skills, ~/.claude/skills, ~/.config/opencode/skills, etc):
SKILLS_DIR=~/.codex/skills
mkdir -p "$SKILLS_DIR"
rm -rf "$SKILLS_DIR/pptx-offline"
cp -R agent/skills/pptx-offline "$SKILLS_DIR/pptx-offline"
From this repo root:
SKILLS_DIR=~/.codex/skills
mkdir -p "$SKILLS_DIR"
rm -rf "$SKILLS_DIR/pptx-offline"
ln -s "$(pwd)/agent/skills/pptx-offline" "$SKILLS_DIR/pptx-offline"
Prereqs for openskills:
npx openskills ... (it will download and run).npm i -g openskills (or pnpm add -g openskills).Install from a cloneable repo URL (do not use a GitHub .../tree/... subdirectory link):
npx openskills install https://github.com/okwinds/miscellany
When prompted, select pptx-offline (repo path: agent/skills/pptx-offline).
Verify / read back:
npx openskills list
npx openskills read pptx-offline
Many coding tools can install/load skills directly from a GitHub/Git URL. If yours supports it, point it at this repo and select/target agent/skills/pptx-offline.
Many tools require a restart / new session to re-scan skills.
Run these commands from the installed skill directory:
cd /path/to/pptx-offline
# Text extraction to markdown
python -m markitdown path-to-file.pptx
# OOXML workflow
python3 ./ooxml/scripts/unpack.py path-to-file.pptx unpacked-pptx
python3 ./ooxml/scripts/pack.py unpacked-pptx out.pptx
Install Node deps locally (recommended):
cd /path/to/pptx-offline
npm i
Then convert a single HTML slide:
node ./scripts/html2pptx-local.cjs slide.html out.pptx
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer