agent47: Agent for Claude Code

.claude/agents/dashboard-dev.md

dashboard-dev is an agent for Claude Code from bmdhodl/agent47. It costs 0 tokens per session (732 once invoked), scanned A, original, MIT.

A specialized coding agent responsible for the AgentGuard dashboard and API. The dashboard uses Next.js and covers trace viewing, guard status, budget monitoring, and a kill switch.

In plain words
What is it for?
It helps work on dashboard screens, data-ingestion and read APIs, billing, team management, budget alerts, and kill-switch features.
Why use it?
It gives dashboard and API work a defined owner and points development toward the project's current cost-control issues.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is bmdhodl/agent47's own configuration. It tells Claude Code how to work on agent47 itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent47 configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/bmdhodl/agent47/main/.claude/agents/dashboard-dev.md
Clone the repo
git clone --depth 1 https://github.com/bmdhodl/agent47

Made for: Claude Code.

Wrote 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.

agentmods badge for dashboard-dev

README.md
[![agentmods](https://agentmods.dev/badge/agents/bmdhodl/agent47/dashboard-dev/github.svg)](https://agentmods.dev/agents/bmdhodl/agent47/dashboard-dev)
Your own site
<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.

agentmods 80×15 button for dashboard-dev

Your own site · 80×15
<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>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 732 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 1mo ago against content hash ed63538beca9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.claude/agents/dashboard-dev.md · 63 lines

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.

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

  1. Start of session: Clone or pull agent47-dashboard. Run make check.
  2. Pick work: Take the highest-priority open issue. Cost guardrail issues take precedence.
  3. Before coding: Read the issue with gh issue view <number> --repo bmdhodl/agent47-dashboard.
  4. While working:
    • All dashboard code is in the agent47-dashboard repo root.
    • Follow the Golden Principles in GOLDEN_PRINCIPLES.md.
    • Run make check (lint + typecheck + structural + build).
  5. When done: Commit, push, close the issue.
  6. 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 creation
  • src/middleware.ts — Clerk middleware, landing page rewrite, route protection
  • src/lib/db.ts — Lazy-init Postgres, proxy wrapper
  • src/lib/api-auth.ts — Bearer token auth, scope checking
  • src/lib/queries.ts — All SQL query functions
  • src/lib/plans.ts — Plan definitions (free/pro/team; prices are not public)
  • src/lib/stripe.ts — Stripe client, plan-to-price mapping
  • src/lib/alert-dispatch.ts — Webhook + email alert delivery
  • src/app/api/ingest/route.ts — Critical ingest endpoint
  • src/app/api/v1/ — Versioned read API endpoints

Read the full file on GitHub · 63 lines

Changes

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.

  1. 1mo ago Changed ed63538beca9
  2. 2mo ago First seen · 63 lines · 0 tokens per session scan A fd6acd46bec4

Subscribe to this mod's changes

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.

Related

dashboard-dev compared with agents from other repositories

dashboard-dev next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dashboard-devbmdhodl/agent47Agent42d agoMITA0Claude Code
backend-api-security-backend-security-coderwshobson/agentsAgent42kyesterdayMITA40Claude Code
mcp-specialistsoftspark/ai-toolkitAgent17910d agoApache-2.0A63Claude Code
go-experttravisjneuman/.claudeAgent107yesterdayMITA69Claude Code
api-spec-writerclosedloop-ai/claude-pluginsAgent123todayApache-2.0A31Claude Code
gcp-cloud-architectandisab/swe-marketplaceAgent21yesterdayMITA47Claude Code
schematonone-ai/tononeAgent7723d agoMITA20Claude Code