Agent skills
Three skills teach a coding agent to build with Eskais UI. Vercel's skills CLI writes them into .agents/skills in your project, from the same release as your components.
Install
Install them with Vercel's skills CLI, pinned to the release your components.json names (see Installation). The command is the same in bash and PowerShell; with pnpm or Bun, run it with pnpm dlx or bunx:
-a universal writes them to .agents/skills, which most agents read; add your agent when it looks elsewhere. --full-depth finds eskais-mockup, which lives beside the mockup CLI in the repository, and -y asks nothing. The CLI records each skill's source and release in skills-lock.json. Commit both, so every agent and teammate reads the same version, and run the command again with a newer tag to update them. The CLI sends anonymous usage data unless DISABLE_TELEMETRY=1 is set.
With shadcn
The skills are also registry items. Each is a registry:file item whose files target ~/.agents/skills/<skill>/, where ~ is your project's root, so shadcn writes them byte for byte from the ref in your components.json. Run it again with --overwrite to update them. shadcn writes only to .agents/skills: link them yourself for an agent that looks elsewhere (Claude Code).
The skills
| Skill | What it's for | Select with | Lands in |
|---|---|---|---|
eskais-ui | Building screens with the components: which one to reach for, install and aliases, forms, lists and navigation, styling tokens, toasts and testing, the AgentTaskBoard, and how agents operate the UI. The SKILL.md is the map; the references load only when a task needs them. | --skill eskais-ui | .agents/skills/eskais-ui/ |
eskais-perf | Keeping screens fast: virtualized rows instead of thousands of mapped ones, effects in hooks, code React Compiler can compile, transform and opacity motion, fast links for navigation only, blur off large animated surfaces, and measuring with the React Profiler and the Performance panel. | --skill eskais-perf | .agents/skills/eskais-perf/SKILL.md |
eskais-mockup | Building a throwaway, offline HTML mockup of a screen from your own components with the mockup CLI, in five levels, and validating it. The CLI needs Bun 1.4 or newer. | --skill eskais-mockup | .agents/skills/eskais-mockup/SKILL.md |
The ui-sdk skill
eskais-ui builds on UI SDK's own skill, which explains parts, controllers, agents and the agent test. It ships inside @ui-sdk/core, which the components install, so add it from there and it matches the UI SDK version you run:
Point your agent at .agents/skills
A skill is a folder with a SKILL.md: a name and a description the agent reads up front, and instructions it loads when a task matches. Where each agent looks, from its own documentation:
| Agent | Reads skills from | What to do |
|---|---|---|
| Codex | .agents/skills in every folder from where it starts up to the repository root, and ~/.agents/skills; it follows symlinks | Nothing: the installed skills load as they are. |
| Cursor | .agents/skills and .cursor/skills in the project (and nested folders), the same under ~, and .claude/skills and .codex/skills for compatibility | Nothing: the installed skills load as they are. |
| Claude Code | .claude/skills/<name>/SKILL.md in the project (and nested folders) and ~/.claude/skills; not .agents/skills. A skill folder may be a symlink | Add -a claude-code to the install, below. |
| Other agents | Check the agent's documentation | If it doesn't read .agents/skills, link the folders where it looks, or name the files in AGENTS.md, below. |
Sources: Codex skills, Cursor skills, Claude Code skills.
Claude Code
Add -a claude-code to both skills commands: the CLI keeps the one copy in .agents/skills and links each skill into .claude/skills. On Windows the link is a junction, which stores an absolute path, so keep .claude/skills out of the repository there and run the install on each machine. -a takes any agent the CLI knows, such as cursor or codex, and repeats.
If you installed with shadcn, link the folders yourself. On macOS and Linux:
On Windows, Git Bash's ln -s copies the folder instead of linking it unless symlinks are enabled. Make junctions from PowerShell instead; they need no administrator rights but store an absolute path, so make them on each machine and keep .claude/skills out of the repository:
Any agent that reads AGENTS.md
An agent that doesn't discover skills still follows its instructions file. Name the skills there, so it opens them before UI work:
Keep them current
- The skills describe the components at the registry ref in your
components.json. Update them together: when you movecomponents.jsonto a new release, rerun the install with that tag (or--overwritethe shadcn items), and add the ui-sdk skill again after you update UI SDK. - Your own conventions belong in your
AGENTS.md, not in the installed skill: an update replaces the skill's files.
eskais-mockup teaches the loop; the CLI it runs is its own item, run with Bun 1.4 or newer: npx shadcn@latest add @eskais/eskais-mockup-cli puts it in .agents/tools/eskais-mockup. See Mockups.