gridtrx
Double-entry, full-cycle accounting suite built for AI agents. Converts bank CSVs, OFX, and QBO files into balanced, auditable books — balance sheet, income statement, general ledger, trial balance. All data stays in a single local SQLite file.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/737999/gridtrxSkill: GridTRX Accounting
Demo
Watch the demo: Full accounting cycle in 15 minutes
What it does
Use this skill when the user asks you to "do the books," "categorize expenses," "import bank transactions," "run a balance sheet," or any bookkeeping task. GridTRX is a full-cycle double-entry accounting engine. You prompt in plain English, and the agent completes the books correctly. Every transaction balances. Every amount is deterministic. All data is local — no cloud services, no external APIs.
GridTRX produces a full set of auditable books: balance sheet, income statement, general ledger, trial balance, adjusting journal entries, retained earnings rollforward. Reports are exportable to CSV and PDF for any time period.
Architecture
GridTRX has three interfaces to the same engine (models.py → books.db):
- MCP Server (preferred for agents) — Structured JSON tools. 20 tools (12 read, 8 write) wrapping
models.pydirectly. No text parsing, typed parameters, deterministic output. - CLI (fallback for agents, power users) — One-shot shell commands via
python cli.py. Zero dependencies beyond Python 3.7+ standard library. Any terminal-based agent can drive it via subprocess. - Browser UI (for humans) — Flask web interface at
localhost:5000viapython run.py. Ledger browsing, report viewer with drill-down, comparative reports up to 13 columns, bank import with rule preview, reconciliation marking, dark mode.
All three hit the same models.py data layer. Nothing is out of sync. Use MCP when available. Fall back to CLI otherwise. The browser UI is for human review.
Prerequisites
Install dependencies before first use (one-time setup):
pip install -r requirements.txt
Or install individually: pip install mcp (MCP server), pip install flask (browser UI). The CLI has no dependencies beyond the Python 3.7+ standard library.
No packages are installed at runtime. All dependencies must be pre-installed.
MCP Setup
Add to the agent's MCP config with GRIDTRX_WORKSPACE set to the user's client folder:
{
"command": "python",
"args": ["/path/to/mcp_server.py"],
"env": {"GRIDTRX_WORKSPACE": "/path/to/clients"}
}
GRIDTRX_WORKSPACE is mandatory — the MCP server will refuse to start without it. Any db_path outside the workspace is rejected at runtime. Every MCP tool takes db_path as its first parameter, which must resolve to a books.db file inside the workspace.
CLI Usage
GRIDTRX_WORKSPACE=/path/to/clients python cli.py /path/to/clients/acme/books.db <command>
Runs one command, prints plain text to stdout, exits. When GRIDTRX_WORKSPACE is set, the CLI enforces the same workspace boundary as the MCP server — paths outside the workspace are rejected.
Inputs needed
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-737999-gridtrx": {
"enabled": true,
"auto_update": true
}
}
}