Skip to content
Gelatin UIAlpha

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

Read https://gelatinui.com/docs/agent-skill.md. Find the agent I use, and run its steps; if it is not listed, run the steps of Any other agent. Add the Gelatin UI skill, and add the MCP server if the client supports it. Done: the skill files are in this project, and the client lists the gelatin-ui MCP server and its tools.

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.

Plain text

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.

Plain text

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.

JSON

Step 3: Ask for UI. The agent loads the skill when components.json names our registry, or when you name Gelatin UI.

Plain text

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.

JSON

Step 3: Ask for UI. The agent loads the skill when components.json names our registry, or when you name Gelatin UI.

Plain text

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.

  1. The skills CLI 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
    
  2. Not in the list? Download the skill archive that /.well-known/agent-skills/index.json names. Unpack it as a gelatin-ui folder in the folder where your agent loads skills.

  3. 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