agentleFS
apeabody007apeabody007/Digits/skills/monthly-report/SKILL.md

monthly-report

Skill1 starsChanged 2 months agoMITView on GitHub

Turn raw rows in an Apple Numbers spreadsheet into a clean monthly summary — totals, category breakdowns, month-over-month deltas — and optionally export it as PDF or Excel. Use when the user says "summarize this month", "build a monthly report", "roll this up", "give me the totals by category", "compare to last month", or "export the report".

8 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Locate the data: Call numbers_list_documents.

    line 15
  2. Very specific:

    Read the source: Call numbers_read_table with include_formulas: true so you don't mistake a formula cell for a typed constant.

    line 19
  3. Very specific:

    Decide where the summary lives: Prefer a dedicated summary sheet so you never clobber source rows.

    line 29
  4. Very specific:

    Write the summary in one batch: Use a single numbers_set_cells call for the whole summary.

    line 34
  5. Very specific:

    Export only with permission: If the user wants a shareable artifact, confirm the path and format, then numbers_export (pdf, excel, or csv).

    line 45
  6. Distinctive:

    Read before you write; the source rows may have changed since last time.

    line 52
  7. Distinctive:

    Put the summary on its own sheet/table.

    line 54

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Monthly Report (Apple Numbers)

Build a readable monthly summary on top of a live Numbers spreadsheet using the Digits MCP tools (numbers_*). The source data is whatever rows the user already has (transactions, sales, hours, etc.); your job is to aggregate it faithfully — never invent numbers, always read before writing.

Workflow

  1. Locate the data. Call numbers_list_documents. If empty, ask for the file path and numbers_open_document. Use numbers_list_sheets and numbers_list_tables to find the source table and confirm its dimensions.
  2. Read the source. Call numbers_read_table with include_formulas: true so you don't mistake a formula cell for a typed constant. Identify the key columns: a date/period column, one or more category/label columns, and the numeric column(s) to aggregate.
  3. Aggregate in your head, not in guesses. Compute the rollups you intend to write (per-category totals, grand total, count, average, and — if a prior period is present — the month-over-month delta and % change). Do the arithmetic from the values you actually read.
  4. Decide where the summary lives. Prefer a dedicated summary sheet so you never clobber source rows. If one doesn't exist, offer to create it with numbers_add_sheet (new sheets start blank — see Limitations). Lay out a small table: a header row, one row per category, then a Total row.
  5. Write the summary in one batch. Use a single numbers_set_cells call for the whole summary. For the Total row and any derived figures, write formulas (=SUM(B2:B9)), not pre-computed constants, so the report stays live if the user edits a number later. (Digits has no transaction API — one batched call is the closest thing to atomic, so build the whole block at once rather than dribbling cells in.)
  6. Verify. Re-read the summary table and confirm the formula results match the totals you computed in step 3. If they disagree, the cell references are wrong — fix them before reporting success.
  7. Export only with permission. If the user wants a shareable artifact, confirm the path and format, then numbers_export (pdf, excel, or csv). Saving the .numbers file itself is a separate, explicit step (numbers_save_document / numbers_save_as) — ask first.

Rules

  • Read before you write; the source rows may have changed since last time.
  • Aggregate only the values you read — no estimates, no "roughly."
  • Put the summary on its own sheet/table; never overwrite source data.
  • Derived cells are formulas, not constants, so the report recomputes.
  • One numbers_set_cells batch per summary block, not many small writes.
  • Numbers are plain (1234.5), never formatted strings ("$1,234.50").
  • State your assumptions about which column is the period and which is the amount, and let the user correct you before you write.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.