CashFlow
Track personal cash flow with simple terminal commands and local storage. Use when logging daily expenses, reviewing balance, or exporting records.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ckchzh/cashflowCashFlow
CashFlow is a multi-purpose utility tool for tracking and managing data entries from the terminal. It provides a simple log-based system for adding, listing, searching, and exporting entries with timestamped records.
Commands
| Command | Description |
|---|---|
cashflow run <args> | Execute the main function with given arguments |
cashflow config | Show configuration file location (config.json) |
cashflow status | Show current status (ready/not ready) |
cashflow init | Initialize the data directory |
cashflow list | List all entries in the data log |
cashflow add <entry> | Add a new dated entry to the data log |
cashflow remove <entry> | Remove an entry |
cashflow search <term> | Search entries (case-insensitive grep) |
cashflow export | Export all data to stdout |
cashflow info | Show version and data directory path |
cashflow help | Show all available commands |
cashflow version | Show version number |
How It Works
CashFlow uses a flat-file approach. All entries are stored in data.log as dated lines (YYYY-MM-DD <content>). Every command also appends a timestamped record to history.log for auditing.
addappends a new line with today's datelistprints the full data logsearchperforms case-insensitive matching viagrepexportdumps the raw data log to stdout for piping/redirection
Data Storage
All data is stored locally in ~/.local/share/cashflow/ by default:
data.log— Main data file with all entries (one per line, date-prefixed)history.log— Timestamped audit trail of every command executedconfig.json— Configuration file (referenced bycashflow config)
Override the storage location by setting the CASHFLOW_DIR environment variable:
export CASHFLOW_DIR="$HOME/my-data/cashflow"
Alternatively, XDG_DATA_HOME is respected if CASHFLOW_DIR is not set.
Requirements
- bash 4+ (uses
set -euo pipefailfor strict mode) - Standard Unix tools (
grep,date,cat) - No API keys needed
- No external dependencies
When to Use
- Quick data logging — Use
cashflow addto rapidly log entries (expenses, tasks, notes) with automatic date stamps - Reviewing stored entries — Run
cashflow listto see everything you've logged, orcashflow searchto find specific entries - Exporting data for analysis — Use
cashflow export > data.csvto dump all entries for import into spreadsheets or other tools - Project initialization — Run
cashflow initto set up the data directory on a new machine or project - Checking tool status — Use
cashflow statusandcashflow infoto verify the tool is ready and see version/path information
Examples
# Initialize the data directory
cashflow init
# Add entries
cashflow add "Monthly rent payment 2500"
cashflow add "Freelance invoice received 8000"
cashflow add "Grocery shopping 350"
# List all entries
cashflow list
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ckchzh-cashflow": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
vynn-backtester
Run trading strategy backtests with natural language — powered by Vynn
q-kdb-code-review
AI-powered code review for Q/kdb+ — catch bugs in the most terse language in finance
olo-sec-scanner
SEC EDGAR filing analysis for M&A due diligence — extract financials, detect risks, and track corporate events from 10-K, 10-Q, and 8-K filings
auto-trading-strategy
Professional trading strategy guides for prediction markets and crypto. Risk management, trend analysis, and best practices.
web3-weekly-report
自动抓取数据并生成 Web3 行业资本运作周报,涵盖融资事件、监管动态、上市公司 DAT 动态、并购交易与 RWA 项目追踪。当用户提到"写周报"、"生成周报"、"整理本周融资"、"Web3 周报"、"资本运作周报"、"采编周报",或请求整理加密行业本周动态时,立即激活此 skill。即使用户只说"帮我写本周的",只要上下文涉及 Web3、加密、融资、RWA、DAT,也应激活。