Bookkeeper

Categorize messy transactions against an existing chart of accounts, flag anomalies, and emit a read-only reconciliation packet without booking to a live ledger.

You’re reading version sha-2ed432e49eec. Go to the current version

Overview

Turn messy transaction lines into clean books without guessing.

This skill is read-only. It never posts to a live ledger. It takes transactions[], chart_of_accounts, and optional prior_period, maps each transaction onto an existing GL account, flags anomalies, and returns a reconciliation artifact an operator can review.

In the manual

Runner

  • analyst

Declared by its execution profile. Read the profile

SKILL.md

Bookkeeper

Turn messy transaction lines into clean books without guessing.

This skill is read-only. It never posts to a live ledger. It takes transactions[], chart_of_accounts, and optional prior_period, maps each transaction onto an existing GL account, flags anomalies, and returns a reconciliation artifact an operator can review.

What this skill does

  • Categorize each transaction to an account already present in chart_of_accounts (no inventing accounts).
  • Flag anomalies: unknown counterparties, out-of-range amounts, unmapped descriptions, currency mismatches, duplicate-looking lines.
  • Emit a reconciliation packet: matched lines, unmatched lines, totals, residual risks.
  • Return needs_review when transactions are ambiguous or unmappable.
  • Return needs_chart when the chart is missing accounts required to map.
  • Return unsafe_request if asked to book, post, transfer, or mutate money.

Inputs

  • transactions (required): array of {id?, date?, description, amount, currency?, counterparty?}
  • chart_of_accounts (required): array or map of existing GL accounts with codes/names
  • prior_period (optional): prior balances or mapped lines for continuity checks

Output

  • categorized: array of lines with account_code, account_name, amount, confidence, and reason (every line binds to an existing chart account)
  • anomalies: structured flags with severity
  • reconciliation: object with matched and unmatched arrays (read-only; no ledger mutation)
  • verdict: ready_for_review | needs_review | needs_chart | unsafe_request

Published execution profile

The execution profile published with sha-2ed432e49eec, shown as its exact bytes.

Runner
  • analyst
Profile digestsha256:5ac64704fd86e0c8067076cff711e53f70cb32e4c4028211e06f7d60203ebff2
skill: bookkeeper
version: 0.1.2
catalog:
  kind: skill
  audience: operator
  visibility: public
  role: context
  execution: plan
  completion: plan
  approval: none
  category: data
runners:
  analyst:
    default: true
    steps:
      - id: analyst
        agent:
          role: analyst
          task: bookkeeper
        outputs:
          categorized:
            required: false
          anomalies:
            required: false
          reconciliation:
            required: false
          verdict:
            required: false
harness:
  cases:
    - name: bookkeeper-maps-clear-expense
      inputs: {}
      caller:
        answers:
          analyst:
            categorized:
              - id: t1
                account_code: "6100"
                account_name: Cloud Infrastructure
                amount: -128.4
                currency: USD
                confidence: 0.94
                reason: AWS invoice matches cloud infrastructure expense account.
              - id: t2
                account_code: "4000"
                account_name: Product Revenue
                amount: 920
                currency: USD
                confidence: 0.91
                reason: Stripe payout is product revenue cash-in.
            anomalies: []
            reconciliation:
              matched:
                - id: t1
                  account_code: "6100"
                - id: t2
                  account_code: "4000"
              unmatched: []
            verdict: ready_for_review
      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: bookkeeper-needs-chart
      inputs: {}
      caller:
        answers:
          analyst:
            categorized: []
            anomalies:
              - severity: high
                code: needs_chart
                detail: No accounts available for mapping.
            reconciliation:
              matched: []
              unmatched:
                - id: t9
                  reason: empty chart_of_accounts
            verdict: needs_chart
      expect:
        status: sealed
        receipt:
          schema: runx.receipt.v1
    - name: bookkeeper-rejects-booking
      inputs: {}
      caller:
        answers:
          analyst:
            categorized: []
            anomalies:
              - severity: high
                code: unsafe_request
                detail: Requested live booking; skill is read-only.
            reconciliation:
              matched: []
              unmatched:
                - id: t3
                  reason: unsafe_request
            verdict: unsafe_request
      expect:
        status: sealed
        receipt:
          schema: runx.receipt.v1
    - name: bookkeeper-needs-transactions
      inputs: {}
      expect:
        status: needs_agent
    - name: bookkeeper-ambiguous-needs-review
      inputs: {}
      caller:
        answers:
          analyst:
            categorized: []
            anomalies:
              - severity: medium
                code: ambiguous_description
                detail: Misc transfer and generic payment cannot be safely bound to one GL account.
            reconciliation:
              matched: []
              unmatched:
                - id: amb1
                  reason: ambiguous_description
                - id: amb2
                  reason: ambiguous_description
            verdict: needs_review
      expect:
        status: sealed
        receipt:
          schema: runx.receipt.v1

Published package and test evidence.

This exact version passed its recorded harness run: 5 checks passed · 0 failed.

Test result

Harness resultPassed
Tested versionsha-2ed432e49eec
Recorded result5 checks passed · 0 failed
Result sourceReported by the publisher (runx_registry_publish)
Suiterunx-harness
Test recorded
Declared cases5
Test recordOpen the recorded run
Inspect receipt referencessha256:544b0346b8252a7bc66d99caa3f3b0c9c39ec6d0c561fc7c95e343dbc7bd7c3asha256:f94ee72c71c515ae8f2c439383ed46721a73aef82eef38819ceeea06ff0f6866sha256:94040fe91dd01b48d34aa505962c33b6986dd6bff911317c54b3a2e6a5ab36a4sha256:57067008f652a1ce45afa57c35f4e51dbb8e8052c532f6fa76c1a59f5a276a0fsha256:22597d35d71be5050183d4e2f28bac326178fb249a7259d667022f1ecb1a33fd

Package identity

Published revisionsha-2ed432e49eec
Content digestsha256:2ed432e49eeca3be40ce111a31632abd8cfc3550db4489751fb8e9e092b9bbed
SKILL.md digestsha256:cf05f3a84d5ebd68d745a195ddd15f3295ec544de5c6a694b9bebdc037c2c807
Execution profile digestsha256:5ac64704fd86e0c8067076cff711e53f70cb32e4c4028211e06f7d60203ebff2
Publisher identityUnverified publisher · NexusCore
Trust tierCommunityPublished through the registry without publisher verification. This tier is not a code assessment.
Attestations
  • Publisher · DeclaredNexusCore · 17 Oct 2026
Source provenanceNot published with this version

Version history

  1. sha-2ed432e49eecViewingContent digest sha256:2ed432e49eeca3be40ce111a31632abd8cfc3550db4489751fb8e9e092b9bbed
  2. sha-b68fc37e9c12Content digest sha256:b68fc37e9c1200da096a22591355ed909c2bdd34e782f5ca1dbfc445ec81164a
  3. sha-5307f2e595e8Content digest sha256:5307f2e595e867dabfb54ef98a059516f32da5c75a4542c1c434668759974877
  4. sha-420c1b7ea338Content digest sha256:420c1b7ea3380a02ba568b1f8852bd8b679da6c20a6121deaf6006bf725b562e