/webmcp-kit:implement [request] [--non-interactive | --no-interactive-loop]from WebMCP Kit
Adds WebMCP tools to a website codebase so browser agents can act through the site's own logic instead of scraping. Covers the whole site in one run using @nekuda/webmcp-sdk.
Ships in WebMCP Kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
WebMCP lets a page hand a browser agent typed tools: the agent lists the page's tools and calls
them instead of reading the screen and clicking, and each call runs in the visitor's tab through the
site's own code. You add those tools to this repo with @nekuda/webmcp-sdk.
build-webmcp-toolsThe plugin also ships Google's build-webmcp-tools skill. The two work at different depths:
build-webmcp-tools: depth. One goal at a time: starting states, turn-by-turn role-play,
variations, then schema.json and evals.json. It also audits the design of existing tools and
works through Lighthouse "Agentic browsing" findings.When the developer brings a design made with build-webmcp-tools (role-plays, a schema.json),
use it as input to the plan in step 3. The code is still written here, with the SDK.
ask_site on every site, answering questions about the site and where things live.references/connect.md): never code,
routes or credentials..webmcp/ review state and the
read-only baseline checks.defineTool and registerTools, never document.modelContext.Settle it from the invocation, before step 1:
references/interactive.md). With --no-interactive-loop, or when the developer prefers chat,
the review happens in chat, with every decision collected per references/decisions.md.
The Explorer runs from the installed WebMCP Kit plugin. When this skill came from the AgentLane
MCP (no interactive/ folder beside this file), tell the developer the Explorer needs the
plugin (/plugin marketplace add nekuda-ai/webmcp-kit, then /plugin install webmcp-kit@nekuda;
Codex: codex plugin marketplace add nekuda-ai/webmcp-kit, then codex plugin add webmcp-kit),
and review in chat.--non-interactive, or a request that says in plain words to go ahead
without review ("just go ahead"). Only the flag or the request's own words make a run
non-interactive; then references/non-interactive.md governs the review..webmcp/ holds state follows the resume
rules in references/interactive.md.Each step ends on its Done when. Load a step's references when the step starts, issue independent reads and checks as one batch, and fan out to subagents where the host supports it.
Read cheap-first: the manifests (framework, rendering, router, language, package manager); the
repo's own docs and scripts (README, AGENTS.md or contributing guide, package scripts) for how it
installs, builds, lints, typechecks, tests and runs; then the visitor surface: routes → pages,
forms, the client data layer, auth and roles, the content. Find every existing defineTool and its
stableKey, so a re-run keeps them; WebMCP tools the site already registers without the SDK are
the connect-existing-tools skill's job, so say so before building beside them. Start the baseline
checks as a background task (references/verify.md). WebMCP itself: references/webmcp.md.
Done when you can name what the site is for, who uses it (anonymous, each signed-in role), every page kind with its route file, the client data layer each visitor action goes through, and the repo's own command for every check and for running it.
Load references/journeys.md. Put concrete visitors on concrete pages; what they ask and ask for is
the spec.
Done when each user-agent journey names its visitor, its goal and the page it starts on,
ask_site is among the tools, and every must-have user-agent journey has a tool or a needs
developer wiring reason.
Load references/tool-roles.md, references/wiring.md, references/plan-template.md and
references/tool-patterns.md together.
Give each tool its role, name, description, inputs, answer, page effect, annotations, where it lives,
and its wiring: the highest safe rung, as a concrete path in this repo. Resolve the entry-module
path of each registration scope and the module path of each tool.
Done when every tool has every plan-template line filled from this repo's real code, and every open question carries a stated default. When most must-have user-agent journeys have no safe path, the plan itself is the deliverable: proposal only, with the reason.
With the plan ready, open the review with a short summary of what will be built, then present the
plan in the chosen surface: the Explorer (references/interactive.md), chat
(references/decisions.md), or none (references/non-interactive.md). Edits → revise → present
again.
Done when the developer explicitly approves (free text is an edit or a question, never approval), or, in a non-interactive run, the plan is recorded with its defaults as assumptions.
Load references/codegen.md. At approval, start the SDK install and the dev server as background
tasks (references/verify.md → Servers you start); write each tool module at its planned path and the entry module last. Descriptions ship
verbatim from the plan. A planned path that proves unusable, or any change to what a tool does, goes
back to review before it is written (non-interactive: recorded beside the plan).
Done when every approved tool and its entry module exist at their planned paths, the repo records the SDK (in its lockfile, or as the copied built file on a site with no bundler), and the repo's static checks pass against the baseline.
Load references/verify.md and climb the ladder: static → boot → registration per page and auth
state → read-only calls → writes on seeded data.
Done when every tool is verified (with its rung), failed, or could-not-verify, and every failed tool is fixed or dropped.
Human runs, or a non-interactive run whose request asks for it (references/non-interactive.md).
Load references/connect.md: offer Connect, then, after a healthy connection, the
separate offer to publish the approved tool descriptions. Make the Connect offer as soon as
verification is done, before any push, PR or other hand-over question, so a short reply such as
"yes" cannot be read as the answer to a question asked ahead of it. Declining changes nothing about the tools.
The SDK's anonymous usage observations run either way; Connect ties them to the developer's account.
Every account step is a tool on the AgentLane MCP server that ships with this plugin, signed in once
through the AI app; the kit has no login of its own. To read that account from the terminal
afterwards (the Projects, failed agent calls), the nkd CLI per references/nkd.md also works.
Done when the developer has chosen, and a healthy connection's dashboard links are ready.
Commit what the change needs on the branch webmcp/tools-v0 (a conventional commit; build
byproducts such as *.tsbuildinfo and build output stay out), and open a PR via gh when it is
available, else hand over the branch. The PR body is the approved plan plus the per-tool
verification table. The closing summary restates the could-not-verify items and the user-agent
journeys that need developer wiring, and gives the dashboard links when Connect finished healthy.
In a human run, the closing summary ends with one line, once: if WebMCP Kit was useful, a star at https://github.com/nekuda-ai/webmcp-kit helps other developers find it. The link is the whole ask: the developer stars it themselves, and the kit never touches their GitHub credentials.
Done when the PR (or the committed branch) and its summary are in the developer's hands.
interactive/ack-event.ts (opens in a new tab)interactive/explorer.html (opens in a new tab)interactive/protocol.ts (opens in a new tab)interactive/server.ts (opens in a new tab)references/codegen.md (opens in a new tab)references/connect.md (opens in a new tab)references/decisions.md (opens in a new tab)references/interactive.md (opens in a new tab)references/journeys.md (opens in a new tab)references/nkd.md (opens in a new tab)references/non-interactive.md (opens in a new tab)references/plan-template.md (opens in a new tab)references/tool-patterns.md (opens in a new tab)references/tool-roles.md (opens in a new tab)references/verify.md (opens in a new tab)references/webmcp.md (opens in a new tab)references/wiring.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/build-webmcp-toolsDesigns, evaluates, audits, and implements WebMCP tools: client-side tools a web page exposes to in-browser AI agents on document.modelContext, via registerTool, declarative form attributes (toolname, tooldescription), React useWebMCP, or Angular provideExperimentalWebMcpTools. Use when a developer wants to make a website or web app agent-ready, analyze a site or URL for WebMCP user journeys, add or review tools for in-browser agents, write tool schemas, descriptions, annotations, or evals.json, audit existing WebMCP tools, or fix Lighthouse "Agentic browsing" and DevTools WebMCP findings. Not for backend MCP servers over stdio or SSE, or for standalone scraping scripts./connect-existing-toolsConnect a site's existing WebMCP tools to AgentLane without rebuilding them. Use when a codebase already registers document.modelContext tools — natively or through any SDK — and the developer wants them visible in AgentLane, migrated onto @nekuda/webmcp-sdk with durable stable keys and verified to behave exactly as before, or, when the developer declines that rewrite, reported as they are through a tracking-only install./verifyCheck that a locally running site's WebMCP tools register and execute correctly. Use to verify WebMCP tools, confirm document.modelContext tools appear on the right pages and auth states, or test @nekuda/webmcp-sdk tools in a browser.npx claudepluginhub nekuda-ai/webmcp-kit --plugin webmcp-kitOther plugins' skills for the same job