WebDev Agent Kit
Rules and skills for frontend work in Codex, Claude Code, and Cursor.
WebDev Agent Kit gives your coding agent instructions for working with an existing
project: where to look, how to plan a change, what to preserve, and what to check.
You keep using your usual client and model. The Kit is a collection of instructions
and helper scripts, not a separate coding app.
Contents
What it does
The Kit tells the agent to:
- follow the project's existing architecture, components and styles;
- keep a small fix small;
- check source code and configuration before making assumptions;
- ask before installing dependencies or doing work outside your request;
- run checks relevant to the change and report failures or checks it could not run.
Its stack-specific rules cover React, Next.js, TypeScript and CSS Modules, plus
Redux, TanStack and Axios when the project already uses them. Planning, code
review and screenshot analysis can also apply to other stacks.
These instructions help define expected behavior. They cannot guarantee that a
model will follow every rule or produce correct code.
Install
Choose the guide for your client. Download links in the guides point to the
latest published release; an open release PR may contain newer changes.
| Client | How it is installed | Guide |
|---|
| Codex | Files in the project's .agents/ directory | Codex |
| Claude Code | Plugin installed through a local marketplace | Claude Code |
| Cursor | .agents/ directory and a Cursor rule | Cursor |
| VS Code — Codex | Same package layout as Codex | VS Code Codex |
| VS Code — Claude | Same plugin as Claude Code | VS Code Claude |
| OpenCode on Windows | Installer using the Codex bundle and a recorder plugin | OpenCode |
Each release provides SHA256SUMS so you can check downloaded files. For an
existing installation, follow upgrade and rollback
to preserve project context, settings and local changes.
Installation recordings are available in the Cursor
and VS Code Codex guides.
Choose models and tools
The model and capability guide compares
starting choices from OpenAI, Anthropic and Google. It explains what you need for
MCP, hooks, browser control, Computer Use, search, image analysis and subagents.
A model and its tools are separate choices. A model that understands screenshots
still needs a client that can take screenshots and perform actions. Installing
the Kit does not install or enable those tools.
For common integrations, see the MCP setup guide. MCP
(Model Context Protocol) lets an agent use tools provided by another service.
You do not need an MCP server when your client already provides the required tool.
Adapt it to your project
For Codex or Cursor, open the project root and send:
Adapt this .agents kit to my project and create AGENTS.md in the root.
Preserve existing project instructions, settings, caches and saved experience.
For Claude Code, use the plugin adaptation guide.
During adaptation, the agent checks the stack, project paths, styles, commands
and available tools. It saves those facts in .agents/project/ for future tasks.
If existing project instructions need to be merged, it shows the proposed change.
Adaptation does not create application code or install libraries and MCP servers.
You can also select a frontend or designer role for the
conversation. This changes the task focus; it does not select a model.
Full Codex adaptation includes setup of missing local subagent roles when the
client supports them. To exclude that step, say:
Update project facts only. Do not change model configuration.