Coding agent · Skill · Anysphere

PCafe × CursorThe HTML slide deck skill for Cursor

Cursor’s agent loads skills from ~/.cursor/skills/ and ~/.agents/skills/ automatically. With pcafe installed, describe the deck in Agent mode and it writes it with PCafe’s templates and checks until PASS.

Step one

Install PCafe in Cursor

  1. Install globally with the first command (npx skills, Cursor already chosen), or unpack into ~/.cursor/skills/ with the second.
  2. For one project only, put it in that project’s .cursor/skills/.

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 cursor -y

or

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

Step two

Working with Cursor once it is installed

  • In Agent mode say “make a deck with pcafe”, or @-mention skills/pcafe/SKILL.md.
  • Keep npx pcafe dev open in a preview and steer the agent as you watch.
  • Cursor’s terminal runs npx pcafe check; have the agent trim or split whatever fails.

A prompt to copy

Using the pcafe skill, make a 10-slide tech talk from @notes.md for the frontend team in the grid style. One point per slide; use CodeDiff for code. Done when 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 Cursor

Fixed templates that hold their layout

Cursor 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 Cursor 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 × Cursor: questions

Without Agent mode?

You can reference skills/pcafe/SKILL.md as context, but writing files and running the check need Agent mode.

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 Cursor 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 Cursor 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 →