/hypervibe:add-agent-dashboardfrom hypervibe
Adds a monitoring dashboard for AI agents in the project admin area, showing cost, run history, turn-by-turn traces, and a manual run launch button. Installed automatically when an agent is created.
Ships in hypervibe. 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.
/bootstrap carries no language signal by itself). If nothing in the conversation gives a signal, fall back to the OS locale (node -e "console.log(Intl.DateTimeFormat().resolvedOptions().locale)") before defaulting to English. ALWAYS reply in that language for every user-facing message: questions, progress, confirmations, summaries, errors - including any example text quoted in this skill, which is illustrative and must be translated, never sent verbatim.You install the dashboard pages that let you monitor, debug and trigger the project's AI agents from the site's admin area.
The deterministic code (copying templates + patching root.ts) is in scripts/setup-agent-dashboard.mjs. This SKILL:
The dashboard lives under /admin/agents and uses adminProcedure on the tRPC side. So the app must have admin auth configured.
test -f apps/web/src/server/auth.ts && grep -q "isAdmin\|adminProcedure" apps/web/src/server/auth.ts && echo "ok" || echo "missing"
If missing -> stop and tell the user:
Your agents dashboard goes through your admin area. You need to have set up admin authentication on your site. Run
/add-auth(in admin mode) first, then come back here. It's quick.
No dashboard for zero agents. Check that the agent_* tables are in the DB (meaning at least one agent has been created).
grep -q "agentInvocations" apps/web/src/server/db/schema.ts && echo "ok" || echo "missing"
If missing -> stop and say:
To have an agents dashboard, you need at least one existing agent. Run
/add-automationfirst and describe what it should do - that creates the agent and the required tables. Then come back here for the dashboard.
node "${CLAUDE_SKILL_DIR}/../../scripts/setup-agent-dashboard.mjs" --web-dir "<WEB_DIR>"
The script chains 6 sub-steps: preflight, ensureTextarea (installs the shadcn textarea component used by the trigger form), copyPages (copies the pages into apps/web/src/app/admin/agents/), copyRouter (copies the tRPC router into apps/web/src/server/api/routers/agent-dashboard.ts), registerRouter (patches root.ts to register the router), handoff.
If the script finds files already in place -> it leaves them intact and continues (idempotent). The final summary will indicate which files were new vs already installed.
{
"success": true,
"filesCopied": ["src/app/admin/agents/page.tsx", ...],
"warnings": [],
"routes": ["/admin/agents - ...", ...],
"nextSteps": ["pnpm dev pour voir le dashboard"]
}
preflight -> a prerequisite is missing (admin auth, schema). Go back to Step 0.copyPages / copyRouter -> conflict with an existing file -> manual.registerRouter -> unable to locate createTRPCRouter({...}) in root.ts -> ask the user to add agentDashboard: agentDashboardRouter, by hand and give them the exact line.From the JSON:
✅ Your agents dashboard is installed
📊 Pages added:
/admin/agents- list of all your agents with their stats (total cost, successful / failed runs, last run)/admin/agents/<name>- agent detail + "Run now" button + last 50 runs/admin/agents/<name>/invocations/<id>- turn-by-turn reasoning chain, each tool called, the detailed cost⏰ Manual trigger delay: ~5 seconds (the Render worker polls the queue every 5s - not instant but plenty for a dashboard button).
🔍 To test:
pnpm devin your web project- Sign in to the admin area
- Go to
/admin/agentsYou can add more agents with
/add-automation- they will automatically show up in the dashboard with nothing else to do.
If some files were already in place (idempotent re-run), simply say:
The dashboard was already installed - I checked that everything is consistent, nothing to do.
/admin/agents dashboard and all its sub-pages stay in French regardless of the project's locale. No string extraction to messages/, no useTranslations(). Single-user surface (admin/owner), high string volume, near-zero translation ROI - same convention as /admin/users and the legal pages. If the user really wants to translate it, they can do it manually afterwards.apps/web/src/app/admin/agents/[name]/page.tsx at their request. The boilerplate is generic.redirect("/admin/signin") if await isAdmin() returns false. The tRPC router uses adminProcedure. No non-admin access possible.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub flavien-ia/hypervibe-craft --plugin hypervibe90 skills in this plugin
/accessibilityAccessibility audit of a Next.js app: reads the code (images, buttons, links, form fields, keyboard, focus, zoom, motion), measures the live pages with PageSpeed Insights, explains each problem plainly, then applies the fixes the user approves./add-2faAdd two-factor authentication (2FA TOTP) to an existing T3 project's login. Orchestrator - asks which authenticator app the user wants, detects whether the project uses admin auth (single fixed login) or user accounts, and delegates to the right setup. Admin mode - 2FA is mandatory for the single admin, secret + backup codes stored in the Bitwarden vault. User mode - 2FA is optional per user, each user enables it from their account page, secrets + backup codes stored per-user in the database. Requires the project to already have hypervibe auth (`/add-auth`)./Other plugins' skills for the same job