Ai Cfo
/install ai-cfo
📊 AI CFO
Full AI Chief Financial Officer for Agent6ix LLC
Connects Mercury Banking + Stripe into real-time business intelligence. Daily cash position, automated P&L, revenue tracking, expense categorization, cash flow forecasting, burn rate alerts, and weekly financial reports.
Commands
| Command | Description |
|---|---|
dashboard |
Full financial dashboard — balances, MRR, burn rate, runway |
transactions |
Recent transactions with AI categorization |
pnl |
P&L statement for any date range |
cashflow |
Cash flow analysis with 30/60/90 day forecast |
revenue |
Stripe revenue breakdown — MRR, new vs recurring, churn |
expenses |
Categorized expenses with trends and anomaly detection |
report |
Weekly/monthly executive financial report |
budget |
Set and track budgets by category |
runway |
Burn rate and runway calculation |
invoice |
Outstanding Stripe invoices and aging |
Environment Variables
| Variable | Required | Description |
|---|---|---|
MERCURY_API_TOKEN |
Yes | Mercury Banking API token (read-only) |
STRIPE_API_KEY |
Yes | Stripe secret key (restricted, read-only) |
OPENROUTER_API_KEY |
Yes | For AI transaction categorization |
Usage
python3 scripts/ai_cfo.py dashboard
python3 scripts/ai_cfo.py transactions --days 30
python3 scripts/ai_cfo.py pnl --start 2026-01-01 --end 2026-01-31
python3 scripts/ai_cfo.py cashflow
python3 scripts/ai_cfo.py revenue
python3 scripts/ai_cfo.py expenses --days 30
python3 scripts/ai_cfo.py report --period weekly
python3 scripts/ai_cfo.py budget --set Marketing 5000
python3 scripts/ai_cfo.py runway
python3 scripts/ai_cfo.py invoice
Daily Automation
# Add to cron for daily 8 AM brief
python3 scripts/cfo_cron.py
Data Storage
All data stored in .data/sqlite/cfo.db:
- Categorized transactions
- Budget allocations
- Daily snapshots
- Monthly P&L snapshots
Credits
Built by M. Abidi | agxntsix.ai YouTube | GitHub Part of the AgxntSix Skill Suite for OpenClaw agents.
📅 Need an AI CFO for your business? Book a free consultation
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ai-cfo - After installation, invoke the skill by name or use
/ai-cfo - Provide required inputs per the skill's parameter spec and get structured output
What is Ai Cfo?
Full AI Chief Financial Officer — connects Mercury Banking + Stripe into real-time business intelligence. Daily cash position, automated P&L, revenue trackin... It is an AI Agent Skill for Claude Code / OpenClaw, with 830 downloads so far.
How do I install Ai Cfo?
Run "/install ai-cfo" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Ai Cfo free?
Yes, Ai Cfo is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Ai Cfo support?
Ai Cfo is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Ai Cfo?
It is built and maintained by aiwithabidi (@aiwithabidi); the current version is v1.0.0.