Audit my books

From gethouston/houston · View interactive version

Audit my books is an AI agent skill from the GitHub repository gethouston/houston. Get a punch-list read on whether your books are clean: uncategorized items, recon breaks, stale accruals, cutoff candidates, draft journal entries, missing opening balances, duplicate vendors. I rank issues by dollar impact and call out one 'close this week' move. Sub-mode `mode=audit-response` for

How to use this skill

Skill file

Audit My Books

Books-in-shape health check. I sweep every flat-at-root index and living register, rank findings by dollar impact, and call out the single most useful thing to close this week. Sub-mode mode=audit-response handles auditor or diligence requests with documented random seeds. Drafts only — never posted, never filed.

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. Document bundles default to local folders; Drive mirror is a nice-to-have.

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, config/chart-of-accounts.json. Note today's date as run date.
  1. Load indexes. Read suspense.json, recon-breaks.json, accruals.json, journal-entries.json, outputs.json, run-index.json (all flat at agent root).
  1. Uncategorized / suspense. From suspense.json - every open item with age (today − createdAt). Aggregate by canonical party. Surface total suspense balance + aging buckets (0–30, 31–60, 61–90, 90+ days).
  1. Recon breaks. From recon-breaks.json - every open break with abs(amount) > $100 AND age > 30 days. Cite reconciliations/{account_last4}/{YYYY-MM}.md.
  1. Stale accruals. From accruals.json - rows where status == "stale" OR lastActivity > 90 days AND abs(currentBalance) > 0. Include recommended action already written by review-my-accruals.
  1. Cutoff candidates. Walk recent journal-entries.json + latest close's transactions:

List each with journal entry id, amount, period gap.

  1. Stuck draft journal entries. From journal-entries.json - entries with status == "draft" AND updatedAt > 14 days. Cite id, date, memo, total amount.
  1. Opening-balance gaps. Compare account codes used across recent runs against config/opening-trial-balance.json. Any code in runs but missing from opening trial balance → flag (likely new account without opening balance, or code that shouldn't be in use).
  1. Duplicate vendors. From config/prior-categorizations.json keys, cluster canonical names by token-set-ratio ≥ 0.85. Include each variant's account code - if differ, flag high priority.
  1. Rank by dollar impact. Score each finding by absolute dollar affected. Sort descending. Top item become "most-useful item to close this week" call-out.
  1. Write audits/{YYYY-MM-DD}.md. Atomic write. Structure:
  1. Append to outputs.json. Row: {type: "books-audit", title: "Books health check {YYYY-MM-DD}", summary, path, status: "draft", domain: "reporting"}. Read-merge-write.
  1. mode=audit-response branch. Skip steps 3–11 sweep. Instead:

a. Parse the request. User provide auditor's ask (paste / file / URL). Split into discrete items: sample selections, walkthroughs, document requests.

b. Sample selections. For "pull N samples of {type}":

c. Walkthroughs. Summarize from context/bookkeeping-context.md + relevant skill outputs. Cite skill outputs by path. Never invent process detail.

d. Document requests. Assemble docs into handoffs/audit-{yyyy-qq}/{request-slug}/ (create subfolder if absent). Include README.md listing every file + source path.

e. Judgment calls. Flag positions requiring call (materiality thresholds, going-concern language, segment disclosure) with options - user decides. Never answer on user's behalf.

f. Cover memo. Write to audits/{YYYY-MM-DD}-response-{request-slug}.md listing every item, response status, file paths, seeds used. Append to outputs.json as books-audit with title "Audit response {request-slug}".

  1. Summarize to user. One paragraph: top finding + dollar impact, counts by category, single recommended next move. Response mode: items answered / pending, package location, unresolved judgment calls.

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.