Bookkeeper
Categorize transaction lines against an existing chart of accounts and emit a read-only reconciliation artifact without booking ledger entries.
You’re reading version sha-9f8b82b7d64b. Go to the current version
Overview
bookkeeper turns transaction lines into a read-only reconciliation artifact.
It categorizes each transaction against an existing chart of accounts, flags
ambiguous or invalid lines as anomalies, and calculates matched/unmatched
reconciliation totals.
The skill does not post journals, does not mutate a live ledger, does not call a
money rail, and never invents a GL account. Every categorization references an
account that exists in chart_of_accounts and carries confidence plus a reason.
In the manual
Runners
defaultreview
Declared by its execution profile. Read the profile
SKILL.md
Bookkeeper
bookkeeper turns transaction lines into a read-only reconciliation artifact.
It categorizes each transaction against an existing chart of accounts, flags
ambiguous or invalid lines as anomalies, and calculates matched/unmatched
reconciliation totals.
The skill does not post journals, does not mutate a live ledger, does not call a
money rail, and never invents a GL account. Every categorization references an
account that exists in chart_of_accounts and carries confidence plus a reason.
Contract
Inputs:
transactions[]{id,date,description,amount,currency}chart_of_accounts[]{code,name,keywords}prior_period{ending_cash,currency}
Output:
categorized[]anomalies[]reconciliation{matched, unmatched}
Behavior
- Keyword matches against the supplied chart produce high-confidence categories.
- Positive transactions prefer revenue-like accounts when keyword evidence is present.
- Negative transactions prefer expense-like accounts when keyword evidence is present.
- Missing required fields, currency mismatches, and ambiguous descriptions are anomalies.
- The skill emits a read-only
reconciliation_artifact; it does not book anything.
Verification
Local harness:
runx harness ./skills/bookkeeperExample dogfood run:
runx skill ./skills/bookkeeper --json \
--input-json transactions='[{"id":"txn_001","date":"2026-07-01","description":"Stripe payout customer invoices","amount":1250,"currency":"USD"}]' \
--input-json chart_of_accounts='[{"code":"4000","name":"Revenue","keywords":["stripe","invoice","customer"]}]' \
--input-json prior_period='{"ending_cash":5000,"currency":"USD"}'Published execution profile
The execution profile published with sha-9f8b82b7d64b, shown as its exact bytes.
| Runners |
|
|---|---|
| Profile digest | sha256:f66d36063251de00d94652735f2719c5c7afba3d13c15a6aecc38e0f4668862c |
skill: bookkeeper
version: 0.1.0
catalog:
kind: skill
audience: public
visibility: public
role: canonical
category: data
runners:
default:
default: true
inputs:
transactions:
type: json
required: true
chart_of_accounts:
type: json
required: true
prior_period:
type: json
required: true
steps:
- id: default
tool:
command: node
args:
- run.mjs
timeout_seconds: 30
inputs:
transactions: $input.transactions
chart_of_accounts: $input.chart_of_accounts
prior_period: $input.prior_period
review:
inputs:
transactions:
type: json
required: true
chart_of_accounts:
type: json
required: true
prior_period:
type: json
required: true
steps:
- id: review_ambiguous_transaction
label: route ambiguous transaction to manual review without booking ledger entries
agent:
role: finance
task: bookkeeper-needs-review
outputs:
decision:
required: false
needs_review_reason:
required: false
proposed_account_code:
required: false
harness:
cases:
- name: clean_transactions_reconcile
runner: default
inputs:
transactions:
- id: txn_001
date: 2026-07-01
description: Stripe payout customer invoices
amount: 1250
currency: USD
- id: txn_002
date: 2026-07-02
description: AWS cloud hosting invoice
amount: -210.45
currency: USD
- id: txn_003
date: 2026-07-03
description: Office supplies receipt
amount: -48.2
currency: USD
chart_of_accounts:
- code: "4000"
name: Revenue
keywords:
- stripe
- invoice
- customer
- code: "6100"
name: Cloud hosting
keywords:
- aws
- hosting
- cloud
- code: "6200"
name: Office supplies
keywords:
- supplies
- office
prior_period:
ending_cash: 5000
currency: USD
expect:
status: sealed
receipt:
schema: runx.receipt.v1
operator_journeys:
- mode: standalone
confusors:
- purchase-approval
- refund
request: Categorize this transaction batch against our chart of accounts.
expected_outcome: Return a sealed read-only reconciliation with GL mapping and anomaly flags, mutating no ledger.
- mode: composed
request: Continue this bookkeeper work from evidence already gathered upstream.
expected_outcome: Return a sealed read-only reconciliation with GL mapping and anomaly flags, mutating no ledger.
prior_evidence:
- The transaction batch and chart of accounts already supplied.
must_not_repeat:
- Do not invent accounts or re-post transactions.
- name: ambiguous_transactions_need_review
runner: review
inputs:
transactions:
- id: txn_004
date: 2026-07-04
description: Transfer
amount: -300
currency: USD
chart_of_accounts:
- code: "1000"
name: Cash
keywords:
- bank
- deposit
- code: "6900"
name: Miscellaneous expense
keywords:
- misc
prior_period:
ending_cash: 5991.35
currency: USD
expect:
status: needs_agent
receipt:
schema: runx.receipt.v1
Published package and test evidence.
This exact version passed its recorded harness run: 2 checks passed · 0 failed.
Test result
| Harness result | Passed |
|---|---|
| Tested version | sha-9f8b82b7d64b |
| Recorded result | 2 checks passed · 0 failed |
| Result source | Reported by the publisher (runx_registry_publish) |
| Suite | runx-harness |
| Test recorded | |
| Declared cases | 2 |
| Test record | Open the recorded run |
Inspect receipt references
sha256:e6b219bba709229f22d4629e33d081d14ff26909ab092e3e18dab2c3698566dfsha256:c69cffc03d4e6899e9d2f37aab326365617a4e3230f32ad15acbdb0ad57683b6Package identity
| Published revision | sha-9f8b82b7d64b |
|---|---|
| Content digest | sha256:9f8b82b7d64bfa2d4171063b3c4ab54fba267bc5666cd65f96124278c8d6db3c |
| SKILL.md digest | sha256:d86a8c00a0ffdb3e19394e87db70f27acc2babc84a6b912d5969c12308bec8cd |
| Execution profile digest | sha256:f66d36063251de00d94652735f2719c5c7afba3d13c15a6aecc38e0f4668862c |
| Publisher identity | Unverified publisher · Liyitong. |
| Trust tier | CommunityPublished through the registry without publisher verification. This tier is not a code assessment. |
| Attestations |
|
| Source provenance | Not published with this version |
Version history
sha-2dd263ef080eContent digest sha256:2dd263ef080e1ba9ac2d79d94f921945bb83dd3abeee0ad6d59c0f0e67219c15sha-9f8b82b7d64bViewingContent digest sha256:9f8b82b7d64bfa2d4171063b3c4ab54fba267bc5666cd65f96124278c8d6db3csha-f3f16044d28fContent digest sha256:f3f16044d28ffd6c8b6c995393e42d0fdacbacfb803f622ec368d74dba960fb1sha-9840d2187569Content digest sha256:9840d21875692252f2ced4ae09bd74727bc43466a76766449730526d06590662