add-agent-dashboard
Skill50 starsChanged 21 days agoApache-2.0View on GitHub
Add a monitoring screen for AI agents in the project admin: cost, run history, turn-by-turn traces, and a button to launch a run by hand. Installed when an agent is created, safe to re-run.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- flavien-ia/hypervibe-craftword for word, first seen Oct 25, 2026
Other versions1 project uses a version of this.
Word for word · 1
- flavien-ia/hypervibe-craft★ 50100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository89 other files it gives its agents.
- accessibilitySkill
- add-2faSkill
- add-aiSkill
- add-analyticsSkill
- add-authSkill
- add-automationSkill
- add-backup-dbSkill
- add-collabSkill
- add-cronSkill
- add-dark-modeSkill
- add-dbSkill
- add-domainSkill
- add-emailSkill
- add-github-authSkill
- add-google-authSkill
- add-i18nSkill
- _add-keyringSkill
- add-mapSkill
- add-notification-centerSkill
- add-push-notificationSkill
- add-pwaSkill
- add-roleSkill
- add-routineSkill
- add-storageSkill
- add-stripeSkill
- add-testSkill
- bootstrapSkill
- _check-depsSkill
- cleanSkill
- _collect-secretSkill
- _convert-to-turborepoSkill
- _create-agentSkill
- _create-cloudflare-workerSkill
- _create-contact-pageSkill
- _create-render-workerSkill
- _create-routineSkill
- _create-workflowSkill
- delete-projectSkill
- _detect-project-rootSkill
- _dns-brevoSkill
- _dns-cloudflareSkill
- _dns-gandiSkill
- _dns-godaddy-manualSkill
- _dns-hostingerSkill
- _dns-infomaniak-manualSkill
- _dns-ionos-manualSkill
- _dns-lwsSkill
- _dns-namecheapSkill
- _dns-ovhSkill
- _dns-porkbunSkill
- _dns-resendSkill
- _dns-squarespace-manualSkill
- eco-auditSkill
- _ensure-aiSkill
- _ensure-vaultSkill
- _generate-secretSkill
- geoSkill
- _get-secretSkill
- gscSkill
- _hash-passwordSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use plain, non-technical business language.
- Distinctive: line 13
When generating user-facing content for the scaffolded project (UI labels, emails, copy), write it in the user's language too.
- Very specific: line 35
If missing -> stop and tell the user:
- Very specific: line 41
No dashboard for zero agents.
- Very specific: line 47
If missing -> stop and say:
- Distinctive: line 103
If some files were already in place (idempotent re-run), simply say:
- Very specific: line 114
Customization: if the user wants business KPIs specific to their agent (e.g.
- Very specific: line 115
Auth required: all the pages do redirect("/admin/signin") if await isAdmin() returns false.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Add Agent Dashboard - Monitoring pages for your AI agents
Communication
- Detect the user's language from the conversation (the user's own messages, anywhere in the session - not just this invocation: a bare slash command like
/bootstrapcarries 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. - Use plain, non-technical business language. Never expose internal script names (*.mjs) or jargon; describe actions in human terms.
- When generating user-facing content for the scaffolded project (UI labels, emails, copy), write it in the user's language too.
- Show progress as a short natural-language checklist (in-progress and done states).
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:
- Checks the prerequisites (admin auth + at least one existing agent)
- Runs the script
- Shows the summary to the user
Step 0 - Prerequisites
0.a - Admin auth
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.
0.b - At least one existing agent
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.
Step 1 - Run the script
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.
On success -> JSON on stdout:
{
"success": true,
"filesCopied": ["src/app/admin/agents/page.tsx", ...],
"warnings": [],
"routes": ["/admin/agents - ...", ...],
"nextSteps": ["pnpm dev pour voir le dashboard"]
}On failure:
preflight-> a prerequisite is missing (admin auth, schema). Go back to Step 0.copyPages/copyRouter-> conflict with an existing file -> manual.registerRouter-> unable to locatecreateTRPCRouter({...})inroot.ts-> ask the user to addagentDashboard: agentDashboardRouter,by hand and give them the exact line.
Step 2 - Final summary
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.
Notes for the agent (you, Claude)
- i18n convention: the
/admin/agentsdashboard and all its sub-pages stay in French regardless of the project's locale. No string extraction tomessages/, nouseTranslations(). Single-user surface (admin/owner), high string volume, near-zero translation ROI - same convention as/admin/usersand the legal pages. If the user really wants to translate it, they can do it manually afterwards. - Idempotence: the SKILL can be run multiple times without breaking anything. Re-run = no-op if everything is already in place.
- No per-agent specific pages: the dashboard is generic, it lists all the agents found in the DB and adapts its views. When the user adds a new agent, it shows up automatically (no need to re-install the dashboard).
- Customization: if the user wants business KPIs specific to their agent (e.g. "number of emails answered by my agent this month"), it's up to you to add it ad-hoc in
apps/web/src/app/admin/agents/[name]/page.tsxat their request. The boilerplate is generic. - Auth required: all the pages do
redirect("/admin/signin")ifawait isAdmin()returnsfalse. The tRPC router usesadminProcedure. No non-admin access possible.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

