Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add darellchua2/opencode-config-template --skill pptx-generate-template-skillgit clone --depth 1 https://github.com/darellchua2/opencode-config-templateWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/darellchua2/opencode-config-template/pptx-generate-template-skill)<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/pptx-generate-template-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/pptx-generate-template-skill/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/pptx-generate-template-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/pptx-generate-template-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.03696 |
| Opus 5.5 | $0.00022 | $0.01478 |
| Sonnet 5.5 | $0.00011 | $0.00739 |
| Haiku 4.5 | $0.00006 | $0.00370 |
Grade A, and why
pptx-generate-template-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 246 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Running the snippets
Every snippet below reads the skill's scripts via os.environ['SKILL_DIR']. Export it once per session to the directory containing this SKILL.md (the loader prints it), e.g.:
export SKILL_DIR=~/.config/opencode/skills/pptx-generate-template-skill # ← your install location
A missing export fails loud (KeyError: 'SKILL_DIR') by design.
What I do
I am the pptx-generate-template-skill (US-3.1). I take any .pptx, run the full extraction pipeline, and return a templated PPTX — the original file plus an embedded ppt/template_schema.json that describes every layout, component, font, and theme color. The embedded JSON "travels with the file" so it can be queried or reused later.
I orchestrate the existing schema_extractor engine end-to-end:
extract → validate → (title confirm) → (confirmation table) → embed → return templated PPTX + summary
I do not fill templates, generate slides, or build decks. Those are pptx-generate-slide-skill and pptx-subagent. I only extract and package a template definition.
When to use me
Use this skill when the user wants to:
- "extract the template from this PPTX"
- "generate a template" / "make a templated PPTX"
- "what layouts / components / fonts does this template have?"
- "fingerprint this deck" / "describe this template's structure"
- produce a reusable, self-describing
.pptxfor later slide generation
Do NOT use me for:
- Filling a template with content →
pptx-generate-slide-skill - Extending a template's layouts (cloning) →
pptx-template-modifier-skill - Generating a presentation / slides →
pptx-subagent
Engine
The engine lives in this skill's vendored scripts/_common package (per-skill copy per #437, superseding the shared PLAN-GIT-72 layout). I call its functions directly (so I can inspect the extracted schema mid-pipeline for the title-confirmation and confirmation-table steps):
| Function | Purpose |
|---|---|
extract_schema(path) -> dict |
Read the PPTX, emit the proposed-schema JSON (US-1.1–1.5, US-2.1 header/footer detection, US-3.5 master text defaults). |
validate_template_schema(dict) -> ValidationResult |
Structural validation (incl. title_source enum, MAJOR-2). |
needs_header_footer_prompt(schema) -> bool |
True when the template has neither header nor footer (US-2.1 AC2). |
inject_default_header_zone(schema) |
Inject a default header zone into the schema metadata (US-2.1 AC3, schema-only). |
embed_schema(pptx, schema, out) -> EmbeddedSchemaResult |
Write ppt/template_schema.json into a PPTX copy (US-1.5). |
build_extraction_summary(dict) -> str |
Human-readable summary, incl. master text defaults (US-3.3 AC2). |
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- scripts/_common/contract_adapter.py 8.8 KB runs code
- scripts/_common/errors.py 963 B runs code
- scripts/_common/geometry.py 7.4 KB runs code
- scripts/_common/layout_contract.py 13 KB runs code
- scripts/_common/master_repairer.py 21 KB runs code
- scripts/_common/schema_extractor.py 75 KB runs code
- scripts/_common/schemas/template_schema.json 14 KB
- scripts/_common/template_introspector.py 10 KB runs code
- scripts/_common/tests/test_master_repairer.py 16 KB runs code
- scripts/_common/tests/test_master_text_defaults.py 3.9 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago Changed · +10 lines c0dc0d6f5850
- 2mo ago Changed c5d2298a4162
- 3mo ago First seen · 236 lines · 55 tokens per session scan A e03003ddd1fb
pptx-generate-template-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 55 tokens to every session and 3,696 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
pptx-generate-template-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pptx-generate-template-skilldarellchua2/opencode-config-template | Skill | 6 | 2mo ago | Apache-2.0 | A | 55 | Claude Code, Codex |
| ppt-masterhugohe3/ppt-master | Skill | 82k | yesterday | MIT | A | 108 | Claude Code |
| paper2assetsmicrosoft/ResearchStudio | Skill | 3.9k | today | MIT | A | 0 | Claude Code |
| pptagenticip-cas/PPTAgent | Skill | 5.3k | 12d ago | MIT | A | 52 | Claude Code, Codex |
| html2pptxmicrosoft/ResearchStudio | Skill | 3.9k | today | MIT | B | 345 | Claude Code, Codex |
| guizang-ppt-skillop7418/guizang-ppt-skill | Skill | 31k | 1mo ago | AGPL-3.0 | A | 176 | Claude Code, Codex |
| impress-presentationsagent0ai/agent-zero | Skill | 20k | today | none | A | 23 | Claude Code |