Build my chart of accounts

From gethouston/houston · View interactive version

Build my chart of accounts is an AI agent skill from the GitHub repository gethouston/houston. Draft a startup-optimized chart of accounts shaped for your entity, accounting method, and revenue model — with R&D / Sales & Marketing / General & Admin operating expenses breakouts, deferred revenue and accrued PTO lines, SAFE-note and convertible equity lines, and one cash sub-line per registered

How to use this skill

Skill file

Build My Chart of Accounts

The chart of accounts is the shape of every financial statement I produce. I draft yours opinionated for early-stage startups: R&D visibility for the credit, Sales & Marketing / General & Admin split for gross-margin framing, accrual-ready liability lines even if you're on cash, and one cash sub-line per registered bank account so reconciliations map cleanly. Revisions land here only and preserve every unchanged code.

I never push the chart of accounts to QuickBooks or Xero. You or your accountant mirror it into the accounting system.

When to use

one yet".

"split hosting out of cost of goods sold".

includes a chart of accounts and ours is missing.

but only after confirming inline.

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 works fully offline against what you tell me. No connection blocks the run; connections just make the first draft more accurate.

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 config. Load config/context-ledger.json. Required

fields for good first-pass chart of accounts:

gets common + preferred + APIC; LLC gets member capital).

accrued-PTO lines on request - default include so switch to

accrual frictionless).

named with last4 so reconciliations map 1:1).

sub-line; services gets Services Revenue separate from

recurring).

stock-based compensation expense + APIC-SBC equity lines).

Any missing required field: ask ONE targeted question

(modality hint: connected app > file > URL > paste), write

atomically, continue.

  1. Read existing chart of accounts if present. If

config/chart-of-accounts.json exists, load it. This run =

revision, not rewrite. Preserve every code unchanged.

Propose diffs (adds / renames / reparents) and confirm with user

before writing. Never reassign code from one name to different

concept - silently reroutes every historical transaction that

matched old code.

  1. Assemble startup-optimized chart of accounts. Use structure below. Codes

are strings; keep numeric ordering within each type so reports

sort naturally.

Assets (10000-19999)

domains.banks.accounts[], named Cash - {bank} {last4}. Account

code format: 1{nnnn}. Add Cash - Stripe line if Stripe

connected as payment processor.

amortize on different schedules).

asset, shown as contra line).

Liabilities (20000-29999)

expense line over time, not at cutover).

separate lines for balance sheet split.

accounting posture on conversion).

Equity (30000-39999)

stock-comp posture ≠ none), Retained Earnings.

Revenue (40000-49999)

Cost of goods sold (50000-59999)

tools).

exists).

Operating expenses (60000-79999) - opinionated breakout makes chart of accounts

startup-useful. Statement section prefixes keep P&L grouped:

Software, R&D Cloud (dev/staging, separate from cost of goods sold hosting),

R&D Other. statementSection: "operating-expenses.rd".

Sponsorships, Sales & Marketing Tools (HubSpot, Apollo, etc.), Sales & Marketing Other.

statementSection: "operating-expenses.sm".

Insurance, General & Admin SaaS (Slack, Notion, 1Password, etc.), Office

Supplies, Travel & Meals, General & Admin Other.

statementSection: "operating-expenses.ga".

Other (80000-89999) - below-the-line.

Suspense (99999) - `statementSection:

"operating-expenses.ga"` so visible on P&L. Matches ledger's

universal.suspenseCode.

  1. Schema. Every row:

```ts

{

code: string; // ALWAYS a string, never a number

name: string;

type: "asset" | "liability" | "equity" | "revenue" | "cogs" | "expense";

parent?: string; // code of the parent row for grouped display

statementSection: string; // e.g. "operating-expenses.rd", "assets.current"

description?: string; // one-line disambiguation for categorizers

}

```

  1. Validate before writing.

65000 and 65500 - keep ranges clean).

assets.current, assets.noncurrent, liabilities.current,

liabilities.noncurrent, equity, revenue,

contra-revenue, cogs, operating-expenses.rd,

operating-expenses.sm, operating-expenses.ga, other.

  1. Write atomically. Write config/chart-of-accounts.json.tmp,

then rename. Update

config/context-ledger.json → universal.coa with

`{present: true, path: "config/chart-of-accounts.json", framework,

lastUpdatedAt}` (read-merge-write).

  1. Revision safeguard. If revision:

config/prior-categorizations.json and warn if any vendor

still maps to that code - user must remap vendors or keep

code.

name in place - categorizations keyed on code safe.

founder knows it exists for next run.

  1. DO NOT append to outputs.json. Chart of accounts is config, not

deliverable.

  1. Summarize to user. Counts per type, any adds / renames /

warnings, next move ("drop statements into

statements/_inbox/ and I'll categorize against this chart of accounts").

Outputs

Step 4.

(read-merge-write).

No entry in outputs.json.

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.