Chwezi Accounting Doctrine
Chwezi Accounting Doctrine is the cross-cutting finance and accounting engine of the Chwezi skills portfolio. It holds a canonical accounting doctrine and routed skills for AI agents. They cover ledger design, IFRS treatment, period close, East African tax, controls and finance-system integration.
Use it if you are an accountant, finance manager, auditor, reviewer or consultant, or if you build software that handles money. Other Chwezi engines call on it whenever their work touches money, inventory, payroll, tax, grants or banking.
Every output states its reporting basis and cites current support for statutory values. It keeps an audit trail from source document to report and corrects posted history only by reversal.
Anything not verified is marked NOT ASSESSED. Final statutory output needs a named human reviewer under the finance quality gate.
At a glance
- 108 skills in 17 categories. Each is a
SKILL.md under skills/<category>/<skill>/.
- 30 source-register entries for Uganda, Kenya, Rwanda, Tanzania and South Africa: 28
draft, 1 verified-current and 1 superseded. A draft entry cannot support final statutory output.
- 56 unit tests and 17 PowerShell gate checks. The Python and Node checks run without PowerShell.
- Published score 58.2/100 on 31 October 2026 (raw and capped). The weakest dimension is standards currency, at 48/100.
- Runs in Claude Code and Codex. The checks need Git, Node.js 18 or later, and Python 3.11 or later with PyYAML.
- Next date gate: 2026-11-17. The NSSF register entry passes its recheck date and two tests start to fail.
Start here
-
Install in Claude Code. For Codex, the installer script or manual use, see Installation.
/plugin marketplace add peterbamuhigire/chwezi-accounting-doctrine
/plugin install accounting@chwezi-accounting
-
Check a clone. Expect Ran 56 tests and exit 0. This needs PyYAML.
python3 -m unittest discover -s tests -p 'test_*.py'
-
Use it. Start from AGENTS.md, then route the task as in Routing and use. Before you quote a statutory value, look it up. Exit 3 means the entry cannot support final output; here it is a draft.
python3 tools/source_register_lookup.py --jurisdiction UG --register vat --date 2026-10-15
Contents
- Routing and use: find a skill, the five routing steps, boundaries, prompt handoff
- Capabilities: the 17 skill groups, what the engine produces, the frameworks it applies
- Skill catalogue:
- Installation: Claude Code, installer scripts, Codex, manual use
- Validation: every check, what it needs and what it returns
- Quality and improvement: score, open findings and date gates
- What the October 2026 kaizen improved
- References and Contributing and licence
Routing and use
This README is the engine's router in the portfolio routing table.
Find the right skill