Install the agent skill
Add our skill once, and your agent reads the Gelatin UI rules before it adds an item. One command for Claude Code, Codex, Cursor, or any other agent.
For AI agents · step 1 of 4 · 4 min read
Prompt for your agent
Your agent reads /docs/agent-skill.md: the same text as this page, as Markdown.
A skill is a folder of rules that your agent reads before it writes code. Our skill tells it how Gelatin UI items fit together.
The skill is plain files: SKILL.md with its references and rules. Tools that find skills by URL read /.well-known/agent-skills/index.json.
Add the skill
Find your agent below and do its three steps in order. Not listed? Do the steps of Any other agent.
Claude Code
Step 1: Get the skill. The skills CLI finds the skill on our site and adds it to your project.
Step 2: Add the MCP server. The skill calls its tools to find, read, and check items.
Step 3: Ask for UI. The agent loads the skill when components.json names our registry, or when you name Gelatin UI.
Codex
Step 1: Get the skill. The skills CLI finds the skill on our site and adds it to your project.
Step 2: Add the MCP server. The skill calls its tools. With a Pro API key, use the Codex setup.
Step 3: Ask for UI. The agent loads the skill when components.json names our registry, or when you name Gelatin UI.
Cursor
Step 1: Get the skill. The skills CLI finds the skill on our site and adds it to your project.
Step 2: Add the MCP server. Put this in .cursor/mcp.json. With a Pro API key, add the header of the Cursor setup.
Step 3: Ask for UI. The agent loads the skill when components.json names our registry, or when you name Gelatin UI.
Antigravity CLI
Step 1: Get the skill. The skills CLI finds the skill on our site and adds it to your project.
Step 2: Add the MCP server. Put this in .agents/mcp_config.json. The Antigravity CLI setup says why it gives Free items only.
Step 3: Ask for UI. The agent loads the skill when components.json names our registry, or when you name Gelatin UI.
Any other agent
Your agent is not above? It can still use the skill. Do the first option that works for your agent.
Step 1: Get the skill.
-
The
skillsCLI knows many agents (github-copilot,gemini-cli,cline,roo,windsurf,zed, and more). Find the id of yours in the list of agent ids, then run:npx skills add https://gelatinui.com -a <your agent id> -y -
Not in the list? Download the skill archive that /.well-known/agent-skills/index.json names. Unpack it as a
gelatin-uifolder in the folder where your agent loads skills. -
Your agent has no skills? Add the Gelatin UI block to AGENTS.md, or to the rules file that your agent reads.
Step 2: Add the MCP server. Do the steps of Any other client.
Step 3: Ask for UI. Name Gelatin UI in your request, as above.
How the agent reads the skill
The agent reads SKILL.md first. It opens a reference or a rule only when the task needs it. So the skill takes little space in the context of the agent.
Skill and MCP server
Use both. The skill tells the agent how to work. The MCP server gives it the items.
- The skill. The order of the calls, and when to ask you. Parts inside the root, and links through
render. Theme and motion tokens, not raw values. - The MCP server. Search across each Free and Pro item. The anatomy, props, and install plan of an item. Checks of your code and your versions.
Next steps
- Connect the MCP server: let your agent find and add items.
- Add rules to AGENTS.md: paste the Gelatin UI rules into the file that every agent reads.
- Get a newer version: Gelatin UI is in alpha, so a newer version can break your code.