agentation
Automates the setup of the Agentation visual feedback toolbar for Next.js applications.
Install
mkdir -p .claude/skills/agentation && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4199" && unzip -o skill.zip -d .claude/skills/agentation && rm skill.zipInstalls to .claude/skills/agentation
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Add Agentation visual feedback toolbar to a Next.js projectKey capabilities
- →Install Agentation package
- →Detect Next.js framework (App Router or Pages Router)
- →Add Agentation component to root layout or _app
- →Configure Agentation for development environment only
- →Recommend MCP server setup for real-time annotation syncing
How it works
The skill checks for existing Agentation setup, installs the package if needed, detects the Next.js router, and injects the Agentation component into the appropriate layout file.
Inputs & outputs
When to use agentation
- →Add visual feedback toolbar to Next.js
- →Configure Agentation for debugging
- →Set up agent annotation syncing
About this skill
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.
Limitations
- →Agentation requires React 18
- →The component loads only in development environment
- →Real-time annotation syncing requires separate MCP server setup
How it compares
This skill automates the setup of a visual feedback toolbar for Next.js, which would otherwise require manual dependency installation and component integration.
Compared to similar skills
agentation side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| agentation (this skill) | 6 | 7mo | Review | Beginner |
| nextjs-server-side-error-debugging | 1 | 8mo | Review | Intermediate |
| hot-reload-optimizer | 0 | 8mo | Review | Intermediate |
| vite-patterns | 0 | 3mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
nextjs-server-side-error-debugging
blader
Debug getServerSideProps and getStaticProps errors in Next.js. Use when: (1) Page shows generic error but browser console is empty, (2) API routes return 500 with no details, (3) Server-side code fails silently, (4) Error only occurs on refresh not client navigation. Check terminal/server logs instead of browser for actual error messages.
hot-reload-optimizer
lichunboa
Optimizes hot module replacement and fast refresh for development speed with Vite, Next.js, and webpack configurations. Use when users request "hot reload", "HMR optimization", "fast refresh", "dev server speed", or "development performance".
vite-patterns
Fmarzochi
Vite build tool patterns including config, plugins, HMR, env variables, proxy setup, SSR, library mode, dependency pre-bundling, and build optimization. Activate when working with vite.config.ts, Vite plugins, or Vite-based projects.
vue-debug-guides
vuejs-ai
Vue 3 debugging and error handling for runtime errors, warnings, async failures, and SSR/hydration issues. Use when diagnosing or fixing Vue issues.
vrm-springbone-physics
Project-N-E-K-O
Debugging and fixing VRM SpringBone physics issues in three-vrm, including hair/clothing physics that flies upward, sticks out horizontally, or behaves unnaturally.
debugging-skill
bitovi
Always start a fresh browser session after any file change, walk through the full user flow, and monitor for errors before proceeding with further work.