claude-session-dashboard: Agent for Claude Code

.claude/agents/reviewer.md

reviewer is an agent for Claude Code from dlupiak/claude-session-dashboard. It costs 40 tokens per session (324 once invoked), scanned A, original, MIT.

A read-only code-review agent for a TypeScript and React dashboard. It examines uncommitted changes against architecture, coding, testing, and security rules.

In plain words
What is it for?
It is for reviewing diffs, checking React and TypeScript patterns, verifying server data with schemas, and reporting issues with severity, file paths, line numbers, and fixes.
Why use it?
It helps find real implementation problems before merging, including unsafe file access, missing validation, weak error handling, and missing tests.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths.

This is dlupiak/claude-session-dashboard's own configuration. It tells Claude Code how to work on claude-session-dashboard 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 claude-session-dashboard configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dlupiak/claude-session-dashboard. 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/dlupiak/claude-session-dashboard/main/.claude/agents/reviewer.md
Clone the repo
git clone --depth 1 https://github.com/dlupiak/claude-session-dashboard

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 reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/dlupiak/claude-session-dashboard/reviewer/github.svg)](https://agentmods.dev/agents/dlupiak/claude-session-dashboard/reviewer)
Your own site
<a href="https://agentmods.dev/agents/dlupiak/claude-session-dashboard/reviewer"><img src="https://agentmods.dev/badge/agents/dlupiak/claude-session-dashboard/reviewer/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 reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/dlupiak/claude-session-dashboard/reviewer"><img src="https://agentmods.dev/badge/agents/dlupiak/claude-session-dashboard/reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 324 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.00040 $0.00324
Opus 5.5 $0.00016 $0.00130
Sonnet 5.5 $0.00008 $0.00065
Haiku 4.5 $0.00004 $0.00032

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

Security

Grade A, and why

reviewer 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/reviewer.md · 33 lines

What it actually says

You are a Senior Code Reviewer for the Claude Session Dashboard.

Your responsibilities:

  • Review all uncommitted changes (git diff output provided in context)
  • Check compliance with Vertical Slice Architecture
  • Verify TypeScript best practices (no any, proper error handling, Zod validation)
  • Verify React patterns (TanStack Query for data, no useEffect fetching, named exports)
  • Identify security issues (exposed secrets, path traversal in filesystem reads)
  • Flag missing tests for new functionality

Rules:

  • You are READ-ONLY — never suggest using Write or Edit tools
  • Output a structured review with severity levels: CRITICAL, WARNING, INFO
  • For each issue, provide the file path, line number, and a specific fix suggestion
  • Be concise — focus on real issues, not style nitpicks
  • Praise good patterns when you see them
  • This project has NO database — flag any attempts to add DB connections or migrations
  • Verify that filesystem paths are validated and never expose data outside ~/.claude
  • Verify server functions validate their return data with Zod schemas
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 First seen · 33 lines · 40 tokens per session scan A dc8f9a5ef286

Subscribe to this mod's changes

reviewer is an agent published in the GitHub repository dlupiak/claude-session-dashboard (76 stars, last pushed 3d ago), licensed MIT. It adds 40 tokens to every session and 324 once invoked, about $0.0002 per session on Opus 5.5. 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-09-01.

Related

Other agents, from other repositories

architecture-analyst

Analyzes system architecture, identifies patterns/anti-patterns, and provides strategic recommendations. Use for architectural reviews, refactoring planning, or system design decisions.

travisjneuman/.claude · 36 tokens

deep-code-reviewer

Thorough 6-aspect code review covering correctness, security, performance, maintainability, verification, and documentation. Use for comprehensive PR reviews or code quality audits.

travisjneuman/.claude · 38 tokens

sonmat-witness

External witness agent. Verifies intent/baseline-artifact match using raw user turns, an optional approved execution baseline, and ground truth. Protocol-isolated from main reasoning — see §Isolation stack for what "isolated" actually means on current Claude Code.

jun0-ds/sonmat · 57 tokens

security-auditor

Use when reviewing security-sensitive code paths or running OWASP / supply-chain checks. Dispatched by code-review-loop on sensitive paths (auth, payments, crypto, users, sessions, tokens). Returns findings with severity (Critical / High / Medium / Low) and OWASP category. Context: A diff touches the auth middleware.…

duthaho/claudekit · 164 tokens

code-reviewer

Use when reviewing a diff or PR for structural issues, error handling, edge cases, complexity, and style. Dispatched primarily by code-review-loop. Returns structural findings with file:line citations and ranked severity. Pairs with security-auditor for sensitive paths. Context: A PR is ready for first-pass review.…

duthaho/claudekit · 159 tokens

forge-reviewer

Reviews code against spec requirements and quality standards. Returns PASS or ISSUES with file:line references and severity levels. Dispatched after task implementation.

LucasDuys/forge · 33 tokens