
agentation
Add Agentation visual feedback toolbar to a Next.js project
- Installs
- 13.9K
- Last 24h
- +14
- Trending rank
- #7236
- Security
- Pass
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/benjitaylor/agentation --skill agentation- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads agentation automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
Security audits
Independent scans of the skill's instructions and bundled files.
SKILL.md
The instructions your agent reads when the skill is triggered.
Agentation Setup
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.
Steps
-
Inspect the project
- Read the project's instructions and detect its package manager.
- Look for
agentationand an existing<Agentation>mount before installing. - If already mounted, inspect its
endpointand current MCP setup. Do not exit just because the component exists, and do not add a duplicate mount. - Install
agentationif missing, using the existing lockfile's package manager.
-
Choose the connection mode from the request
- For MCP or live agent feedback, use the same HTTP server URL as the agent.
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. - For manual copy/paste only, omit
endpointand explain that feedback remains in this browser. Do not silently enable a server connection. - If the intended mode is unclear, ask one brief question while inspecting the existing project. Keep working on independent setup checks.
- For MCP or live agent feedback, use the same HTTP server URL as the agent.
The default local server is
-
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
Componentinpages/_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.
-
Configure the agent when MCP was requested
- Use the project's existing MCP client and configuration conventions.
- The launch command must include the
serversubcommand:npx -y agentation-mcp server. - For supported agents,
npx add-mcp "npx -y agentation-mcp server"is one setup option. For Claude Code, useclaude mcp add agentation -- npx -y agentation-mcp serveror the init wizard. - Apply the same custom port to the server command and component endpoint.
- Restart or reconnect the agent when its configuration requires it. Do not create a second HTTP server on a port already owned by the working server.
-
Verify the complete connection
- Run
npx agentation-mcp doctorfor service diagnostics. For a custom URL, usedoctor --http-url <url>when supported by the installed version. - Open the app and create one clearly identified test annotation through the
toolbar. Read it with
agentation_get_all_pendingor session-scoped tools. - Check the exact test comment and page, not just a nonzero count or health response. Leave unrelated annotations alone.
- If annotations are empty, check the component endpoint, browser network failures/CORS, and whether the agent and browser point to the same server.
- If browser or MCP tools are unavailable, say exactly which part remains unverified and give the user this final check. Do not claim live sync works.
- Run
Notes
- The development guard prevents the toolbar from appearing in production.
- Agentation requires React 18 or newer.
- Installing the toolbar does not install, configure or connect an MCP server.
- Manual copy mode is supported and does not need a running server.
FAQ
What does the agentation skill do?
Add Agentation visual feedback toolbar to a Next.js project
How do I install agentation?
Run npx skills add https://github.com/benjitaylor/agentation --skill agentation in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/agentation/ (personal) or .claude/skills/agentation/ (project).
Which AI agents can use agentation?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is agentation safe to install?
Security partners have reviewed it: Gen Agent Trust Hub passed; Socket passed; Snyk passed; Runlayer passed; ZeroLeaks passed. As with any skill, read the SKILL.md and bundled scripts before installing.
Who maintains agentation?
It is published by benjitaylor in benjitaylor/agentation. It has 13,865 recorded installs.
More from benjitaylor/agentation
agentation-self-driving
benjitaylor/agentation
Autonomous design critique mode using the Agentation annotation toolbar. Use when the user asks to "critique this page," "add design annotations," "review the UI," "self-driving mode," "auto-annotate," or wants an AI agent to autonomously add design feedback annotations to a web page via the browser. Requires the Agentation toolbar to be installed on the target page and agent-browser skill to be available.
Popular frontend & design skills
setup-matt-pocock-skills
mattpocock/skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
frontend-design
anthropics/skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
ui-taste
uizze.sh
Give your coding agent better UI taste. Build and polish web and iOS interfaces with Uizze's anti-ui-slop playbooks and optional real-product references. Use for UI design, implementation, redesign, critique, or a final visual review in Claude Code, Codex, Cursor, or Copilot.
prototype
mattpocock/skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
hyperframes-animation
heygen-com/hyperframes
All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.
hyperframes-core
heygen-com/hyperframes
The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.