Skip to content
Eskais UI

Get started

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:

npx skills@1.8.1 add p-otero/eskais-ui@v0.2.20 --full-depth --skill eskais-ui --skill eskais-perf --skill eskais-mockup -a universal -y

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

npx shadcn@latest add @eskais/eskais-ui-skill @eskais/eskais-perf-skill @eskais/eskais-mockup-skill

The skills

SkillWhat it's forSelect withLands in
eskais-uiBuilding 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-perfKeeping 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-mockupBuilding 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
After the install
.agents/skills/  eskais-ui/    SKILL.md                         # which component to reach for, install, agents, style    references/      forms.md                       # Form, FormDialog, StepDialog, floating labels      lists-and-navigation.md        # fast links, shortcuts, long lists, ⌘K search      styling.md                     # spacing, tone, elevation, motion, type, icons      toasts-and-testing.md          # toasts and Testing Library helpers      agent-task-board.md            # AgentTaskBoard  eskais-perf/    SKILL.md  eskais-mockup/    SKILL.md  ui-sdk/                            # from node_modules/@ui-sdk/core/skills    SKILL.md    references/…

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:

npx skills@1.8.1 add ./node_modules/@ui-sdk/core/skills/ui-sdk -a universal -y

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:

AgentReads skills fromWhat to do
Codex.agents/skills in every folder from where it starts up to the repository root, and ~/.agents/skills; it follows symlinksNothing: 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 compatibilityNothing: 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 symlinkAdd -a claude-code to the install, below.
Other agentsCheck the agent's documentationIf 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:

mkdir -p .claude/skillsln -s ../../.agents/skills/eskais-ui .claude/skills/eskais-uiln -s ../../.agents/skills/eskais-perf .claude/skills/eskais-perfln -s ../../.agents/skills/eskais-mockup .claude/skills/eskais-mockupln -s ../../.agents/skills/ui-sdk .claude/skills/ui-sdk

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:

PowerShell
New-Item -ItemType Directory -Force .claude\skillsforeach ($skill in "eskais-ui", "eskais-perf", "eskais-mockup", "ui-sdk") {  New-Item -ItemType Junction -Path ".claude\skills\$skill" -Target ".agents\skills\$skill"}

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:

AGENTS.md
## UI work
Before building or changing a screen, read .agents/skills/eskais-ui/SKILL.md and.agents/skills/ui-sdk/SKILL.md, and .agents/skills/eskais-perf/SKILL.md for long lists,effects and motion. For a mockup, follow .agents/skills/eskais-mockup/SKILL.md.

Keep them current

  • The skills describe the components at the registry ref in your components.json. Update them together: when you move components.json to a new release, rerun the install with that tag (or --overwrite the 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.
Mockups need the CLI
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.