Coding agent · Skill · OpenCode

PCafe × OpenCodeThe HTML slide deck skill for OpenCode

OpenCode loads skills from ~/.config/opencode/skills/ and also reads .claude/skills/ and .agents/skills/. With pcafe installed, one sentence in the terminal gets you a deck that passes its checks.

Step one

Install PCafe in OpenCode

  1. Install with the first command (npx skills), or unpack the skill into ~/.config/opencode/skills/ with the second.
  2. Already in ~/.claude/skills/ or ~/.agents/skills/? OpenCode reads it there; no second install.

Afterwards, open a new chat and ask what the pcafe skill does. If it can tell you, the skill is loaded.

npx skills add Web-Casa/pcafe -s pcafe -g -a opencode -y

or

mkdir -p ~/.config/opencode/skills && curl -fsSL https://p.cafe/downloads/pcafe-skill.zip -o /tmp/pcafe-skill.zip && unzip -oq /tmp/pcafe-skill.zip -d ~/.config/opencode/skills

Step two

Working with OpenCode once it is installed

  • Say “make a deck with pcafe”; OpenCode loads the full instructions through its skill tool.
  • Set pcafe to allow in opencode.json to skip the prompt each time.
  • Switching models doesn’t change the result: templates and checks live in the skill.

A prompt to copy

Using the pcafe skill, turn the v2.0 section of CHANGELOG.md into an 8-slide release deck in the dark theme. Build once npx pcafe check prints PASS.

Naming the file, the audience, the length and what counts as done helps far more than “make it look nice”.

Results

Decks made with PCafe

All sample decks →

Why PCafe

Why use PCafe for slides in OpenCode

Fixed templates that hold their layout

OpenCode only writes your content into PCafe’s 270-plus open-source templates; layout, type sizes and colour come from the template, so the deck doesn’t change shape every time.

Delivered only at PASS

Every slide has text limits. Overflow, overlap and tiny type fail the check, and OpenCode trims or splits slides and checks again until PASS.

One offline HTML file

The result is one HTML file that presents with a double-click and no network; it also exports to PDF and editable PowerPoint.

Questions

PCafe × OpenCode: questions

Any model?

Yes. PCafe doesn’t depend on the model; the skill and checks are the same for all. Stronger models pass the check sooner.

Is PCafe free?

The open-source version is free for personal and commercial work and keeps a “Made with PCafe” credit. Pro adds 11 paid template packs and lets you remove the credit.

Can I get a PowerPoint file?

Yes. Have OpenCode run npx pcafe pptx <name>; the text comes out as editable text boxes. PDF export works too.

Do I need Node.js?

Building the HTML needs Node.js 20.19 or later, and OpenCode runs the npx commands. Without it, the skill falls back to a storyline and a slide-by-slide outline.

How do I install on Windows?

The npx skills command works in PowerShell too. The unzip one-liners are for macOS and Linux; on Windows, download pcafe-skill.zip and extract it into the matching skills folder under your user folder, for example %USERPROFILE%\.agents\skills.

Other tools

PCafe also works in

All skills and plugins →See the Pro templates →