# Exhibits > Exhibits publishes HTML files as web pages, public or password protected. Agents publish with the `@episkope/exhibits` CLI, run through npx. The steps below are the Exhibits agent skill. To keep these steps as a skill, save https://exhibits.page/skill.md as `exhibits/SKILL.md` in your skills folder. For Claude Code, that is `~/.claude/skills/exhibits/SKILL.md`. Run the CLI as `npx @episkope/exhibits `. If `exhibits` is already on the PATH, `exhibits ` is the same CLI. Create a self-contained HTML file, then run `npx @episkope/exhibits check ./plan.html --json`. Fix validation errors and run `npx @episkope/exhibits upload ./plan.html --json`. Return the URL from the receipt. Re-upload the same path to update; use `--new` only for a separate exhibit. Use `--draft ` when updating from another machine/path. Pages over 5 MiB get their embedded images optimized before upload: PNGs become lossless WebP, and images over 2400px on the longest side are scaled down. If `check` still reports `too-large`, add `--lossy` to both commands. Add `--no-optimize` when the page must keep every image byte for byte. ## Connect the CLI for your human Run `npx @episkope/exhibits whoami` first. If it succeeds, the CLI is connected. If it reports a missing or rejected key, connect it: 1. Run `npx @episkope/exhibits auth login --no-wait --json`. It prints one JSON line with `verificationUrl` and `userCode`, and opens the browser when the machine has a desktop. 2. Send your human the `verificationUrl` and the `userCode`. Ask them to check that the page shows the same code, then click **Approve**. 3. Run `npx @episkope/exhibits auth wait --json`. It blocks until they approve, then saves the key and prints `{"status":"approved",...}`. Connection is done when that line appears. The key travels from the server to the CLI's credentials file. Your human approves in the browser and keeps the key out of the chat. If `auth wait` reports the login expired or was denied, start again at step 1. Pages are public unless they have a password. Upload only content your human has authorized, and keep secrets out of the HTML even on a protected page. ## Protect a page with a password Add a password only when your human asks for one. - `upload ./plan.html --password --json` generates a password. The receipt's `password` field is the only copy: Exhibits keeps a hash. Send it to your human with the URL. - To use a password your human chose, pipe it in: `printf '%s' "$PAGE_PASSWORD" | npx @episkope/exhibits upload ./plan.html --password-stdin --json`. The CLI never takes a password as an argument. - `upload --no-password` makes the page public again. An upload without a password option keeps the page's current access. - `password --generate`, `--stdin`, or `--remove` changes the password without uploading. A new password signs out every viewer. The password covers every version of the page. Viewers enter it once per browser for 7 days. To read a protected page, follow the exhibits-read skill. If the receipt has `"edgePurge": "failed"` or the command exits 1 after setting a password, the password is on but cached copies of version links may still be public for up to a day. Run `password --stdin` with the same password to retry, and tell your human if it keeps failing. Folders need index.html and relative links between HTML pages. Only HTML files are uploaded. Inline JavaScript works, but external scripts, fetch/XHR, forms, iframes, workers, and browser storage are blocked. Prefer inline CSS and embedded assets. Use `npx @episkope/exhibits list` to locate existing personal exhibits.