Agent prompt
Manual
Requirements
- Node.js 20.6+
- The
webcmdnpm CLI, installed globally or in the project - A browser runtime; confirm with
webcmd doctorbefore browser work
Install and configure
Install Webcmd and its skills:webcmd skills add prompts, choose the agents provider. It installs into ~/.agents/skills/, which Cursor reads on startup along with .cursor/skills/, .agents/skills/, and ~/.cursor/skills/. Cursor then surfaces webcmd-usage and webcmd-browser as skills when a task matches their descriptions.
For a project-scoped setup, copy the webcmd-* skill folders into the project’s .cursor/skills/ or .agents/skills/ so the whole team gets them. Restart Cursor after installing skills.
Override default tools
Cursor’s agent ships two native web tools:- Web — generates search queries and performs web searches. This is Cursor’s search tool. Keep it on (Settings has a “Web Search Tool” toggle); Webcmd has no search index of its own.
- Browser — navigate, click, type, scroll, screenshot, plus console logs and network traffic. It has dev-server awareness for localhost but can navigate anywhere on the web, so it is the tool that overlaps with Webcmd.
.cursor/rules/webcmd-browser.mdc:
alwaysApply: true rule is injected into every Cursor session.
Note that the rule is guidance, not a block. Cursor’s Browser Automation has been reported to enable itself when a prompt mentions “browser”, and the user-level switch to turn it off has come and gone across releases — so expect the agent to reach for it occasionally even with the rule in place.
Full override (opt-in). If the user never debugs local apps through Cursor’s browser, drop the Browser paragraph from the rule and set Browser Automation to Off in the agent window. On Team and Enterprise plans an admin can also toggle browser features in the Settings Dashboard under MCP Configuration, or restrict the agent to an origin allowlist.
Troubleshooting
See also
start.md— common setup, auth profiles and human handoff, and security.webcmd-browser— the raw browser session surface.webcmd-usage— adapter-first usage rules.