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 tableaggregation-type(optional): sum, count, avg, min, max, median (default: count)field(optional): Field to aggregate on
Process
- Run
getTablesListto resolve the table name to an ID. - Run
getTableSchemato discover numeric and countable fields. - Run
aggregatewithaggregations: [{ "field": "<field>", "type": "<type>" }]andfilterGroups: [{ "alias": "All" }]-- both parameters are required; add one filter group per segment ({ "alias": "North", "filter": { ... } }) for a breakdown. - If no field specified, run a count aggregation on the whole table, or
groupByRecordsfor a count per distinct value. - Present results in a clear summary format.
- 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