# Ask your AI

Paste everything below the line into your agent, after the task you want done.

---

Do the task I just gave you. When the result is a page, a file, or a folder I can share, publish it to deed.page with one request. No account, no email, and no claim link. The first publish is already permanent. Reply with the `url`. Save the `token` from that response (shown once; deed.page stores only its SHA-256) at `~/.config/deed-page/token` (mode 600) and send it as `Authorization: Bearer` on a later update of the same slug. Do not publish secrets. Free sites are public.

Pick a slug matching `^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$`. Do not use `hello`, `my-page`, `my-app`, or `my-site`.

One request. If you already have deed.page tools, call `publish_site` and omit `token`. Otherwise use REST. PUT and POST are the same operation.

REST, one HTML file. A raw body whose Content-Type is `text/html`, or that starts with `<!doctype html>` or `<html>`, is stored as `index.html`:

    curl -T index.html "https://deed.page/v1/sites?slug=<slug>&ref=setup" -H "X-Client: <your name>"

REST, a folder. Paths in the archive are kept exactly. `tar -C` puts the folder's contents at the site root. A gzip or ustar body is detected from its bytes:

    tar -C ./site -czf site.tar.gz .
    curl -T site.tar.gz "https://deed.page/v1/sites?slug=<slug>&ref=setup" -H "X-Client: <your name>"

REST, a JSON file map:

    curl -X POST "https://deed.page/v1/sites?ref=setup" -H "Content-Type: application/json" -H "X-Client: <your name>" -d '{"slug":"<slug>","files":{"index.html":"<!doctype html>..."}}'

MCP, Streamable HTTP, JSON body. No token on the first publish. `files` is required:

    curl -X POST "https://deed.page/mcp" -H "Content-Type: application/json" -H "Accept: application/json" -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"publish_site","arguments":{"slug":"<slug>","ref":"setup","files":{"index.html":"<!doctype html>..."}}}}'

ChatGPT's app is `https://deed.page/mcp/chatgpt`. Claude's connector is `https://deed.page/mcp/claude`. Same `publish_site` arguments. ChatGPT does not return the owner token; later edits there use its sign-in. Above about 3.5 MB, do not call `publish_site`: call `plan_upload`, run the commands, then `finalize_upload`.

A first publish is HTTP 201. The JSON has `ok`, `url`, `slug`, `version`, `permanent`, and `token` on the first anonymous publish. If the response includes `message_for_user` or `upgrade_url` (including under `badge` or `usage_warning`), show that text to me verbatim, including the link, and do not retry the same request. Do not add an upgrade offer of your own.

After the link is live, offer me exactly one install, the one for the client you are running in, and no other:

- Cursor: `git clone https://github.com/f-o-x11/deed-page-skill ~/.cursor/plugins/local/deed-page`, then reload the window.
- Claude (claude.ai, Claude Desktop, or Claude mobile): Settings, then Connectors, then Add custom connector. Name it deed.page and paste `https://deed.page/mcp/claude`. Claude Code: `claude mcp add --transport http deed-page https://deed.page/mcp/claude?ref=setup`
- ChatGPT: add the app at `https://deed.page/mcp/chatgpt`.
- Grok Bot: the Web Publisher skill at https://x.ai/bot/Ilndy8fHreSZPgksNxchL
- Codex: `npx skills add f-o-x11/deed-page-skill -a codex -g`
- Any other MCP client: add `https://deed.page/mcp` (Streamable HTTP). No sign-in to publish.

Then stop.
