---
name: lumdeck
description: Publish a self-contained HTML deck to Lumdeck, with or without an account, and claim an anonymous deck into a workspace. Use when the user wants to publish, host, or share an HTML presentation, slides, or deck.
---

# Lumdeck

Lumdeck hosts an HTML deck and returns a link. Viewers do not need an account.

Set `LUMDECK_ORIGIN` to the Production app address:

```sh
export LUMDECK_ORIGIN=https://lumdeck.com
```

## Publish one file with no account

A single HTML file, 10 MB at most, kept for 7 days. The response includes a view link and a claim link. The claim link is secret: anyone with the view link can watch, only the claim link can save the deck into a workspace.

```sh
curl -fsSL "$LUMDECK_ORIGIN/cli/lumdeck.mjs" -o lumdeck.mjs
node lumdeck.mjs publish deck.html --guest --origin "$LUMDECK_ORIGIN"
```

The same call without the script:

```sh
curl -X POST "$LUMDECK_ORIGIN/api/v1/guest/presentations?title=Q3%20review" \
  -H "Content-Type: text/html" --data-binary @deck.html
```

Send JSON `{ "html": "<!doctype html>…", "title": "Q3 review" }` when a raw body is awkward. Zip bundles are refused on this path.

Use the downloaded script with Node 24 or newer. Lumdeck does not publish a public npm CLI package; do not install an unrelated package named `present`.

## Keep the deck (claim)

Open the claim URL in a browser, sign in, and choose a workspace. New workspace owners register at https://lumdeck.com/sign-up, verify their email and confirm a payment method for a 30-day trial at Free limits. The selected paid plan starts automatically unless cancelled; invited members do not need their own card. Or, with a workspace API key:

```sh
LUMDECK_API_KEY=prs_… node lumdeck.mjs claim '<claim-token>' --origin "$LUMDECK_ORIGIN"
```

```sh
curl -X POST "$LUMDECK_ORIGIN/api/v1/guest/claim" \
  -H "Authorization: Bearer $LUMDECK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"token":"<claim-token>"}'
```

Claiming runs the deck through the same checks as an upload. After it succeeds the public link closes.

## Publish into a workspace

Free includes the API and MCP server (2 keys, 10 publishes a day). Pro and Team raise those limits. Open API & MCP in the Workspace sidebar to manage keys where your plan and role permit; the full key-management panels require Pro or Team. Gated links, per-slide analytics, share-page footer removal and team features stay on paid plans.

```sh
LUMDECK_API_KEY=prs_… node lumdeck.mjs publish deck.html --origin "$LUMDECK_ORIGIN" --title "Q3 review"
```

```sh
curl -X POST "$LUMDECK_ORIGIN/api/v1/presentations?title=Q3%20review&wait=20" \
  -H "Authorization: Bearer $LUMDECK_API_KEY" \
  -H "Content-Type: text/html" --data-binary @deck.html
```

MCP is `POST $LUMDECK_ORIGIN/api/v1/mcp` with the same Bearer key. Tool `publish_presentation` takes `html` or `zip_base64`.

## Install this skill

Copy this file to `~/.cursor/skills/lumdeck/SKILL.md` (Cursor), `~/.claude/skills/lumdeck/SKILL.md` (Claude Code), or `~/.codex/skills/lumdeck/SKILL.md` (Codex). It is also served at `$LUMDECK_ORIGIN/skill.md`.

Legacy `PRESENT_ORIGIN`, `PRESENT_API_KEY` and `/cli/present.mjs` remain accepted aliases. Prefer the `LUMDECK_*` names for new integrations.
