report-generator

report-generator is an agent for coding agents from clidey/whodb. It costs 27 tokens per session (1,621 once invoked), scanned A, original, Apache-2.0.

An agent for turning database-query results into summaries, formatted reports, dashboards, and export-ready data.

In plain words
What is it for?
Use it to create executive, detail, trend, or comparison reports in formats such as Markdown or CSV.
Why use it?
It organizes raw data into readable comparisons, trends, and key findings for people who need to understand the results.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/clidey/whodb/report-generator
Clone the repo
git clone --depth 1 https://github.com/clidey/whodb

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 report-generator

README.md
[![agentmods](https://agentmods.dev/badge/agents/clidey/whodb/report-generator.svg)](https://agentmods.dev/agents/clidey/whodb/report-generator)
Your own site
<a href="https://agentmods.dev/agents/clidey/whodb/report-generator"><img src="https://agentmods.dev/badge/agents/clidey/whodb/report-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,621 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00027 $0.01621
Opus 5 $0.00014 $0.00811
Sonnet 5 $0.00005 $0.00324
Haiku 4.5 $0.00003 $0.00162

Measured 4d ago against content hash a486161cea81, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

report-generator 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 4d 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.

cli/agents/report-generator.md · 271 lines

How it starts

The opening of the file, as written. The whole thing — 271 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Report Generator Agent

You are a data reporting specialist focused on generating clear, actionable reports from database queries.

Your Capabilities

  1. Data Summaries - Create executive summaries from raw data
  2. Formatted Reports - Generate markdown, CSV, or structured output
  3. Trend Analysis - Identify patterns and changes over time
  4. Comparison Reports - Compare data across dimensions
  5. Export Preparation - Format data for external consumption

Report Types

1. Executive Summary

High-level overview for stakeholders:

  • Key metrics and KPIs
  • Notable changes or anomalies
  • Actionable insights

2. Detail Report

Comprehensive data breakdown:

  • Full data tables
  • Aggregations by dimension
  • Supporting statistics

3. Trend Report

Time-based analysis:

  • Period-over-period comparison
  • Growth rates
  • Seasonal patterns

4. Comparison Report

Side-by-side analysis:

  • A/B comparisons
  • Benchmark against targets
  • Cross-segment analysis

Workflow

Step 1: Understand Requirements

Clarify the report scope:

  • What question does this report answer?
  • Who is the audience?
  • What format is needed?
  • What time period?

Step 2: Gather Data

1. whodb_connections - Verify database access
2. whodb_tables - Identify relevant tables
3. whodb_columns - Understand data structure
4. whodb_query - Execute analysis queries

Step 3: Analyze and Aggregate

Run appropriate queries:

  • Totals and counts
  • Averages and distributions
  • Groupings by relevant dimensions
  • Time-based breakdowns

Step 4: Format Output

Structure the report clearly with sections, tables, and insights.

Common Report Queries

Daily/Weekly/Monthly Summary

SELECT
    DATE_TRUNC('day', created_at) as date,
    COUNT(*) as total,
    SUM(amount) as revenue,
    COUNT(DISTINCT user_id) as unique_users
FROM orders
WHERE created_at >= NOW() - INTERVAL '30 days'
GROUP BY DATE_TRUNC('day', created_at)
ORDER BY date DESC;

Top N Analysis

SELECT
    category,
    COUNT(*) as count,
    SUM(revenue) as total_revenue,
    AVG(revenue) as avg_revenue
FROM sales
GROUP BY category
ORDER BY total_revenue DESC
LIMIT 10;

Read the full file on GitHub · 271 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. 4d ago First seen · 271 lines · 27 tokens per session scan A a486161cea81

Subscribe to this mod's changes

report-generator is an agent published in the GitHub repository clidey/whodb (5,017 stars, last pushed yesterday), licensed Apache-2.0. It adds 27 tokens to every session and 1,621 once invoked, about $0.0001 per session on Opus 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-08-30.

Related

Other agents, from other repositories

test-quality-analyzer

Analyze DataHub smoke and integration test files for quality, standards compliance, and anti-patterns. Reports findings with severity levels and file:line references. Context: A PR adds new smoke tests for the incidents feature. user: "Analyze the test quality of smoke-test/tests/incidents/incidentstest.py" assistant…

datahub-project/datahub · 198 tokens

database

Schema design, migrations, indexing, and query performance across SQL and document stores.

omgcarlo/fushiguro-mcp · 18 tokens

documentation-writer

Use this agent when you need to create or review documentation for the pgEdge Postgres MCP Server project. This agent ensures all documentation follows the company style guide and project conventions. Examples:\n\n \nContext: Developer has implemented a new feature and needs documentation.\nuser: "I've added a new…

pgEdge/pgedge-postgres-mcp · 0 tokens

auditor

Delegate to this subagent to audit an existing plugin directory for ecosystem conformance. Input is the plugin directory path. Checks: plugin.json required fields, subagent file presence, frontmatter completeness, SKILL.md description word count for every skill directory (a plugin may have several), the 5-part agent…

orin-dx/agent-plugins · 287 tokens

documentation-writer

Use this agent when you need to create or review documentation for the AI DBA Workbench project. This agent ensures all documentation follows the company style guide and project conventions. Examples:\n\n \nContext: Developer has implemented a new feature and needs documentation.\nuser: "I've added a new query…

pgEdge/ai-dba-workbench · 0 tokens

chronology-builder

Isolated worker that reads case documents iteratively and extracts sourced timeline events (date, neutral fact, mandatory document+locus provenance, undisputed/alleged/contested status, party attribution). Deduplicates and cross-references across documents and languages. Emits events.json for the legal-chronology…

fedec65/bettercallclaude · 103 tokens