Prepare my financials

From gethouston/houston · View interactive version

Prepare my financials is an AI agent skill from the GitHub repository gethouston/houston. Draft a financial statement for the period you pick, one statement per call: `statement=pnl | balance-sheet | cash-flow | trial-balance`. I produce the statement against your journal entries, opening balances, and chart of accounts, with prior-period and prior-year comparisons and 3-5 auto-generated

How to use this skill

Skill file

Prepare My Financials

Four statements, one skill, one argument. Every branch grounds the numbers in your journal entries, opening trial balance, and chart of accounts. Both cash and accrual views run on accrual books; cash-only books get a single view. Every comparison cites a source — I never invent a driver to make the page tidy.

When to use

Connections I need

I run external work through Composio. Before this skill runs I check that the categories below are linked. Missing → I name the category, ask you to connect it from the Integrations tab, stop.

This skill never blocks on a missing connection.

Information I need

I read your bookkeeping context first. For every required field that's missing I ask ONE plain-language question (best modality: connected app > file drop > URL > paste) and wait.

Steps

<!-- houston-workflow:v1 -->

  1. Read context. Load context/bookkeeping-context.md, config/context-ledger.json (for universal.accountingMethod + universal.openingBalances), config/chart-of-accounts.json (LOCKED - statements key off statementSection), and config/opening-trial-balance.json. Parse args: statement (one of four) + period (YYYY-MM for P&L / cash-flow / variance; as-of date for balance-sheet / trial-balance).
  1. Load source ledger. Read journal-entries.json at agent root. Filter to status in {"ready","posted"} (exclude "draft" unless user asked for draft statement). For requested period, split:
  1. Branch on statement.

### statement=pnl

### statement=balance-sheet

### statement=cash-flow

### statement=trial-balance

  1. Write statement. Path: financials/{YYYY-MM}/{statement}.md (use period-end YYYY-MM for balance-sheet / trial-balance too). Atomic write: .tmp → rename. Structure:
  1. Append to outputs.json. Read-merge-write. Row: {id, type: "financial-statement", title: "{Statement} - {period}", summary: "<2-3 sentences with the headline number + biggest driver>", path: "financials/{YYYY-MM}/{statement}.md", status: "draft", domain: "reporting"}.
  1. Never invent. Every number ties to journal entry id or account opening balance. Every note cites evidence. Account codes stay text. If user asks for period before opening-balance date, refuse and explain.
  1. Summarize to user. One short paragraph:

Point user at written file. Call out any flags.

Outputs

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.