agentation-self-drivin…
Autonomous design critique mode using the Agentation annotation toolbar. Use when the user asks to "critique this page," "add…
Add Agentation visual feedback toolbar to a Next.js project
Claude Code
$ npx -y skills add benjitaylor/agentation --skill agentation --agent claude-code
Codex
$ npx skills add benjitaylor/agentation --skill agentation -a codex -y
Cursor
$ npx skills add benjitaylor/agentation --skill agentation -a cursor -y
Gemini CLI
$ npx skills add benjitaylor/agentation --skill agentation -a gemini-cli -y
GitHub Copilot
$ npx skills add benjitaylor/agentation --skill agentation -a github-copilot -y
OpenCode
$ npx skills add benjitaylor/agentation --skill agentation -a opencode -y
Windsurf
$ npx skills add benjitaylor/agentation --skill agentation -a windsurf -y
name: agentation description: Add Agentation visual feedback toolbar to a Next.js project
Set up the toolbar and, when requested, connect it to the user's coding agent. A visible toolbar and a healthy MCP server do not prove that browser feedback reaches the agent. Verify that final step before calling setup complete.
1. **Inspect the project**
exit just because the component exists, and do not add a duplicate mount.
2. **Choose the connection mode from the request**
The default local server is `http://localhost:4747`; preserve an existing custom port or proxy URL. Never assume the browser and agent use the same machine when the project is remote.
in this browser. Do not silently enable a server connection.
the existing project. Keep working on independent setup checks.
3. **Add or update the component**
For a Next.js App Router project, render in the root layout's body after children. For Pages Router, render after `Component` in `pages/_app`. Preserve any existing callbacks and options.
import { Agentation } from "agentation";
// Use the actual server URL selected above for MCP sync:
{process.env.NODE_ENV === "development" && (
<Agentation endpoint="http://localhost:4747" />
)}The package provides its own client boundary. Keep the application's root layout server-rendered unless the project has another reason to change it.
4. **Configure the agent when MCP was requested**
`npx -y agentation-mcp server`.
setup option. For Claude Code, use `claude mcp add agentation -- npx -y agentation-mcp server` or the init wizard.
create a second HTTP server on a port already owned by the working server.
5. **Verify the complete connection**
use `doctor --http-url <url>` when supported by the installed version.
toolbar. Read it with `agentation_get_all_pending` or session-scoped tools.
response. Leave unrelated annotations alone.
failures/CORS, and whether the agent and browser point to the same server.
unverified and give the user this final check. Do not claim live sync works.
Autonomous design critique mode using the Agentation annotation toolbar. Use when the user asks to "critique this page," "add…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.