Skip to content
Agentmart
Submit a tool

quarterly-expense-report

Reads vendor, date, and spend data from the Expenses library on the current SharePoint site and generates a self-contained interactive HTML expense report for…

Skill by zrosenfield

IndexedMIT★ 99
Write a review

Chalk Labs

Need help deploying quarterly-expense-report?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/zrosenfield-quarterly-expense-report

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Reads vendor, date, and spend data from the Expenses library on the current SharePoint site and generates a self-contained interactive HTML expense report for a specified fiscal quarter. Use when asked for a quarterly expense summary, Q1/Q2/Q3/Q4 financial summary, expense report, or spend analysis by period.

Use cases: documents, frontend, data, finance

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/quarterly-expense-report

What's inside

Skill name
quarterly-expense-report
Description
Reads vendor, date, and spend data from the Expenses library on the current SharePoint site and generates a self-contained interactive HTML expense report for a specified fiscal quarter. Use when asked for a quarterly expense summary, Q1/Q2/Q3/Q4 financial summary, expense report, or spend analysis by period.
License
MIT
Instructions
94 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Quarterly Expense Report

Reads the **Expenses** library from the current SharePoint site, filters to the requested fiscal quarter, and generates a single self-contained interactive HTML file that serves as an executive expense summary.

---

## Step 1: Determine the Fiscal Quarter

Check the site context (SHAREPOINT.md) for the fiscal year start month. If it is not specified, default to January.

Map the requested quarter label (Q1, Q2, Q3, Q4) to the three calendar months it covers based on that fiscal year start. For example, if the fiscal year starts in July:

| Quarter | Months |
|---------|--------|
| Q1 | July, August, September |
| Q2 | October, November, December |
| Q3 | January, February, March |
| Q4 | April, May, June |

Determine the fiscal year label for the report heading (e.g., "FY2026 Q1" for July–September 2025 in a July fiscal year).

---

## Step 2: Read and Filter Expense Data

Read all items from the **Expenses** library. Collect these columns: **Vendor Name**, **Transaction Date**, **Total Spend**.

Filter to items where **Transaction Date** falls within the three calendar months of the target quarter. If no items are found for the period, note that the quarter has no recorded expenses and still produce the HTML file with the zero-state layout.

---

## Step 3: Compute Summary Metrics

From the filtered items, calculate:

- **Total Spend** — sum of all Total Spend values in the quarter
- **Vendor Count** — number of distinct Vendor Name values
- **Transaction Count** — total number of line items
- **Largest Vendor** — the vendor with the highest summed Total Spend, and their total

Also compute:
- **Spend by vendor** — sum of Total Spend grouped by Vendor Name, sorted descending
- **Monthly spend** — sum of Total Spend grouped by each of the three months in the quarter

---

## Step 4: Generate the HTML Report

Produce a single, completely self-contained HTML file with all CSS and JavaScript embedded inline. Load Chart.js (version 4) from CDN — the only external dependency.

### Styling

Use a neutral corporate palette:

| Token | Value |
|---|---|
| Primary (navy) | #1E3A5F |
| Accent (blue) | #2563EB |
| Success (green) | #059669 |
| Warning (amber) | #D97706 |
| Neutral (gray) | #6B7280 |
| Page background | #F1F5F9 |
| Card background | #FFFFFF |
| Font stack | system-ui, -apple-system, "Segoe UI", sans-serif |

### Page Layout

**Header** — full-width navy bar. Left side: "EXPENSE REPORT" in white bold tracked caps, subtitle with the fiscal quarter label (e.g., "FY2026 Q1 · July – September 2025"). Right side: report generation date.

**Metrics bar** — four cards in a row: Total Spend (green), Vendor Count (blue), Transaction Count (gray), Largest Vendor with amount (amber). Each card shows the primary value large, with a label below and a colored left-border accent.

**Spend by vendor chart** — titled "Spend by Vendor." Horizontal bar chart using Chart.js. One bar per vendor, sorted largest to smallest. Bars in the accent blue color. Show currency-formatted values as labels at the end of each bar. Minimum chart height scales with vendor count (40px per bar, minimum 200px).

**Monthly spend chart** — titled "Monthly Spend." Vertical bar chart using Chart.js showing total spend for each of the three months in the quarter. Use a gradient from lighter to darker blue (or a single accent color). Include a dotted average-line annotation if month-to-month variance is greater than 20%.

**Transaction table** — titled "All Transactions." Columns: Vendor Name, Transaction Date (formatted as Month D, YYYY), Total Spend (currency formatted), and a Notes column if the Expenses library includes one. Sort by Transaction Date ascending. Use alternating row shading. Make the table horizontally scrollable on narrow viewports.

**Footer** — site URL, "Generated by SharePoint AI," and the generation timestamp in small gray text centered at the bottom.

### Design Standards

Use CSS Grid for the page layout and Flexbox within cards. Cards should have `box-shadow: 0 1px 3px rgba(0,0,0,0.08)` and `border-radius: 8px`. Include a `@media print` block that removes the header background and sets text to black. Minimum body font size 14px. Apply a 0.25-second `fadeIn` animation on all cards.

If Chart.js fails to load from CDN, fall back to a plain `<table>` summary rather than showing a broken chart area.

---

## Output

Deliver a single HTML file named `Expense-Report-[Quarter]-[FY].html` (e.g., `Expense-Report-Q1-FY2026.html`). Do not include any explanatory prose outside the file — the entire response is the file content.

If the site context specifies a folder for saving reports, save the file there after generating it.

From zrosenfield/sharepoint-ai-skills, MIT.

More from zrosenfield/sharepoint-ai-skills

Signals

Stars
99
Forks
31
Open issues
0
Last commit (this folder)
Aug 4, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from zrosenfield

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get quarterly-expense-report running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying quarterly-expense-report?

CallGet help
Cite this page

quarterly-expense-report skill. Agent Mart. https://agentmart.dev/skills/zrosenfield-quarterly-expense-report (last updated 2026-10-24)