Using Oil UI in Cursor, Windsurf & IDE Coding Agents
Many developers build and refine interfaces right inside Cursor, Windsurf, Antigravity or Gemini CLI alongside their application code. Because Oil UI uses the open skill format, a single npx skills add oil-oil/oil-ui command equips these IDE agents with the same task-first workflow: explore directions, implement working states within your stack, and verify rendered screenshots.
run npx skills add oil-oil/oil-ui and select Cursor, Windsurf, Claude Code or Codex.
When refreshing screens inside an existing codebase, scope each prompt to a single page or user flow and list the props, hooks and routes that must remain untouched.
For standalone UI modules (uploaders, checkouts, configurators), ask the agent to implement idle, active, completed and error states from the start.
Installing Oil UI Across IDE and CLI Agents
npx skills add oil-oil/oil-uiSupports both project-scoped installation (shared with your team) and user-level installation.
- Have your IDE agent open the local dev server and inspect real 1440px and 390px browser screenshots instead of relying on code diffs alone.
Whether you work in Cursor’s agent sidebar, Windsurf Cascade, Antigravity or a terminal agent, Oil UI provides the same design workflow and visual review checklists.
Run the interactive skill installer
Execute the command in your project root or terminal and select the coding agents you use day to day.
npx skills add oil-oil/oil-uiUse project-scoped install for team consistency
Choosing project scope places the skill inside your repository so every teammate’s IDE agent follows the same layout and review standards.
Invoke Oil UI explicitly in your prompt
Start UI prompts with "Use Oil UI to design..." or "Use Oil UI to refresh this screen..." so the agent runs the design workflow rather than patching styles ad hoc.
Working gallery examples & prompts
Browse collection →Unlock existing-project renovation and component craft with Oil UI Pro
Oil UI Pro adds dedicated workflows for existing codebases—including annotated single-page diagnosis, a 3-tier renovation system (tidy up / upgrade / rework flow + DESIGN.md) and single-component extreme polish.
Explore Oil UI Pro →npx github:oil-oil/oil-cli install oil-ui-proCommon questions
Which model should I pick inside Cursor or Windsurf when using Oil UI?
Use Claude Opus or frontier GPT/Codex models when exploring new visual directions or restructuring complex pages. Once a direction or DESIGN.md is set, Claude Sonnet and faster models work well for rolling out states across sibling screens.
Does Oil UI work alongside shadcn/ui, Radix or Tailwind?
Yes. Primitive libraries provide accessible controls, while Oil UI governs page composition, visual hierarchy, direction exploration and anti-slop subtraction. They complement each other cleanly.
How do I make sure the agent does not break existing click handlers or form validation?
List the handlers to preserve in your prompt, and follow Oil UI’s walkthrough step: actually click through the primary flow and trigger an invalid form submission in the browser before finishing.
Can my team use Cursor and Claude Code / Codex on the same repository?
Yes. Select all relevant agents during npx skills add oil-oil/oil-ui or commit a shared DESIGN.md so every tool reads the same design rules.



