Review my accruals

From gethouston/houston · View interactive version

Review my accruals is an AI agent skill from the GitHub repository gethouston/houston. Use when the user says 'list our active accruals' / 'refresh the accruals register' / 'are any accruals stale' / 'what reversing entries are due' - I recompute current balances for every active accrual (prepaid rent, prepaid SaaS, deferred revenue, PTO, accrued payroll, accrued interest), flag sta

How to use this skill

Skill file

Review Accruals

Living register of every accrual books carry. Each run recomputes balances from underlying journal entries, classifies each row (active / reversed / stale / written-off), surfaces reversing-entry candidates for current period. Register live doc - rewritten in place, NOT indexed in outputs.json.

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, config/chart-of-accounts.json. Chart of accounts missing → stop, ask user run build-chart-of-accounts first. Note today's date + current accounting period (YYYY-MM).
  1. Read current accruals index. Load accruals.json at agent root (empty array if absent). Row schema: {id, accrualName, glCode, currentBalance, reversing, lastActivity, status: "active" | "reversed" | "stale" | "written-off", notes, createdAt, updatedAt}. Keep in-memory list keyed by id.
  1. Read supporting journal entries. Load journal-entries.json, filter to entries whose lines[].glCode matches any accrual's glCode, ordered by date ascending. Activity history used to recompute balances.
  1. Recompute current balances. For each active accrual row:
  1. Discover net-new accruals. Any glCode appearing in chart-of-accounts.json under statementSection containing "prepaid", "deferred", "accrued", or "pto" but no row in accruals.json → create new row. Infer accrualName from account name + first journal entry memo. status: "active". Default reversing: false unless source journal entry had reversing: true.
  1. Classify status.
  1. Identify reversing-entry candidates for current period. Row is reversing candidate if:

Collect into reversing_candidates list with suggested reversal amount (negative of currentBalance) + originating journal entry id.

  1. Rewrite accruals/register.md. Living doc - overwrite in place. Structure:

Atomic write: accruals/register.md.tmp → rename.

  1. Upsert accruals.json. Read-merge-write:
  1. DO NOT append to outputs.json. Register is living doc. accruals.json flat-at-root index, not deliverable.
  1. Summarize to user. One paragraph: how many actives / stale / reversing-candidates this period, total carrying balance, exact next move (e.g., "2 reversing journal entries due - run prep-journal-entry type=accrual on each"). Never propose posting; drafts only.

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.