Set up Claude Code, Cursor, Codex, Kiro, GitHub Copilot, Windsurf, Gemini CLI or OpenCode to install and use our loaders for you.
For agents · 4 min read
Prompt for your agent
Your agent reads /docs/ai-agents.md: the same text as this page, as Markdown.
Your coding agent can install our loaders and write the code that uses them. Set it up once, in three parts:
- The registry in
components.json, so the agent can install items by name. - The agent skill: one file that tells the agent what we ship, how to install it and which docs to read.
- The shadcn MCP server: tools that let the agent search our registry and install items.
Before you start
Your project needs shadcn. If it has no components.json yet, run npx shadcn@latest init once. Then add our registry to components.json:
{
"registries": {
"@dots-engine": "https://dotsengine.dev/r/{name}.json"
}
}Set up your agent
Pick your agent. Each tab has the same three steps.
1. Install the skill. Claude Code reads skills from .claude/skills in your project:
mkdir -p .claude/skills/dots-engine
curl -fsSL -o .claude/skills/dots-engine/SKILL.md https://dotsengine.dev/.well-known/agent-skills/dots-engine/SKILL.md2. Connect the shadcn MCP server. Run this command in your project folder:
npx shadcn@latest mcp init --client claude3. Check it. Restart Claude Code, then run /mcp. The list shows the shadcn server.
Try it
Name our registry in your request, so the agent looks in the right place:
- "Show me the loaders in @dots-engine."
- "Install the dot-matrix engine from @dots-engine and show a radar loader while the chat streams."
- "Install the progress-ring-circle example and drive it from the upload progress."
Other agents
- An agent that reads skills: save
SKILL.mdin the folder where it loads skills, in adots-enginefolder. - An MCP client: run
npx shadcn@latest mcpas a local (stdio) server. - An agent that reads web pages: point it at llms.txt. It lists every docs page as Markdown.
Keep it current
Your copy of the skill does not update itself. Run the curl command again to replace it. Agent skill shows how to check if it changed.