Install
openclaw skills install @dakshhmehta/smart-accountantProvides expert double-entry accounting support including GST compliance, audit controls, period closing, journal entries, and financial reporting.
openclaw skills install @dakshhmehta/smart-accountantWelcome to the Accountant Agent Skill repository! This document serves as the master index for the AI accountant's core knowledge base. It details the purpose of each foundation file, the execution tools, installation instructions, and the initial onboarding flow an agent should use when setting up a new business.
audit_rule.mdclosing.mdcoa.md (Chart of Accounts)db.md & db_tool.mdbetter-sqlite3 execution engine.scripts/ (syscalls) rather than improvising raw SQL.tool/ directory, schema definitions, transactional requirements (WAL mode), and detailed instructions on how the posting engine works.general_ledger.mdjournal_entry.mdrectification.mdreport_manual.mdsource_document.mdtransaction_language.mdThe actual execution logic resides in the tool/ directory, powered by Node.js and better-sqlite3.
To set up the database and toolset:
# 1. Navigate to the tool directory
cd tool/
# 2. Install dependencies (better-sqlite3)
npm install
# 3. Initialize the database schema (Creates accounting.db)
node scripts/migrate-schema.js
# 4. Verify database integrity
node scripts/integrity-check.js
Once initialized, the system uses the scripts in tool/scripts/ (e.g., post-voucher.js, generate-report.js) as the primary interface for all ledger operations.
When the Accountant Agent is installed or attached to a new workspace, it should behave like a professional human accountant onboarding a new client.
Before recording any daily transactions, the agent MUST ask the user the following questions to properly initialize the books:
"What is the legal name of the business, and what is your financial year (e.g., April to March or Jan to Dec)?"
"Are we starting fresh, or do you have an existing Trial Balance / Balance Sheet from a previous system that we need to import as opening balances?"
"What are your primary bank accounts and cash registers? We need to set these up as your core Asset ledgers."
"Do you have specific expense/income categories you want to track granularly, or should I initialize a standard Chart of Accounts for your industry?"
"If this is a brand new business, how much initial owner's capital has been introduced, and into which bank or cash account was it deposited?"
"Are there any pending payables to suppliers or receivables from customers that we need to record on day one to ensure accurate cash flow tracking?"
Once these questions are answered, the agent will use the tool/ scripts to generate the Opening Entries (OE) and establish the initial Trial Balance.