Skip to content
Skills Library
Finance & accounting · Analysis

mora

/mora

Run a quarterly or yearly household balance-sheet review (家庭财务盘点) with Mora from the user's screenshots, pasted text or statements. Use when the user says “做一次家庭财务盘点” or wants to take stock of family or personal assets, debts, income and spending, see net worth and how many months of spending their savings would cover (安全垫), compare with earlier reviews (环比 / 同比), or open a saved review. Produces local JSON files and a self-contained HTML result page.

Repository
Mora ↗
Licence
AGPL-3.0
Last repository change
05.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
1
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 05.11.2026, without references to retired models or APIs.

Licence

AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/mora.mjs

What it does and when to use it

Run a quarterly or yearly household balance-sheet review (家庭财务盘点) with Mora from the user's screenshots, pasted text or statements. Use when the user says “做一次家庭财务盘点” or wants to take stock of family or personal assets, debts, income and spending, see net worth and how many months of spending their savings would cover (安全垫), compare with earlier reviews (环比 / 同比), or open a saved review. Produces local JSON files and a self-contained HTML result page.

Triggers from the description

做一次家庭财务盘点
Original author description

Run a quarterly or yearly household balance-sheet review (家庭财务盘点) with Mora from the user's screenshots, pasted text or statements. Use when the user says “做一次家庭财务盘点” or wants to take stock of family or personal assets, debts, income and spending, see net worth and how many months of spending their savings would cover (安全垫), compare with earlier reviews (环比 / 同比), or open a saved review. Produces local JSON files and a self-contained HTML result page.

How it works

  1. Setup
  2. Workflow
  3. Rules
Original SKILL.md headings · 36 lines, 712 words
SKILL.md preview
---
name: mora
description: Run a quarterly or yearly household balance-sheet review (家庭财务盘点) with Mora from the user's screenshots, pasted text or statements. Use when the user says “做一次家庭财务盘点” or wants to take stock of family or personal assets, debts, income and spending, see net worth and how many months of spending their savings would cover (安全垫), compare with earlier reviews (环比 / 同比), or open a saved review. Produces local JSON files and a self-contained HTML result page.
license: AGPL-3.0-only (https://github.com/KyrieLii/Mora/blob/main/LICENSE). A commercial license is available from the author.
---

# Mora

You do the reading and organising; the bundled CLI does every calculation and writes the files; a local HTML page shows the result. Figures you quote must come from the CLI, never from your own arithmetic.

## Setup

- The CLI is `scripts/mora.mjs` in this skill's folder. Run it with Node 20 or newer: `node <skill-dir>/scripts/mora.mjs <command>`. It has no dependencies. Only `mora fx` uses the network; every other command works offline.
- Every command prints JSON. A failed command prints `"ok": false` with `errors` and exits with status 1.
- Data lives in `~/.mora` by default. If that folder does not exist, the CLI reuses an existing `~/.family-finance-review` folder. To choose another folder, pass `--dir <path>` on every call or set `MORA_DIR`. The older `FFR_DIR` variable also works. On first use, tell the user where their data will be kept.

## Workflow

1. **Look at what exists.** Run `mora list`. If there are saved reviews, run `mora show latest` and start from that review's lines: ask what changed rather than collecting everything again.
2. **Collect.** Ask for screenshots of bank, brokerage, wallet and loan apps, pasted text, or statements, and the period (quarter or year). Read them using [references/reading-sources.md](references/reading-sources.md). Remind the user to cover card numbers and names before sharing.
3. **Write the input.** Put the review in a JSON file, for example `<dir>/drafts/<date>.json`, following [references/format.md](references/format.md). Run `mora categories` for the valid category ids. Ask about anything you are unsure of instead of guessing. If the user supplies a rough figure, use the amount they provide.
   If any line is in the other currency, get today's rate: tell the user you will fetch the ECB reference rate from api.frankfurter.dev (it sees their IP address, nothing about their finances), then run `mora fx` and copy its `usdCny` and `fxDate` into the input. If it fails, say so; the review then uses the `fallback` rate the command prints. Do not look rates up elsewhere unless the user asks.
4. **Check.** Run `mora check <file>`. Fix every error. Raise each warning with the user if it needs their input.
5. **Preview and confirm.** Run `mora preview <file> --open` (add `--lang en` for English). This writes `<dir>/preview.html`, a page marked "not saved", and opens it. In chat, give the headline figures from the command's `figures` (net worth, safety cushion and its rating, change since the last review) and list the lines briefly. Ask the user to confirm or correct. Repeat steps 3 to 5 until they confirm.
6. **Save only after the user clearly confirms.** Run `mora save <file>`. If a review for that date exists, the command refuses; ask before re-running with `--replace`.
7. **Show the result.** Run `mora report --open` to write `<dir>/reports/<date>.html` with trends across every saved review.

Previews and reports use the rate recorded in the review. To correct it, update the input and preview it again. For a saved review, use `--replace` after the user confirms.

To open an earlier review, run `mora list`, then `mora report <date> --open` or `mora show <date>`. `show` returns `monthOnMonth` (against the previous review) and `yearOnYear` (against the review closest to a year earlier) when those exist.

## Rules

- Never save without the user's explicit confirmation of the preview.
- Never write or edit files under `<dir>/reviews/` yourself; they change only through `mora save`.
- Never record card numbers, account numbers or their last digits, ID numbers, phone numbers or people's names. Use short labels like "招行 活期" or "富途 美股".
- Only CNY and USD are supported. Convert other currencies yourself, say which rate you used, and record the converted amount.
- The safety cushion (安全垫) is the number of months the household could keep paying for living costs and loan repayments if all income stopped, using current cash first and then current investment balances. Its ratings are 安全垫偏薄 / 安全垫适中 / 安全垫充足 (tight / moderate / ample). Do not call it 跑道, 缓冲期 or 撑得住.
- Describe, do not advise. Never recommend buying, selling, rebalancing or selling a home, and never predict returns.
- The HTML pages hold the user's full figures. They are self-contained and work offline. Publish or upload one only if the user asks you to, and say that anyone with the link could see it.
Files in this package (4)
  • SKILL.md 5 KB
  • references/format.md 5 KB
  • references/reading-sources.md 3 KB
  • scripts/mora.mjs 675 KB

Versions

The database has no other skills named mora.

Database snapshot: 13.11.2026 · package version 573ed82fb8b3 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90review-spending
    Review a user's saved Bills AI statements and transactions with read-only tools and report spending by category, income and recurring patterns with honest caveats. Use when the user asks where their money went, wants a spending summary for a month or year, or asks to find or…
  • 100plumb
    A warm, honest personal-finance check-up buddy. Takes a one-time snapshot of someone's complete balance sheet (cash, investments, retirement and insurance, land and other real estate, vehicles, business stakes, valuables, debts, money lent to others) plus income, spending, goals…
  • 90net-worth-tracker
    When the user wants to calculate their net worth, track assets and liabilities over time, measure financial progress, analyse asset allocation, or set a net worth milestone. Also use when the user mentions "what am I worth," "assets vs debts," "balance sheet," "financial…
  • 100wealthinsight-agent
    Create an account, record, and retrieve personal bookkeeping data in WealthInsight (资产观察) through its scoped Agent API, including assets, balance changes, income, expenses, stock or fund trades, net worth, and runway. Use when a user asks an AI agent to sign up for a finance…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.