Every page of the documentation also exists in Markdown: the same text, without the site layout, which AI assistants read without losing anything. You can copy a page, give it to Moon AI or Moon CLI, or point another tool to its address.
Markdown version of a pageLink to the Markdown version of a page section
Replace the trailing slash of the address with .md:
| Page | Markdown version |
|---|---|
https:// | https:// |
https:// | https:// |
https:// | https:// |
The Markdown version includes the title, the summary, the text, the tables and the code examples with their language. Links are written as full addresses. A last line gives the section, the page address and the date it was last updated.
Files for AI toolsLink to the Files for AI tools section
| File | Contents |
|---|---|
https:// | The documentation index in llms.txt format: each section, and each page with the address of its Markdown version and a one-line description. |
https:// | The whole documentation in one file, page after page, in reading order. |
https:// | Moon AI as a whole (product, pricing, security), with a pointer to the two documentation files. |
The full file is over a million characters long. For an assistant with a limited context window, give it the Markdown version of the pages you need instead.
The page menuLink to the The page menu section
At the top of each page, to the right of the title (above the title on a phone), “Copier la page” (Copy page) puts the Markdown version of the page on your clipboard. The arrow next to it opens the other actions:
| Action | What it does |
|---|---|
| “Copier en Markdown” (Copy as Markdown) | Copies the Markdown version of the page. |
| “Voir en Markdown” (View as Markdown) | Opens the Markdown version in a new tab. |
| “Ouvrir dans Moon AI” (Open in Moon AI) | Opens a new chat with a request for you to complete, for example Lis (“Read … and help me with”). Nothing is sent until you send the message. |
| “Utiliser avec Moon CLI” (Use with Moon CLI) | Copies the command that gives the page to Moon CLI (see below). |
| “Copier le lien de la section” (Copy section link) | Copies the address of the last section you were reading, whose name appears below the action, or the address of the page if you haven’t scrolled down from the top. |
You can use the menu with the keyboard: arrow keys, Home, End, Enter to choose, Esc to close.
With Moon AILink to the With Moon AI section
“Open in Moon AI” prepares the request in a new chat, with the address of the Markdown version. Add your question and send it: Moon reads the page at that address, then answers you. You can also paste the copied page into your message.
With Moon CLILink to the With Moon CLI section
In your project folder, give a page to the agent with the --prompt option, which sends the message as soon as it opens:
moon --prompt "Read https://realmoon.ai/documentation/api/chat.md, then help me use this API in this project."By default, Moon CLI asks for your approval before reading a web address (the webfetch permission, see Permissions). On the API and Moon CLI pages, the “Code with Moon CLI” box at the bottom of the page gives the command for the open page.
On macOS, Linux and WSL, you can also pipe the page into moon run on standard input, which adds it to the request:
curl -fsSL https://realmoon.ai/documentation/api/chat.md | moon run "summarize the parameters on this page"