Agent prompt
Manual
Requirements
- Node.js 20.6+
- The
webcmdnpm CLI, installed globally or in the project - Claude Code (
claude), installed globally or in the project - A browser runtime; confirm with
webcmd doctorbefore browser work
Install the plugin
webcmd skills add; running both leaves two copies that can sit at different versions.
Plugin updates are version-gated, not commit-gated. Run claude plugin update webcmd@webcmd to pick up a new release; it is separate from webcmd update, which upgrades only the npm CLI.
Install and configure without the plugin
Install Webcmd and its skills:webcmd skills add prompts, choose the claude provider. It installs into ~/.claude/skills/ (user) or .claude/skills/ (project), which Claude Code reads on startup. Claude Code then surfaces webcmd-usage and webcmd-browser as skills when a task matches their descriptions.
Restart Claude Code (or start a new session) after installing skills.
Override default tools
Claude Code ships two native web tools —WebFetch (fetch a URL) and WebSearch (search) — both permission-gated by default.
Deny WebFetch. It is lossy by design: a small, fast model runs an extraction prompt against the page and Claude receives that model’s answer, not the page. Webcmd returns the real content. Add to the user or project settings file (.claude/settings.json in the project, or ~/.claude/settings.json):
WebSearch. It returns result titles and URLs without fetching the pages, which is exactly the step Webcmd does not cover — Webcmd has no search index. Let Claude Code search, then let Webcmd read what it finds.
If the desktop app’s Browser pane is in use, its tools are MCP-named (mcp__Claude_Browser__*) and can be denied the same way:
browserExternalPageTools: "disabled" setting, but it applies to managed settings only.
Denying these tools does not affect the Bash tool, which is how webcmd is driven.
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.