# Build Report

> Build an aggregation report from NocoDB table data Arguments: <table-name> [aggregation-type] [field].

- Skill: `agents-store/build-report` (Agent Skill)
- Install (CLI): `npx get-skill add agents-store/build-report`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agents-store/build-report/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: agents-store (https://skillmd.com/u/agents-store)
- Updated: 2026-11-16
- Page: https://skillmd.com/skills/agents-store/build-report

---


# Build Report

Build an aggregation report from a NocoDB table.

The aggregation types, the segmented reports and the dashboard pattern are written down in `${CLAUDE_PLUGIN_ROOT}/skills/views-and-reports/SKILL.md`; read it before the first step.

## Arguments

Parse from "$ARGUMENTS":
- `table-name` (required): Name or ID of the table
- `aggregation-type` (optional): sum, count, avg, min, max, median (default: count)
- `field` (optional): Field to aggregate on

## Process

1. Run `getTablesList` to resolve the table name to an ID.
2. Run `getTableSchema` to discover numeric and countable fields.
3. Run `aggregate` with `aggregations: [{ "field": "<field>", "type": "<type>" }]` and `filterGroups: [{ "alias": "All" }]` -- both parameters are required; add one filter group per segment (`{ "alias": "North", "filter": { ... } }`) for a breakdown.
4. If no field specified, run a count aggregation on the whole table, or `groupByRecords` for a count per distinct value.
5. Present results in a clear summary format.
6. Suggest additional aggregations or filters for deeper analysis.

## Example Usage

```
/build-report Orders sum Amount
/build-report Contacts count
/build-report Products avg Price
/build-report Deals max Value
```
