AGENT SKILL
ledger
Use this skill when the user wants to manage personal or business finances via plain text accounting — check balances, view transaction history, list accounts, or generate financial reports.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- ledger
- description
- Use this skill when the user wants to manage personal or business finances via plain text accounting — check balances, view transaction history, list accounts, or generate financial reports.
03 SKILL.md 正文
Ledger Plugin
Ledger is a powerful, double-entry accounting system for the command line. All data is stored in plain text files.
Commands
Self
ledger self version— Print ledger version
Reports
ledger report balance -f <journal> [query]— Print account balancesledger report register -f <journal> [query]— Show transaction registerledger report accounts -f <journal> [query]— List all account namesledger report payees -f <journal> [query]— List all payeesledger report commodities -f <journal>— List all commoditiesledger report print -f <journal> [query]— Print transactions in ledger formatledger report stats -f <journal>— Show journal statisticsledger report csv -f <journal> [query]— Output register as CSVledger report json -f <journal> [query]— Output register as JSON (machine-readable)
Passthrough
ledger _ _ <args>— Raw passthrough (xml, equity, prices, tags, etc.)
Usage Examples
- "show account balances from my ledger file"
- "show transaction register for Expenses"
- "list all accounts"
- "output transactions as JSON"
- "show journal statistics"
Installation
brew install ledger
# or
apt install ledger
Key Features
- Double-entry accounting with plain text files
- Multiple report types: balance, register, accounts, payees, commodities, print, stats, csv, json, xml
- Flexible query system for filtering transactions
- Automated account balancing and reconciliation
- Commodity and currency conversion support
- Budget and forecasting reports
- Python scriptable via --python
Requirements
- Ledger binary installed
- A journal file (plain text, .ledger or .dat extension)
- Set $LEDGER_FILE or pass -f <path> to each command
Example Journal
; ~/finance/main.ledger
2025/01/01 Opening Balance
Assets:Checking $1000.00
Equity:Opening
2025/01/15 Grocery Store
Expenses:Food $85.50
Assets:Checking
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57