Report Builder
AnthropicOfficialPublished by Anthropic
- Skill
- Workflow
- Business and productivity
- Apache-2.0
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
Report Builder transforms natural-language requests into repeatable, scheduled business reports. It bridges the gap between raw data and actionable insights by defining metrics, fetching data from various business tools or uploaded files, and generating both a concise chat summary and a structured XLSX workbook. The skill prioritizes consistency by saving report definitions, ensuring that recurring requests are handled efficiently without redundant re-interviews.
What it does
- Converts plain-English descriptions into formal report specifications.
- Fetches data from connected business platforms like accounting software, CRM, and payment processors.
- Supports manual data ingestion via CSV or XLSX uploads when no connectors are available.
- Generates a chat-based summary highlighting key insights and comparisons.
- Produces a multi-tab XLSX workbook including raw data for verification.
- Saves report definitions to enable automated, recurring execution on demand or on a schedule.
When to use it
- When you need to generate a recurring KPI dashboard or metrics summary.
- When an owner asks for specific business numbers on a weekly, monthly, or quarterly basis.
- When you need to consolidate data from multiple sources into a single, repeatable report.
- When you have raw data files (CSV/XLSX) that need to be processed into a formal report format.
Advantages
- Reduces manual effort by automating the data retrieval and report generation process.
- Ensures consistency by saving and reusing report definitions for future runs.
- Provides clear, insight-driven summaries rather than just raw data dumps.
- Flexible data ingestion supports both direct tool integrations and manual file uploads.
Usage examples
- “Can you track sales by location versus last year every Monday?”
- The agent defines the report, pulls the necessary sales data, presents a summary of performance, and saves the definition for future weekly runs.
- “I need to see our AR aging and labor percentage of revenue monthly.”
- The agent confirms the metrics and period, retrieves the financial data, and delivers a formatted report with a summary and an XLSX file.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/anthropics/report-builder/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip report-builder.zip -d .agents/skills
Documentation by Anthropic
Report Builder
The owner describes a report once. You build it, run it, and save the definition so it never has to be described again.
Owners are pulling numbers out of three dashboards by hand and trying to find the story themselves. The job is to end that.
Step 1 — Check for an existing definition
Before anything else, read reference/saved_reports.md and check whether this report already exists. Also check for a report-definitions.md in the working directory — that's where definitions land when the skill folder isn't writable (see Step 7).
If the owner says "same report as last time," "run the weekly one," or names a report you have a definition for, skip straight to Step 4 and run it. Re-interviewing someone about a report they already defined is the fastest way to make this skill feel broken.
If nothing matches, continue.
Step 2 — Turn the description into a spec
Owners describe reports loosely: "every Monday, sales by location versus last year, AR aging, and labor percent." That sentence contains four separate decisions. Resolve them into a spec using the format in reference/report_spec.md:
Metrics — each one named, with its formula and source
Grouping — by location, product, customer, channel, rep
Comparison — versus prior period, versus last year, versus target
Period — the window each run covers
Cadence — one-off, weekly, monthly, quarterly
Infer what you reasonably can. "Sales by location vs last year" gives you the metric, the grouping, and the comparison — don't ask about those. Ask only about what's genuinely ambiguous, and ask it in one batch rather than one question at a time.
The two questions worth asking almost every time:
Which period does each run cover — calendar month, trailing 30 days, month-to-date?
Is a number like "labor percent" measured against revenue or against total costs?
Getting these wrong produces a report that looks right and is quietly wrong, which is worse than asking.
Step 3 — Confirm the spec, once
Show the resolved spec back in a compact block. Ask for one confirmation, then build. Do not walk the owner through the spec field by field — they described this in one sentence and expect one answer.
If they correct something, apply it and go. Do not re-confirm a second time.
Step 4 — Pull the data
Dispatch every source call in a single parallel batch. See reference/data_sources.md for the metric-to-tool mapping.
Sources, tried simultaneously:
The ledger — MYOB, NetSuite, QuickBooks, Xero, or Zoho Books, whichever is connected; peers per
../../shared/connector-neutrality.md. P&L lines, revenue, expenses, AR aging, AP, class and location splits. MYOB is P&L, AR, and payables only, three financial years back. If two ledgers are connected, ask which is the source of record and take totals from that oneHubSpot — deals, stages, owners, close dates, pipeline value
PayPal, Square, Stripe — settlements, fees, refunds, transaction detail
Shopify — orders, SKU-level revenue, fulfillment status
Ramp, Expensify — card spend and expense detail. Both are read sources here; Expensify is read-only search
If a source errors or returns nothing, record it and move on. Never block the whole report on one bad connector.
No connectors at all is a supported path, not a failure. Ask for a CSV or XLSX export, read it, and build the identical report from the file. Say so plainly: "I don't see a connected data source. Export the sales report from your system and drop it here — I'll build the same report from that." Owners with tool sprawl live in this mode, and the report is just as good.
Step 5 — Compute and sanity-check
Compute every metric named in the spec. Then check the results before showing them. Read reference/gotchas.md for the failure modes that actually happen.
The checks that catch real errors:
Period boundaries. A partial current month compared against a full prior month always looks like a collapse. Either compare like-for-like or label the partial period explicitly.
Double-counting. A Shopify order and its Stripe settlement are one sale. If both sources are connected, pick one as the revenue source and note which.
Empty groups. A location with no sales this period should appear with a zero, not vanish. A disappearing row reads as a data problem.
Totals that don't tie. If the grouped rows don't sum to the total, say so rather than publishing a number you can't defend.
Step 6 — Deliver
Two artifacts, always, in this order.
The chat summary comes first. Follow reference/output_template.md. Lead with what changed and what it means, not with a table dump. The owner asked for a report because they want a decision, not a spreadsheet.
Writing rules, same as every reporting skill in this plugin:
Numbers lead, words follow. Not "sales were strong" — "USD 43,200, up 8% versus last year."
Every number carries its comparison. A figure with no baseline is a missed insight.
Name the outlier. "Portland is down 22%, the only location below last year" beats "results were mixed."
Three findings maximum in the summary. The workbook holds everything else.
Then the XLSX. One tab per metric group, a summary tab first, raw pulled data on a final tab so the owner can check your math. Build it with a script rather than by hand.
Then the report page, per the owner's stored output preference — never default to a markdown file. Check the ## Business context block's Output preference (shared style guide rule, ../../shared/artifact-style.md):
Visual artifact (the default): render the report as an HTML page in the house style — each headline metric is a stat tile with its comparison as the context line; the grouped rows (by location, product, rep) are a table with right-aligned tabular-nums; any metric versus target carries a status pill (good on target, warn slipping, critical missed); the three findings open the page in their own panel; "n/a" sources go in one quiet footer line. Additive to the chat summary and the workbook, never a replacement.
docx / md / notion / canva preference: deliver the same content in that form — a DOCX or markdown file, a Notion page created via the connector (named destination, never overwriting), or a Canva Doc created via the Canva connector (a new design each run, named with the date; tables become lists); fall back to the visual artifact if Notion or Canva is not connected — and say that is why. The XLSX still ships alongside.
Best for skill: use the visual artifact — a report is read on screen and compared week to week.
Step 7 — Save the definition
Append the spec to reference/saved_reports.md with the date it was created and the cadence. This is what makes the report recurring instead of one-off.
If that file can't be written — the skill folder is read-only in most installed runtimes — write the definition to report-definitions.md in the owner's working directory instead and say where it went. A definition that silently failed to save is the same bug as never saving it.
If the owner asked for a cadence, confirm it in one line: "Saved. I'll run this the first Monday of each month." Scheduling is a property of this skill — no separate command needed.
After the run
One line: the report ran and the definition is saved. Then the single most relevant next step, with at most two others nearby:
"The weekly pack, on schedule" runs
/report-packto wrap this in context on a cadence."How's the business doing?" runs
business-pulsefor the picture around these numbers."Cash forecast" runs
cash-flow-snapshotwhen the report raised a cash question.
Max three offers. Never repeat an offer the owner declined this session.
What not to do
Do not interview the owner about a report they already defined. Check
saved_reports.mdfirst, every time.Do not ask permission to pull data. The skill was invoked. Run it.
Do not invent a number. If a source returned nothing, write "n/a" and name the source. A plausible-looking guess in a report the owner forwards to their bank is a serious failure.
Do not lead with the table. The summary is the product; the workbook is the appendix.
Do not treat "no connectors" as a blocker. The CSV path is a first-class mode.
Reference files
reference/report_spec.md— the spec format, with worked examplesreference/data_sources.md— metric to connector mapping, with fallbacksreference/output_template.md— exact structure for the chat summary and the workbookreference/saved_reports.md— stored report definitions, appended to over timereference/gotchas.md— the failure modes that produce confidently wrong reports
Using a tool that isn't listed
The connectors named in this skill are the tested paths, not a wall. If the owner wants this flow to use a tool that isn't connected or listed, offer build-connector — it checks the connector directory first and connects through Zapier otherwise, never hand-building against a raw API. Once the connection exists, the tool joins this skill like any other optional connector, under the same approval gates.
Files
- ATTRIBUTION.mdAdded by AutoGineer909 B
- LICENSELicence file added by AutoGineer11.3 KiB
- SKILL.md10.0 KiB
- reference/data_sources.md9.9 KiB
- reference/gotchas.md3.9 KiB
- reference/output_template.md3.3 KiB
- reference/report_spec.md3.8 KiB
- reference/saved_reports.md1.9 KiB
reference/data_sources.md
Data Sources
Metric-to-connector mapping. Pull everything in one parallel batch; never serially.
The ledger — the spine of most reports
Most SMB reports resolve to the accounting ledger. Whichever is connected — MYOB, NetSuite, QuickBooks, Xero, or Zoho Books — is the source; they are peers (../../../shared/connector-neutrality.md). The metric families below are written against QuickBooks report names; the NetSuite, Xero, MYOB, and Zoho Books sections say where each family comes from there. Amounts carry the business's currency code (../../../shared/currency-and-locale.md).
QuickBooks
| Metric family | Where it comes from |
|---|---|
| Revenue, expenses, net income | Profit and Loss report — from the rows or monthlyBreakdown, never the summary's totalExpenses / grossProfit / grossProfitMargin, which report 0 / 100% against real rows (Trap 2) |
| Revenue by location or class | P&L with class or location split |
| AR aging | AR aging summary, always constrained — see below |
| AP aging | AP aging detail (qbo_accounting_get_ap_aging_detail), constrained by vendor_name or due_before; bucket the rows yourself. Never the AP aging summary: it nets vendor credits into the buckets and reports negative overdue totals (a defect in that tool, ../../../shared/quickbooks-report-traps.md Trap 6) |
| Cash position | Balance sheet |
| Sales by customer | Sales by customer summary, rollup rows filtered — see below |
| Sales by product | Sales by product summary |
| Payroll expense | P&L payroll lines |
Fallback: if QuickBooks returns empty, a sync-in-progress state, or an auth error, mark the affected metrics "n/a — QuickBooks unavailable" and continue with other sources. Do not retry in a loop and do not ask the owner to reconnect mid-report.
Aging reports must be constrained, every time
An unconstrained aging call fails on any real book. On a mid-size ledger the AR aging summary returns well over a hundred thousand characters, overflows the tool output limit, and comes back as nothing usable. This is not an edge case; it is the normal result for a business with a few hundred customers.
Always pass narrowing arguments. The three that matter:
a top-N cap, so only the biggest balances come back
a minimum days-overdue threshold, which drops the current bucket entirely
a minimum dollar threshold, which drops the long tail of small balances
For a report, "the twenty largest balances at least one day overdue" is the useful shape and it always fits. If the owner genuinely needs every line, pull the detail report per customer rather than asking for the whole book at once.
The same rule applies to AP aging, which comes from the detail report: narrow it by vendor or due date. It is the smaller report of the two, but it grows the same way.
Sales by customer double-counts parent customers
The sales-by-customer summary returns two rows for any customer with sub-customers or jobs underneath it: a summary row for the parent, and a separate total row for the same parent. They carry the same figure. The report's own top-customer list contains both.
Read naively, this puts a customer in your rankings twice — once under its own name and once as "Total for" that name — and overstates every concentration figure you compute from it.
Drop rows whose metadata type marks them as a total before you rank, sum, or compute concentration. Keep the parent summary row; it is the real one. Concentration built on unfiltered rows is wrong every time, not occasionally.
HubSpot — pipeline and customers
| Metric family | Where it comes from |
|---|---|
| Deal counts by stage | CRM deals search |
| Win rate, cycle time | Deals with close dates and outcomes |
| Weighted pipeline | Deal value times stage probability |
| New contacts, lead sources | Contacts with create date and source property |
| Deal owner performance | Deals grouped by owner |
Watch out: CRM deal values are forecasts. When a report mixes CRM and accounting data, revenue always comes from the books. Say which source each number came from.
Payment processors
| Source | What it's good for |
|---|---|
| PayPal | Settlements, fees, disputes, transaction detail |
| Stripe | Settlements, fees, refunds, subscription revenue |
| Square | In-person sales, per-location splits, tips |
Double-count risk. A Shopify order settled through Stripe appears in both. Pick one system as the revenue source per report, state the choice in the summary, and use the other only for fees and timing.
Shopify
Orders, SKU-level revenue, variant performance, fulfillment status, refunds. Best source for anything grouped by product.
COGS usually is not in Shopify. Margin metrics need QuickBooks or an uploaded cost file.
NetSuite
Common at the larger end of the segment. Same metric families as the QuickBooks section via ns_runReport and ns_runCustomSuiteQL, plus item-level COGS and inventory valuation.
Xero
Same metric families as the QuickBooks section, from get_profit_and_loss (revenue, expenses, net income, by period), get_aged_receivables (AR aging, same aging-constraint rules), and get_bills (AP). The organisation record supplies the base currency and financial year, so period references resolve against the business's year end.
Ramp and Expensify
Card spend, expense categories, receipts, reimbursements. Useful for expense-side reports and for catching spend that has not yet hit the books.
Ramp also carries real business and treasury account balances with history, plus vendor bill detail and natural-language spend analytics. Its write actions — approve or reject a bill, mark a bill ready to sync — belong to ap-processor, never to a report. Read only, here.
Expensify is read-only search. Expense reports, individual expenses, invoices, trips, category-grouped totals, and approval-state statuses. Receipt substantiation is a first-class filter: "expenses over USD 75 with no receipt attached" is a real query and a genuinely useful report.
Reimbursements appear in both. Ramp and Expensify overlap here. Pick one as the reimbursement source per report, say which, and use the other for detail it uniquely holds — the same rule the processors follow.
MYOB
The ledger for MYOB shops. Read-only. Same P&L and receivables shape as QuickBooks, with three hard limits worth stating in the report rather than discovering mid-run.
| Metric family | Where it comes from |
|---|---|
| Revenue, expenses, net profit | P&L, with monthly or quarterly breakdown and prior-year comparison |
| AR aging by customer | Outstanding customer balances, with at-risk flags |
| AP | Outstanding payables |
| Sales totals | Sales invoice totals |
| Payment terms | Standard payment terms |
No bank or cash balances. MYOB gives the AR and AP legs, never cash on hand. A cash-position metric sourced from MYOB is not available — say so rather than substituting AR.
No customer contact detail. Names and balances only.
Three financial years. Reporting covers the current and prior two financial years. A four-year comparison is not available; say so instead of returning a short series that looks complete.
Any period reference — "last quarter", "FYTD" — means the business financial year unless the owner says calendar. Resolve the financial-year dates once and reuse them across the run.
Zoho Books
The ledger for Zoho shops. Document-level reads, no report endpoints — the metric families are assembled from lists, and the report says so.
| Metric family | Where it comes from |
|---|---|
| Revenue (invoiced) | list_invoices by date range with response_option=3 for the summed total; by customer via customer_id, by item via item_id |
| Expenses | list_expenses by date range, grouped on account_name or vendor_name |
| AR aging | list_invoices with status=overdue, bucketed on due_date; list_contacts with filter_by=Invoice.OverDue for per-customer outstanding_receivable_amount |
| AP (open commitments) | list_purchase_orders open, plus list_expenses with status=unbilled |
| Cash position | list_bank_accounts — current_balance per active account |
| Sales by customer / product | list_invoices grouped by customer_name or by line item_name; list_sales_orders for orders not yet invoiced |
| Payroll expense | Not available — no P&L. Take it from the payroll connector (month-end-prep Step 5a) or an export |
No P&L, cash-flow, or aging report endpoints. "Net income" is invoiced revenue minus recorded expenses, labelled as such; a true P&L comes from the Reports export.
No bill object and no vendor payments. AP is purchase orders and expenses only.
No bank-transaction feed. Balances only, with an
uncategorized_transactionscount per account.The organisation record (
get_organization) suppliescountry_code,currency_code, andfiscal_year_start_month, so period references resolve against the business's year end.
The uploaded-file path
This is a first-class mode, not a degraded one. A large share of owners have tool sprawl and no clean connector.
When no connector covers a metric:
Say plainly what you need: "Export your sales report for the period and drop it here."
Accept CSV or XLSX. Read the header row and map columns to the spec's metrics.
If a needed column is absent, name it specifically — "there's no cost column, so I can't compute margin" — rather than silently dropping the metric.
Record the file's column mapping in the saved spec so the next run can reuse it.
A report built from a file is a real report. Deliver the same chat summary and the same workbook.
Parallel-pull rule
Every source call goes out in one batch. Reports commonly touch four or five systems, and serial pulls turn a thirty-second skill into a two-minute wait that owners will not sit through twice.
Record failures internally. Surface them in the report appendix, never mid-stream.
Requirements and compatibility
Written for: Claude Code, Claude apps
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Declares allowed tools
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Published by
- Anthropic
- Publisher
- Anthropic (Official)
- Source
- anthropics/knowledge-work-plugins · small-business/skills/report-builder · commit e050c2e
- Licence
- Apache License 2.0 (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Anthropic.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download report-builder.zip