# Build with AI

Every page of these docs is also available as plain Markdown, so a coding agent or chat assistant can read the exact API instead of guessing it.

## Give your assistant the docs

| What | Where |
|---|---|
| One page as Markdown | add `.md` to its address, for example `https://sellmycode.net/api-docs/upload.md` |
| Index of every page | `https://sellmycode.net/llms.txt` |
| The whole documentation in one file | `https://sellmycode.net/llms-full.txt` |

On every page, the **Copy page** button copies the page as Markdown, and its menu opens the page directly in ChatGPT, Claude or Perplexity.

## A prompt that works

```text
Read https://sellmycode.net/llms-full.txt. Write a release script for my SellMyCode item 123:
upload ./dist/my-item.zip with transfer=direct, complete it with the version from
package.json and the changelog from CHANGELOG.md, then poll the review state.
Read the API token from ~/.config/sellmycode/token and never print it.
```

## Keep your token safe with agents

- Give the agent a token with only the permissions the task needs — `items:read` and `items:upload` for releases, never `items:price` unless it must change prices.
- Never paste a token into a chat. Store it in a file and let the script read it — see [Authentication](https://sellmycode.net/api-docs/authentication.md#keep-tokens-out-of-code).
- Every change made with a token is written to the item history with the token name and emailed to you, so you can see what an agent did.

---
Source: https://sellmycode.net/api-docs/build-with-ai
