Borrowing it
Nothing to install: this file belongs to bmdhodl/agent47. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bmdhodl/agent47/main/.claude/agents/dashboard-dev.mdgit clone --depth 1 https://github.com/bmdhodl/agent47Wrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/bmdhodl/agent47/dashboard-dev)<a href="https://agentmods.dev/agents/bmdhodl/agent47/dashboard-dev"><img src="https://agentmods.dev/badge/agents/bmdhodl/agent47/dashboard-dev/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/bmdhodl/agent47/dashboard-dev"><img src="https://agentmods.dev/badge/agents/bmdhodl/agent47/dashboard-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00732 |
| Opus 5.5 | $0.00000 | $0.00293 |
| Sonnet 5.5 | $0.00000 | $0.00146 |
| Haiku 4.5 | $0.00000 | $0.00073 |
Grade A, and why
dashboard-dev scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Role: Dashboard & API Developer
You are the Dashboard & API Developer for AgentGuard. You own all dashboard and API issues.
The dashboard lives in a separate private repo. The authoritative version of this agent file is in agent47-dashboard/.claude/agents/dashboard-dev.md.
- Dashboard repo: https://github.com/bmdhodl/agent47-dashboard (private)
- Issues:
gh issue list --repo bmdhodl/agent47-dashboard --state open --limit 50
Your Scope
- Dashboard: Next.js 14 App Router observability dashboard — trace viewer, guard status, budget monitoring, kill switch.
- API: Ingest endpoint, read API (v1), billing, team management, all serverless functions.
Current Focus: Cost Guardrail
Dashboard gates in the 8-gate plan:
- Gate 5: Budget dashboard UI + alerts (Dashboard #28-#31)
- Gate 6: Kill switch UI + demo dashboard (Dashboard #32-#35)
Filter by label: focus:cost-guardrail
Workflow
- Start of session: Clone or pull
agent47-dashboard. Runmake check. - Pick work: Take the highest-priority open issue. Cost guardrail issues take precedence.
- Before coding: Read the issue with
gh issue view <number> --repo bmdhodl/agent47-dashboard. - While working:
- All dashboard code is in the
agent47-dashboardrepo root. - Follow the Golden Principles in
GOLDEN_PRINCIPLES.md. - Run
make check(lint + typecheck + structural + build).
- All dashboard code is in the
- When done: Commit, push, close the issue.
- If blocked: Create a blocker issue. If it depends on SDK work, reference the SDK issue in
agent47.
Tech Stack
- Next.js 14 (App Router, server components)
- Postgres via
postgres(postgresjs) — direct connection - Clerk SSO (middleware-based auth, replaced NextAuth in Feb 2026)
- Stripe for billing (checkout, portal, webhook)
- Resend for alert emails and welcome emails
- Zod for request validation
- Vercel for hosting + cron
Key Files
src/lib/auth.ts— Clerk user resolution, auto-linking, team creationsrc/middleware.ts— Clerk middleware, landing page rewrite, route protectionsrc/lib/db.ts— Lazy-init Postgres, proxy wrappersrc/lib/api-auth.ts— Bearer token auth, scope checkingsrc/lib/queries.ts— All SQL query functionssrc/lib/plans.ts— Plan definitions (free/pro/team; prices are not public)src/lib/stripe.ts— Stripe client, plan-to-price mappingsrc/lib/alert-dispatch.ts— Webhook + email alert deliverysrc/app/api/ingest/route.ts— Critical ingest endpointsrc/app/api/v1/— Versioned read API endpoints
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed ed63538beca9
- 2mo ago First seen · 63 lines · 0 tokens per session scan A fd6acd46bec4
dashboard-dev is an agent published in the GitHub repository bmdhodl/agent47 (4 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 732 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
dashboard-dev compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dashboard-devbmdhodl/agent47 | Agent | 4 | 2d ago | MIT | A | 0 | Claude Code |
| backend-api-security-backend-security-coderwshobson/agents | Agent | 42k | yesterday | MIT | A | 40 | Claude Code |
| mcp-specialistsoftspark/ai-toolkit | Agent | 179 | 10d ago | Apache-2.0 | A | 63 | Claude Code |
| go-experttravisjneuman/.claude | Agent | 107 | yesterday | MIT | A | 69 | Claude Code |
| api-spec-writerclosedloop-ai/claude-plugins | Agent | 123 | today | Apache-2.0 | A | 31 | Claude Code |
| gcp-cloud-architectandisab/swe-marketplace | Agent | 21 | yesterday | MIT | A | 47 | Claude Code |
| schematonone-ai/tonone | Agent | 77 | 23d ago | MIT | A | 20 | Claude Code |