# Finance UpdateDashboard

> Generate a self-contained HTML dashboard from a personal-finance Excel database (FinanceDB.xlsx). Use this whenever the user wants to see, visualize, refresh, or share their finances as a dashboard or report — phrases like "build my finance dashboard", "refresh the dashboard", "show my spending", "make a chart of my expenses by month", or "I updated the database, regenerate the view". Produces on…

- **Type:** Skill
- **Install:** `agentstack add skill-calvinlee6806-claudeskill-personalfinancedashboard-finance-updatedashboard`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [calvinlee6806](https://agentstack.voostack.com/s/calvinlee6806)
- **Installs:** 0
- **Category:** [Databases](https://agentstack.voostack.com/c/databases)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [calvinlee6806](https://github.com/calvinlee6806)
- **Source:** https://github.com/calvinlee6806/ClaudeSkill_PersonalFinanceDashboard/tree/main/Finance-UpdateDashboard

## Install

```sh
agentstack add skill-calvinlee6806-claudeskill-personalfinancedashboard-finance-updatedashboard
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Finance Dashboard (HTML)

Read the finance database and produce **one** self-contained HTML file: all data is embedded,
all charts are drawn in vanilla JS/SVG, so it opens offline in any browser with nothing to
install. This is *End Product A* — portable and shareable. It is a snapshot: it reflects the
database at the moment it was built, so re-run this skill after the database changes.

This skill only reads the database. The source of truth stays in `FinanceDB.xlsx`, owned by the
`Finance-ImportStatement` skill.

## How to build

The work is done by a bundled script — don't hand-write HTML or re-implement the charts.

```bash
python scripts/build_dashboard.py  [output.html]
```

It reads the `Database` and `Trips` sheets, embeds them into `assets/dashboard_template.html`,
and writes the final file (default `Finance_Dashboard.html`). Requires `openpyxl`
(`pip install openpyxl`).

Steps:

1. Find the database. Default to the Live DB (`2_Live/output/FinanceDB.xlsx`); use the Test DB
   (`1_Test/output/FinanceDB_TEST.xlsx`) if the user is working in Test. If the workbook is open
   in Excel (a `.~lock.*` file sits next to it), ask the user to close it first.
2. Run the script, pointing the output at where the user wants it.
3. Present the resulting `.html` file so the user can open it.
4. Sanity-check: confirm the total spend and the transaction count match the database before
   handing it over.

## What the dashboard shows

- **KPI cards** — Total Spend (positive amounts only), Avg/Month, Travel, Notable (≥ threshold),
  and Cashback/incoming (negative amounts) shown separately.
- **Spending over time** — switchable Month / Week / Year.
- **Breakdowns** — by Category, by tag (Travel / Notable / Routine), Top Merchants, and Spend
  by Trip (using the `Trips` date ranges).
- **Transactions** — filterable (account, category) and sortable table.

Spend totals count only positive amounts; cashback/refunds (negative) are reported in their own
card so they don't quietly shrink the spend figure.

## Customizing

- Colors, fonts, and layout live in the `` block of `assets/dashboard_template.html`.
- The data shape and all chart logic live in the `` block; the script injects the data
  into the `__DATA__` placeholder. To add a chart, extend the template's script — the build
  script does not need changing.

## Relationship to other end products

This produces a static HTML snapshot. If the user instead wants an always-current view with no
regeneration step, that is *End Product B* — a separate C# app that reads the same
`FinanceDB.xlsx` live on launch. Both read the same database, so they never disagree.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [calvinlee6806](https://github.com/calvinlee6806)
- **Source:** [calvinlee6806/ClaudeSkill_PersonalFinanceDashboard](https://github.com/calvinlee6806/ClaudeSkill_PersonalFinanceDashboard)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-calvinlee6806-claudeskill-personalfinancedashboard-finance-updatedashboard
- Seller: https://agentstack.voostack.com/s/calvinlee6806
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
