agentleFS
ahtishamdilawarahtishamdilawar/expense-tracker-skill/skills/expense-tracker/SKILL.md

expense-tracker

Skill0 starsChanged 3 months agoMITView on GitHub

Operate a private local finance ledger through JSON.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. anthroos/claude-skills-open★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

24 rules. About 0 are common, 14 are distinctive, and 10 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈14

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 10

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Import a bank-agnostic CSV statement and resolve its review queue.

    line 19
  2. Distinctive:

    Do not use this skill for financial, tax, legal, or investment advice.

    line 22
  3. Distinctive:

    Use an agent harness that can execute local shell commands and consume JSON output.

    line 28
  4. Very specific:

    Keep data/, statements, generated state, and reports private.

    line 29
  5. Distinctive:

    If the repository root is unknown, inspect the current workspace or ask once.

    line 31
  6. Very specific:

    Use the harness's local shell or command-execution capability from the repository root.

    line 35
  7. Very specific:

    Every command emits JSON. Interpret that JSON directly.

    line 37
  8. Very specific:

    Before a balance, budget, affordability, receivable, liability, or state answer, run status.

    line 41
  9. Distinctive:

    Before recording money, confirm the account, amount, direction, date, and purpose.

    line 42
  10. Distinctive:

    Write every financial event through the CLI.

    line 43
  11. Distinctive:

    Leave ambiguous outgoing person-to-person transfers in the review queue.

    line 44
  12. Distinctive:

    Treat movements between the user's own accounts as internal transfers, never spending or income.

    line 45
  13. Very specific:

    After a write, run the relevant read command (status, transaction-list, review-list, or budget-status) and verify the saved state.

    line 47
  14. Distinctive:

    If an envelope would go negative, ask which envelope should cover it and rebalance explicitly.

    line 55
  15. Distinctive:

    Never present an envelope's remaining amount as spendable when real account balances do not support it.

    line 56
  16. Very specific:

    Add the account if needed, then run statement-import.

    line 61
  17. Very specific:

    Verify reconciliation_delta_minor == 0 before trusting the statement closing balance.

    line 62
  18. Very specific:

    Run review-list and ask about unresolved transfers in small batches.

    line 63
  19. Very specific:

    Run generate-state, then verify status and review-list.

    line 65
  20. Very specific:

    Use --finalize only after approval, with an --approval-note recording it.

    line 72
  21. Distinctive:

    Never infer approval from silence, transaction classification, or a summary request.

    line 73
  22. Distinctive:

    Every account requires an explicit ISO 4217 currency code.

    line 79
  23. Distinctive:

    Before completing a finance task, confirm:

    line 85
  24. Distinctive:

    No unresolved transfer was guessed.

    line 89

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

Expense Tracker Skill

Operate the repository's deterministic JSON CLI as the user's bookkeeping assistant. SQLite is the source of truth; conversation is only the interface. This skill is portable across Claude Code, Codex, Hermes Agent, and other harnesses that implement Agent Skills and can execute local commands.

When to Use

  • Record spending, income, transfers, reimbursements, or balance snapshots.
  • Answer balance, budget, affordability, receivable, or liability questions.
  • Import a bank-agnostic CSV statement and resolve its review queue.
  • Generate or finalize a monthly report.

Do not use this skill for financial, tax, legal, or investment advice.

Prerequisites

  • Work from the cloned repository root containing pyproject.toml and expense_tracker/.
  • Install the package in .venv or make expense-tracker available on PATH.
  • Use an agent harness that can execute local shell commands and consume JSON output.
  • Keep data/, statements, generated state, and reports private.

If the repository root is unknown, inspect the current workspace or ask once. Never guess a machine-local path.

How to Run

Use the harness's local shell or command-execution capability from the repository root. Prefer .venv/bin/expense-tracker on Linux/macOS, .venv\\Scripts\\expense-tracker.exe on Windows, or expense-tracker when installed on PATH.

Every command emits JSON. Interpret that JSON directly; never scrape generated prose as authoritative state. Full syntax is in references/commands.md.

Procedure

  1. Before a balance, budget, affordability, receivable, liability, or state answer, run status. The response must come from the current SQLite result.
  2. Before recording money, confirm the account, amount, direction, date, and purpose. Ask only for genuinely missing fields.
  3. Write every financial event through the CLI. Never adjust a balance or budget only in conversation or by editing SQLite directly.
  4. Leave ambiguous outgoing person-to-person transfers in the review queue. Knowing a person's identity does not prove a transfer's purpose.
  5. Treat movements between the user's own accounts as internal transfers, never spending or income.
  6. Record shared-cost repayments against receivables or as reimbursements, not earned income.
  7. After a write, run the relevant read command (status, transaction-list, review-list, or budget-status) and verify the saved state.

Envelope Budgeting

Budget envelopes represent money the user actually holds, not hypothetical funds. Total allocations must not exceed verified cash across accounts.

  • Allocate incoming money deliberately.
  • Deduct spending from the matching envelope.
  • If an envelope would go negative, ask which envelope should cover it and rebalance explicitly.
  • Never present an envelope's remaining amount as spendable when real account balances do not support it.

Statement Workflow

  1. Preserve the source statement outside Git.
  2. Add the account if needed, then run statement-import.
  3. Verify reconciliation_delta_minor == 0 before trusting the statement closing balance.
  4. Run review-list and ask about unresolved transfers in small batches.
  5. Record each answer with review-answer.
  6. Run generate-state, then verify status and review-list.

Monthly Reports

  • Generate reports as provisional by default.
  • Zero pending questions means ready for review, not finalized.
  • Show the provisional result and request explicit approval.
  • Use --finalize only after approval, with an --approval-note recording it.
  • Never infer approval from silence, transaction classification, or a summary request.

Pitfalls

  • Statement imports require the documented generic CSV schema.
  • A parser can extract transactions while still failing reconciliation; trust the reconciliation delta, not transaction count.
  • Every account requires an explicit ISO 4217 currency code. Cross-currency conversion is not implemented.
  • Public defaults intentionally contain no personal people, balances, employers, or self-transfer names.
  • Statement descriptions are sensitive even when account numbers look masked.

Verification

Before completing a finance task, confirm:

  • The command returned JSON with a non-error status.
  • A follow-up read reflects the intended write.
  • No unresolved transfer was guessed.
  • Any imported statement reconciles before its closing balance is treated as verified.
  • Any final report has complete classification and explicit approval.

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.