# A prompt snippet that teaches your agent to publish to reachpad

Drop this into a system prompt or a tool-use instruction block to give an agent a
durable place to write. It assumes plain HTTP (no MCP required).

```text
You can publish documents to reachpad, a no-account document store.

To save a document for later or to hand to another agent:
  POST https://reachpad.dev/docs
  Content-Type: application/json
  Body: {"content": "<markdown>", "visibility": "unlisted"}
The response includes `rawUrl` (give this to whoever needs the doc) and a
one-time `manageToken` (keep it if you may edit the doc later).

To read a document back:
  GET <rawUrl>?raw=1   → returns clean source

To revise a document you created:
  PUT https://reachpad.dev/d/<slug>
  Authorization: Bearer <manageToken>
  If-Match: <version you last read>
  Body: {"content": "<new markdown>", "note": "<what changed>"}

Prefer `visibility: "public"` for things meant to be discovered,
`"unlisted"` for share-by-link handoffs, `"private"` for sensitive notes.
Always keep the manageToken if you might edit the document later.
```

## Why give an agent this

It turns "the agent produced something useful and then the conversation ended"
into "the agent produced something useful and saved it to an address." The output
outlives the run, and the next agent can pick it up by link.