← Back to Skills Marketplace
mailnike

Erpclaw

by Nikhil Jathar · GitHub ↗ · v3.5.0 · MIT-0
darwinlinux ⚠ suspicious
1343
Downloads
0
Stars
7
Active Installs
37
Versions
Install in OpenClaw
/install erpclaw
Description
AI-native ERP system. Full accounting, invoicing, inventory, purchasing, tax, billing, HR, payroll, advanced accounting (ASC 606/842, intercompany, consolida...
README (SKILL.md)

erpclaw

Full-Stack ERP Controller for ERPClaw. Handles company setup, chart of accounts, journal entries, payments, tax, financial reports, customers, sales, suppliers, purchasing, inventory, billing, HR (employees, leave, attendance, expenses), US payroll (FICA, W-2, garnishments), advanced accounting (ASC 606/842, intercompany, consolidation), and 43 industry modules. Single local SQLite DB, double-entry GL, immutable audit trail.

Security: Local-first (~/.openclaw/erpclaw/data.sqlite). Parameterized queries. RBAC (PBKDF2). Immutable GL. Network only for fetch-exchange-rates (public API) and install-module (GitHub avansaber/*, requires user approval). Integration API keys (Stripe, Shopify, etc.) are passed via --api-key flags and stored in the local DB only — no credentials in code or environment variables.

Skill Activation Triggers

Activate when user mentions: ERP, accounting, invoice, sales order, purchase order, customer, supplier, inventory, payment, GL, trial balance, P&L, balance sheet, tax, billing, modules, install module, onboard, CRM, manufacturing, healthcare, education, retail, employee, HR, payroll, salary, leave, attendance, expense claim, W-2, garnishment, integration.

Auto-Detection

When a user describes their business: detect type (e.g., "dental practice" -> dental), ask user to confirm before proceeding, then call setup-company --industry \x3Ctype>. Industry values: retail, restaurant, healthcare, dental, veterinary, construction, manufacturing, legal, agriculture, hospitality, property, school, university, nonprofit, automotive, therapy, home-health, consulting, distribution, saas. When a user asks about a service or integration not currently installed, search the module registry and suggest installation (never auto-install without user approval).

Setup

python3 {baseDir}/scripts/erpclaw-setup/db_query.py --action initialize-database
python3 {baseDir}/scripts/db_query.py --action seed-defaults --company-id \x3Cid>
python3 {baseDir}/scripts/db_query.py --action setup-chart-of-accounts --company-id \x3Cid> --template us_gaap

All 467 Actions

Setup & Admin (44)

Action Description
initialize-database / setup-company / update-company / get-company / list-companies DB init & company CRUD
add-currency / list-currencies / add-exchange-rate / get-exchange-rate / list-exchange-rates / fetch-exchange-rates Currency & FX
add-payment-terms / list-payment-terms / add-uom / list-uoms / add-uom-conversion Terms & UoMs
seed-defaults / seed-demo-data / check-installation / install-guide / setup-web-dashboard / tutorial / onboarding-step / status Seeding & utilities
add-user / update-user / get-user / list-users / set-password User management
add-role / list-roles / assign-role / revoke-role / seed-permissions RBAC & security
link-telegram-user / unlink-telegram-user / check-telegram-permission Telegram integration
backup-database / list-backups / verify-backup / restore-database / cleanup-backups DB backup/restore
get-audit-log / get-schema-version / update-regional-settings / onboard System admin

General Ledger (26)

Action Description
setup-chart-of-accounts / add-account / update-account / get-account / list-accounts Account CRUD
freeze-account / unfreeze-account / get-account-balance / check-gl-integrity Account management
post-gl-entries / reverse-gl-entries / list-gl-entries GL posting
add-fiscal-year / list-fiscal-years / validate-period-close / close-fiscal-year / reopen-fiscal-year Fiscal year
add-cost-center / list-cost-centers / add-budget / list-budgets Cost centers & budgets
seed-naming-series / next-series / revalue-foreign-balances Naming & FX revaluation
import-chart-of-accounts / import-opening-balances CSV import

Journal Entries (16)

Action Description
add-journal-entry / update-journal-entry / get-journal-entry / list-journal-entries JE CRUD
submit-journal-entry / cancel-journal-entry / amend-journal-entry / delete-journal-entry / duplicate-journal-entry JE lifecycle
create-intercompany-je Intercompany JE
add-recurring-template / update-recurring-template / list-recurring-templates / get-recurring-template / process-recurring / delete-recurring-template Recurring JEs

Payments (13)

Action Description
add-payment / update-payment / get-payment / list-payments / submit-payment / cancel-payment / delete-payment Payment CRUD & lifecycle
create-payment-ledger-entry / get-outstanding / get-unallocated-payments / allocate-payment / reconcile-payments / bank-reconciliation Reconciliation

Tax (17)

Action Description
add-tax-template / update-tax-template / get-tax-template / list-tax-templates / delete-tax-template Tax template CRUD
resolve-tax-template / calculate-tax / add-tax-category / list-tax-categories / add-tax-rule / list-tax-rules Tax rules
add-item-tax-template / add-tax-withholding-category / get-withholding-details Withholding
record-withholding-entry / record-1099-payment / generate-1099-data 1099 reporting

Financial Reports (20)

Action Description
trial-balance / profit-and-loss / balance-sheet / cash-flow / general-ledger / party-ledger Core statements
ar-aging / ap-aging / budget-vs-actual (alias: budget-variance) Aging & budget
tax-summary / payment-summary / gl-summary / comparative-pl / check-overdue Summaries
add-elimination-rule / list-elimination-rules / run-elimination / list-elimination-entries Intercompany

Selling (48)

Action Description
add-customer / update-customer / get-customer / list-customers / import-customers Customer CRUD
add-quotation / update-quotation / get-quotation / list-quotations / submit-quotation / convert-quotation-to-so Quotations
add-sales-order / update-sales-order / get-sales-order / list-sales-orders / submit-sales-order / cancel-sales-order / amend-sales-order / close-sales-order Sales orders
add-blanket-order / get-blanket-order / list-blanket-orders / submit-blanket-order / create-so-from-blanket Blanket orders
create-delivery-note / get-delivery-note / list-delivery-notes / submit-delivery-note / cancel-delivery-note / add-packing-slip / get-packing-slip / list-packing-slips Delivery & packing
create-sales-invoice / update-sales-invoice / get-sales-invoice / list-sales-invoices / submit-sales-invoice / cancel-sales-invoice Invoicing
create-credit-note / list-credit-notes / update-invoice-outstanding Credit notes
add-sales-partner / list-sales-partners Sales partners
add-recurring-template / update-recurring-template / list-recurring-templates / generate-recurring-invoices Recurring invoices
add-intercompany-account-map / list-intercompany-account-maps / create-intercompany-invoice / list-intercompany-invoices / cancel-intercompany-invoice Intercompany

Buying (40)

Action Description
add-supplier / update-supplier / get-supplier / list-suppliers / import-suppliers Supplier CRUD
add-material-request / submit-material-request / list-material-requests Material requests
add-rfq / submit-rfq / list-rfqs / add-supplier-quotation / list-supplier-quotations / compare-supplier-quotations RFQs & quotes
add-purchase-order / update-purchase-order / get-purchase-order / list-purchase-orders / submit-purchase-order / cancel-purchase-order / close-purchase-order Purchase orders
add-blanket-po / get-blanket-po / list-blanket-pos / submit-blanket-po / create-po-from-blanket / create-po-from-so / create-drop-ship-order Blanket POs & drop ship
create-purchase-receipt / get-purchase-receipt / list-purchase-receipts / submit-purchase-receipt / cancel-purchase-receipt Receipts
create-purchase-invoice / update-purchase-invoice / get-purchase-invoice / list-purchase-invoices / submit-purchase-invoice / cancel-purchase-invoice Purchase invoices
create-debit-note / add-landed-cost-voucher / update-receipt-tolerance / update-three-way-match-policy Adjustments

Inventory (42)

Action Description
add-item / update-item / get-item / list-items / import-items / add-item-group / list-item-groups Item master
add-item-attribute / create-item-variant / generate-item-variants / list-item-variants Item variants
add-item-supplier / list-item-suppliers / set-item-purchase-uom Item suppliers
add-warehouse / update-warehouse / list-warehouses Warehouses
add-stock-entry / get-stock-entry / list-stock-entries / submit-stock-entry / cancel-stock-entry Stock entries
create-stock-ledger-entries / reverse-stock-ledger-entries Stock ledger
get-stock-balance / stock-balance / stock-balance-report / stock-ledger-report / get-projected-qty Stock reports
add-batch / list-batches / add-serial-number / list-serial-numbers Batch & serial
add-price-list / add-item-price / get-item-price / add-pricing-rule Pricing
add-stock-reconciliation / submit-stock-reconciliation Reconciliation
revalue-stock / list-stock-revaluations / get-stock-revaluation / cancel-stock-revaluation / check-reorder Revaluation & reorder

Billing & Metering (23)

Action Description
add-meter / update-meter / get-meter / list-meters / add-meter-reading / list-meter-readings Meters
add-usage-event / add-usage-events-batch Usage tracking
add-rate-plan / update-rate-plan / get-rate-plan / list-rate-plans / rate-consumption Rate plans
create-billing-period / run-billing / generate-invoices / get-billing-period / list-billing-periods Billing cycles
add-billing-adjustment / add-prepaid-credit / get-prepaid-balance Adjustments & prepaid
add-recurring-bill-template / list-recurring-bill-templates / generate-recurring-bills Recurring bills

Advanced Accounting (45)

Action Description
add-revenue-contract / update-revenue-contract / get-revenue-contract / list-revenue-contracts Revenue contracts
add-performance-obligation / list-performance-obligations / satisfy-performance-obligation ASC 606
add-variable-consideration / list-variable-considerations / modify-contract Variable consideration
calculate-revenue-schedule / generate-revenue-entries / revenue-waterfall-report / revenue-recognition-summary Revenue recognition
recognize-schedule-entry / update-performance-obligation / update-schedule-amounts Revenue schedule management
add-lease / update-lease / get-lease / list-leases / classify-lease ASC 842 leases
calculate-rou-asset / calculate-lease-liability / generate-amortization-schedule / record-lease-payment Lease calculations
lease-maturity-report / lease-disclosure-report / lease-summary Lease reports
add-ic-transaction / update-ic-transaction / get-ic-transaction / list-ic-transactions Intercompany
approve-ic-transaction / post-ic-transaction / add-transfer-price-rule / list-transfer-price-rules IC approvals
ic-reconciliation-report / ic-elimination-report IC reports
add-consolidation-group / list-consolidation-groups / add-group-entity / add-currency-translation Consolidation setup
run-consolidation / generate-elimination-entries / consolidation-trial-balance-report / consolidation-summary Consolidation
standards-compliance-dashboard ASC 606/842 compliance

HR & Payroll (58)

Action Description
add-employee / update-employee / get-employee / list-employees / record-lifecycle-event Employee CRUD
add-employee-bank-account / list-employee-bank-accounts / add-employee-document / get-employee-document / list-employee-documents / check-expiring-documents Employee details
add-department / list-departments / add-designation / list-designations Org structure
add-leave-type / list-leave-types / add-leave-allocation / get-leave-balance Leave config
add-leave-application / approve-leave / reject-leave / list-leave-applications Leave requests
mark-attendance / bulk-mark-attendance / list-attendance / add-holiday-list Attendance
add-shift-type / update-shift-type / list-shift-types / assign-shift / list-shift-assignments Shift management
add-regularization-rule / apply-attendance-regularization Attendance regularization
add-expense-claim / submit-expense-claim / approve-expense-claim / reject-expense-claim / update-expense-claim-status / list-expense-claims Expenses
add-salary-component / list-salary-components / add-salary-structure / get-salary-structure / list-salary-structures Salary config
add-salary-assignment / list-salary-assignments / add-income-tax-slab / add-state-tax-slab / update-employee-state-config Payroll config
update-fica-config / update-futa-suta-config / add-overtime-policy / calculate-overtime / calculate-retro-pay Tax & overtime
create-payroll-run / generate-salary-slips / get-salary-slip / list-salary-slips / submit-payroll-run / cancel-payroll-run Payroll processing
generate-w2-data / generate-nacha-file / add-garnishment / update-garnishment / get-garnishment / list-garnishments W-2, NACHA, garnishments
get-amendment-history Amendment tracking

Module Management & Quality (41)

Action Description
install-module / remove-module / update-modules / list-modules / available-modules / search-modules / module-status Module catalog (install/remove require user approval)
rebuild-action-cache / list-all-actions / list-profiles / onboard / list-industries Actions & profiles
validate-module / generate-module / configure-module / deploy-module Module lifecycle (all require user approval)
build-table-registry / list-articles / install-suite / classify-operation / run-audit / compliance-weather-status Validation & audit
schema-plan / schema-apply / schema-rollback / schema-drift / deploy-audit-log Schema migration (apply/rollback require user approval)
semantic-check / semantic-rules-list Semantic correctness
log-improvement / list-improvements / review-improvement Improvement suggestions (advisory only)
dgm-run-variant / dgm-list-variants / dgm-select-best Variant analysis (advisory only, never auto-deployed)
heartbeat-analyze / heartbeat-report / heartbeat-suggest / detect-gaps / suggest-modules Gap detection (suggestions only)
regenerate-skill-md Regenerate SKILL.md

Always confirm with user before running: setup-company, onboard, install-module, remove-module, update-modules, generate-module, deploy-module, schema-apply, schema-rollback, submit-*, cancel-*, approve-*, reject-*, run-elimination, run-consolidation, restore-database, close-fiscal-year, initialize-database --force.

Technical Details (Tier 3)

Router: scripts/db_query.py -> 14 core domains. Optional modules installed from GitHub (avansaber/*) to ~/.openclaw/erpclaw/modules/ (user-approved only). Single SQLite DB (WAL). 188 core tables (688 with modules). Money=TEXT(Decimal), IDs=TEXT(UUID4), GL immutable. Python 3.10+. All network activity limited to: (1) fetch-exchange-rates — public exchange rate API, (2) install-module — git clone from github.com/avansaber/* only, requires user approval.

Usage Guidance
This skill is large and generally coherent with its stated ERP purpose, but two things deserve attention before installing: (1) autonomy around modules — the project advertises both 'suggest install only' and 'self-extending autonomous module generation/deploy', which conflict; clarify whether the agent can fetch and run new code without explicit per-install user approval. (2) runtime execution of downloaded or generated code — review module_manager/install_bin/sandbox/research_engine code paths to confirm downloads are from trusted GitHub repositories and that any downloaded code is not executed without inspection or explicit consent. Additional practical steps: run first in an isolated environment or VM, back up any existing data, restrict network access if you want air-gapped operation, verify OAuth/token handling (are tokens kept only in local DB and not leaked), and review audit/logging hooks (audit_log) to ensure you can detect and roll back unexpected actions.
Capability Analysis
Type: OpenClaw Skill Name: erpclaw Version: 3.5.0 The bundle implements an extremely complex 'AI-native' ERP system with self-modifying capabilities. While no explicit evidence of malice (like credential theft) was found, the 'erpclaw-os' domain contains high-risk functionality: 'in_module_generator.py' performs automated code injection into existing module scripts, and 'dgm_engine.py' (Darwin Godel Machine) generates and evaluates code variants. Furthermore, 'erpclaw-meta/db_query.py' includes a 'setup-web-dashboard' action that executes high-privilege operations including 'sudo' commands, 'git clone' from remote repositories, and 'npm/pip' installations. These features represent a massive attack surface and risky autonomous capabilities that exceed standard agent skill boundaries.
Capability Tags
cryptocan-make-purchasesrequires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
Name/description (full ERP) align with requested binaries (python3, git) and the shipped code (many Python modules, DB init). Git is reasonable for fetching optional modules. However the README/SKILL.md describe both (a) 'never auto-install without user approval' for modules and (b) a self-extending 'ERPClaw OS' that 'generates, tests, and deploys new industry modules autonomously' — this is an internal inconsistency that expands capability beyond a simple local ERP.
Instruction Scope
Runtime instructions and metadata run local DB initialization and scheduled actions (cron). Most actions are confined to the local SQLite DB under ~/.openclaw/erpclaw/data.sqlite, which is consistent. But instructions and README also describe installing modules from GitHub (sparse checkout) and autonomous module generation/testing/deploy. The codebase contains files (module_manager.py, install_bin.py, sandbox.py, research_engine.py, adversarial_audit.py, cross_skill.py) that suggest downloading or executing generated/third-party code and cross-skill interactions. That increases scope beyond simple DB operations and could lead to executing remote or generated code unless user approvals and isolation are enforced.
Install Mechanism
There is no platform install spec (instruction-only), and included metadata contains a post-install 'python3 scripts/erpclaw-setup/db_query.py --action initialize-database' which will create the local DB — expected. Module installation (per README) fetches modules from GitHub via sparse checkout; fetching code at runtime from GitHub is moderate-to-high risk unless restricted and user-approved. No evidence of opaque external download URLs or URL shorteners in provided manifest, but module install implies network downloads from github.com/avansaber/*.
Credentials
The skill declares no required environment variables or credentials (only an optional ERPCLAW_DB_PATH). Integration API keys are described as passed via flags and stored in the local DB per the docs. There is no unexplained request for unrelated credentials in the manifest. Still verify runtime handling of OAuth tokens (README claims tokens are forwarded and deleted quickly) and ensure token forwarding behavior matches your security model.
Persistence & Privilege
always:false (no forced presence). The skill defines cron jobs that will schedule recurring actions (process-recurring, generate-recurring-invoices, check-reorder, check-overdue). Scheduled automatic actions that run periodically are coherent for an ERP but increase autonomous activity. Combined with module-management and the self-extending OS features, cron + autonomous module generation would widen blast radius if the skill can download/execute code. Confirm how cron is implemented and whether it runs without explicit user consent per run.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install erpclaw
  3. After installation, invoke the skill by name or use /erpclaw
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v3.5.0
v3.5.0: bin/erpclaw shim + module_manager publish path + Deep Integrations README (Stripe + Shopify) + 22 marketing site posts live
v3.4.3
No changes detected in this release. - Version number updated to 3.4.3, but no file or visible content changes from version 3.4.1. - All features, descriptions, and actions remain unchanged.
v3.4.2
- Improved security: optional expansion modules are now only installed from GitHub with user approval. - Integration API keys (e.g., Stripe, Shopify) are passed via flags and stored only in the local DB; never kept in code or environment variables. - Updated auto-detection: always ask user to confirm detected business/industry before proceeding. - Slightly condensed skill description and tags for better clarity and privacy. - No changes to actions, scheduling, or base functionality.
v3.4.1
Fix: set PYTHONPATH for module init_db.py — vertical modules now install correctly
v3.4.0
Remote registry: auto-fetch modules from GitHub. SKILL.md completeness fix. Stripe integration module. 778 tables, 3024 actions.
v3.3.0
erpclaw 3.3.0 is a feature update from 3.2.0. - Version bump to 3.3.0 with updated metadata; no file changes detected. - No breaking changes; functionality and configuration remain consistent with previous release.
v3.2.1
- Introduced three new modules: feature matrix (feature_matrix.py), in-module generator (in_module_generator.py), and research engine (research_engine.py). - These additions enhance the modularity and research capabilities of the system. - No other changes to existing features or documentation.
v3.2.0
No code changes in this release; documentation updates only. - Updated SKILL.md to correct and expand setup, security, and action documentation. - Mentioned the increase to 413 actions and improved module/industry onboarding instructions. - Expanded and clarified auto-detection for industry/country and user onboarding flow. - Provided guidance for regional module (tax/compliance) actions and web dashboard options. - Streamlined security section and improved bulleted explanations for clarity.
v3.1.10
No changes were detected in this version. - Version bumped from 3.1.10 to 3.2.0 with no file changes. - No new features, fixes, or updates in this release.
v3.1.9
Version 3.1.9 - Added new core modules: dgm_engine, gap_detector, heartbeat_analysis, improvement_log, semantic_engine, and variant_manager. - Expanded the scripts/erpclaw-os/ directory with advanced analysis and monitoring capabilities. - Lays groundwork for future features in diagnostics, semantic processing, and continuous improvement.
v3.1.8
No changes detected in this version. - Version bump from 3.1.8 to 3.2.0 only; no updates to code, features, or documentation. - All functionality and cron settings remain unchanged.
v3.1.7
**Major new version with advanced OS features, guardrails, and automation** - Added 88 new files including accounting, billing, buying, inventory, HR, advanced accounting, and OS automation scripts - Introduced a self-extending ERP OS with constitutional guardrails, adversarial audit, and schema migration support - Improved security: clarified network action user confirmations, local-first architecture, and environment config options - Auto-detects business industry, confirms with user, and suggests/install modules as needed - Added scheduled (cron) actions for recurring billing, journal processing, inventory checks, and overdue invoice alerts - Expanded and reorganized documentation for setup, quick start, and all available actions
v3.1.6
Major change: Core scripts and assets have been removed from this skill version and installation now depends on downloading from GitHub. - All scripts and data files (including db_query.py, assets, and advanced accounting modules) have been removed from the package. - Initial setup and execution now require cloning the ERPClaw repository from GitHub and copying its contents manually. - README, LICENSE, and all module code are no longer bundled; installation and updates are managed via Git. - Metadata and instructions updated to reflect the new external installation process. - The skill’s operation depends on the presence of the downloaded codebase; guidance provided for checking and installing from source.
v3.1.5
No file changes detected in this release. - Version bumped to 3.1.5, but no functional changes or updates were made. - All features and capabilities remain the same as previous version (3.1.2).
v3.1.4
- Added explicit user confirmation before installing any modules or enabling network features. - Enhanced auto-detection logic to require user confirmation of detected business type and proposed modules before setup actions. - Updated security model: All network features (including module installs) are only available after user confirmation. - Revised onboarding and module installation instructions for clarity and compliance. - No changes to application functionality or codebase; documentation and process refinements only.
v3.1.3
- Added README.md for improved documentation and onboarding. - Removed legacy metadata and old manufacturing database query script. - Updated SKILL.md: revised maintainer details, expanded auto-detection and industry onboarding instructions, and clarified module-installation guidance. - Total actions count updated to 371 across 14 domains.
v3.1.2
- Added initial support for manufacturing domain with new script (`scripts/erpclaw-manufacturing/db_query.py`) - Included module metadata file (`_meta.json`) - Updated selling, setup, and module manager database query scripts - Minor documentation and version updates in SKILL.md
v3.1.1
- Version bump from 3.1.0 to 3.1.1 in SKILL.md. - No functional or feature changes; documentation update only.
v3.1.0
Version 3.1.0 - Added or updated core database query scripts across modules (GL, inventory, setup). - Enhanced schema initialization and onboarding procedures. - Improved module management with updates to manager and registry scripts. - Refined document naming and cross-skill utilities for greater consistency. - Documentation updated to reflect new features and usage details.
v3.0.0
Major update: Added HR and Payroll domains with new actions and expanded functionality. - Introduced HR and Payroll modules, including new scripts for each (erpclaw-hr/db_query.py, erpclaw-payroll/db_query.py) - Expanded supported domains from 12+ to 14, and actions from 325+ to over 365 - Added features for HR (employees, leave, attendance, expenses) and US payroll (salary, taxes, W-2s, garnishments) - Updated tags, skill triggers, and documentation to include HR and payroll topics - Enhanced security model with explicit PII protection for employee and payroll data
Metadata
Slug erpclaw
Version 3.5.0
License MIT-0
All-time Installs 8
Active Installs 7
Total Versions 37
Frequently Asked Questions

What is Erpclaw?

AI-native ERP system. Full accounting, invoicing, inventory, purchasing, tax, billing, HR, payroll, advanced accounting (ASC 606/842, intercompany, consolida... It is an AI Agent Skill for Claude Code / OpenClaw, with 1343 downloads so far.

How do I install Erpclaw?

Run "/install erpclaw" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Erpclaw free?

Yes, Erpclaw is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Erpclaw support?

Erpclaw is cross-platform and runs anywhere OpenClaw / Claude Code is available (darwin, linux).

Who created Erpclaw?

It is built and maintained by Nikhil Jathar (@mailnike); the current version is v3.5.0.

💬 Comments