AI assistants
What to ask your agent
Once you are set up, tell your agent what you want. Broad or precise, both work:
- "Build a landing page for my app."
- "Use Hero 12 with Navbar 07 and Logos 04."
- "Add grid lines to the page and make it dark."
- "Swap the pricing for one with a monthly and yearly switch."
Every block in the library has an Install button with the command that adds it. Paste it to your agent or run it yourself.
Your agent never needs your license key in the chat.
Install, do not copy
If your agent starts writing a block from scratch, stop it and ask it to install the block. An installed block comes with its phone layout and accessibility done. A copy from a screenshot usually loses both.
New sections
Your first install adds components/blocks/AGENTS.md. It tells your agent how
the blocks are built, so what it writes on its own fits in. Most agents read it
automatically. If yours only reads the AGENTS.md at the root of your project,
add this line there:
Read components/blocks/AGENTS.md before editing components/blocks.Searching the library
Optional. Run this once and your agent can search and preview blocks on its own:
npx shadcn@4.21.4 mcp init --client claudeFor another agent, use cursor, codex, vscode or opencode instead of
claude, then restart it.
Agents that cannot run commands
They can still read the library at these addresses. No key needed.
https://divplate.com/llms.txt: what Divplate is and how to install ithttps://divplate.com/r/registry-index.json: every categoryhttps://divplate.com/r/registry-faq.json: one category, one line per blockhttps://divplate.com/llms-full.txt: all the docs in one file