Gelatin UI docs
Install Gelatin UI and build with it through your AI agent. Every page has a prompt to copy and a Markdown copy for the agent.
2 min read
Prompt for your agent
Your agent reads /docs.md: the same text as this page, as Markdown.
How to use these docs
Your agent does the work, and you check it. Each page gives the agent what it needs in plain text.
- A prompt on every page. Copy it into your agent. It names the Markdown copy of the page and says when the task is done.
- A Markdown copy of every page. Add
.mdto the URL, or send the headerAccept: text/markdownto the page URL. - The same text for you and the agent. The page shows the Markdown as it is, with no tabs and no hidden parts.
- Commands that run as written. Each step names the files that it changes.
Connect your agent
Do these three steps once in each project. Then ask for UI in plain words, and the agent finds and adds the components and blocks.
- Add the agent skill. It teaches the agent how our components fit together.
- Add the MCP server. The agent uses it to search, read the docs of a component, and plan the install.
- Add our rules to the
AGENTS.mdfile of your project. Add rules to AGENTS.md has the block to paste.
These commands are for Claude Code. For Codex, Cursor, and other agents, see Install the agent skill and Connect the MCP server.
Files for agents
Each Markdown answer sends an x-markdown-tokens header with its rough size in tokens, so an agent knows the cost before it reads.