Erpclaw Publish 4.15.0 20260816 103527
AI-native ERP system. Full accounting, invoicing, inventory, purchasing, tax, billing, HR, payroll, advanced accounting (ASC 606/842, intercompany, consolidation), and financial reporting (including P&L / trial balance / spend grouped by department, project, cost center, location, or fund). 496 actions across 14 domains, 45 optional expansion modules (user-approved install from GitHub). Double-entry GL, immutable audit trail, US GAAP compliant. Licensed under GNU GPL v3 (the marketplace "MIT-0" badge is a ClawHub platform default; the LICENSE.txt in the bundle is GPL v3). Skill: Erpclaw Publish 4.15.0 20260816 103527 Owner: mailnike Summary: AI-native ERP system. Full accounting, invoicing, inventory, purchasing, tax, billing, HR, payroll, advanced accounting (ASC 606/842, intercompany, consolidation), and financial reporting (including P&L / trial balance / spend grouped by department, project, cost center, location, or fund). 496 actions across 14 domains, 45 optional expansion modu
Rank
62
Safety
84
Downloads
4.8k
Updated
Oct 9, 2026
Version
4.15.0
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 4.8K downloads reported by the source. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 4.8K downloadsadoption · observed Oct 9, 2026
- Latest release
- 4.15.0release · observed Aug 16, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s17ee5y8kxe1zfx1t7te9wcgzx83j215:erpclaw- Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-mailnike-erpclaw/snapshot"
Documentation
CLAWHUB
160,000 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: erpclaw
version: 4.15.0
description: >
AI-native ERP system. Full accounting, invoicing, inventory, purchasing,
tax, billing, HR, payroll, advanced accounting (ASC 606/842, intercompany, consolidation),
and financial reporting (including P&L / trial balance / spend grouped by department, project, cost center, location, or fund). 496 actions across 14 domains, 45 optional expansion modules (user-approved install from GitHub).
Double-entry GL, immutable audit trail, US GAAP compliant. Licensed under GNU GPL v3 (the marketplace "MIT-0" badge is a ClawHub platform default; the LICENSE.txt in the bundle is GPL v3).
author: AvanSaber
homepage: https://github.com/avansaber/erpclaw
source: https://github.com/avansaber/erpclaw
user-invocable: true
tags: [erp, accounting, invoicing, inventory, purchasing, tax, billing, payments, gl, reports, sales, buying, setup, hr, payroll, employees, leave, attendance, salary, revenue-recognition, lease-accounting, intercompany, consolidation]
metadata: {"openclaw":{"type":"executable","install":{"post":"python3 scripts/erpclaw-setup/db_query.py --action initialize-database"},"requires":{"bins":["python3","git"],"env":[],"optionalEnv":["ERPCLAW_DB_PATH"]},"os":["darwin","linux"]},"hermes":{"category":"productivity","config":[{"key":"erpclaw.home","description":"ERPClaw install root; lib, install-state, and the default SQLite DB resolve under it. Unset/blank defaults to ~/.openclaw/erpclaw (byte-identical to OpenClaw).","default":"${ERPCLAW_HOME}","prompt":"ERPClaw home directory (blank = ~/.openclaw/erpclaw)"}]},"mcp":{"transport":"stdio","server":"source/erpclaw/mcp/server.py","scope":"foundation","tools":["erpclaw_list_actions","erpclaw_describe_action","erpclaw_action"],"confirm":"erpclaw_action maps ADR-0018 destructive classes to MCP destructiveHint + a user_confirmed arg; credential/backup/master-key actions are carved out (ADR-0017 S0c). Transport-only over db_query.py — no new write path (ADR-0024).","read":"erpclaw_read deferred to v2"}}
---
# erpclaw
**Full-Stack ERP Controller** for ERPClaw. Company setup, chart of accounts, journal entries, payments, tax, financial reports, customers, sales, suppliers, purchasing, inventory, billing, HR, US payroll, advanced accounting (ASC 606/842, intercompany, consolidation), and 45 optional industry modules. Local-first SQLite, double-entry GL, immutable audit trail.
**Security:** Local-first. Parameterized queries. RBAC (PBKDF2). Immutable GL. Sensitive fields encrypted at the column level. Network access limited to `fetch-exchange-rates` (public API) and user-approved `install-module` from `github.com/avansaber/*`.
**Runtimes:** Runs on OpenClaw (primary). Experimental support for the Hermes Agent runtime via a GitHub tap. Install root is set by the `ERPCLAW_HOME` environment variable; unset/blank defaults to `~/.openclaw/erpclaw` (zero behavior change for OpenClaw).
## System of record (the ERP is authoritative)
The ERPClaw database is the singREADME.md
<p align="center"> <img src="assets/logo.svg" alt="ERPClaw" width="120" height="120"> </p> <h1 align="center">ERPClaw</h1> <p align="center"> <em>The AI-native ERP. Chat with your books.</em> </p> <p align="center"> <img src="https://img.shields.io/badge/license-GPL--3.0-green" alt="License: GPL-3.0"> <!-- version badge auto-synced by release/scripts/sync_facts.py (badge URL pattern) --> <img src="https://img.shields.io/badge/version-v4.15.0-0d9488" alt="Version v4.15.0"> <img src="https://img.shields.io/badge/OpenClaw-skill-14b8a6" alt="OpenClaw Skill"> <img src="https://img.shields.io/badge/database-SQLite%20%7C%20PostgreSQL-0d9488" alt="SQLite or PostgreSQL"> <a href="https://www.erpclaw.ai"><img src="https://img.shields.io/badge/website-erpclaw.ai-14b8a6" alt="Website erpclaw.ai"></a> <img src="https://img.shields.io/badge/Stripe%20Marketplace-Live-635bff" alt="Stripe Marketplace · Live"> </p> <p align="center"> <img src="assets/demo.svg" alt="ERPClaw demo: add a customer, invoice them, record their payment, and see a P&L by department, all in plain English" width="760"> </p> **ERPClaw runs your whole business from plain English.** Tell it "invoice Wayne Industries for 10 widgets at $100" and it writes the invoice, posts the balanced journal entries, and replies with the invoice number. Record a payment, close the month, pull a P&L by department, run payroll, the assistant you already use does the work and the books stay audit-grade underneath. No forms to click through, no screens to learn, no per-seat bill. It is open source, it is free forever, and it runs on your own machine so your data never leaves it. The difference from every other "AI" accounting tool is structural: ERPClaw was built AI-native from the first commit, with the assistant as the primary interface and the accounting rules as auditable code. That is not a chat sidebar bolted onto a forms app, and it is not something a legacy product can retrofit. <sub>The rest of this README is the technical reference for installing and running the foundation. If you just want the product overview, see <a href="https://www.erpclaw.ai">erpclaw.ai</a>.</sub> ## Quick start ERPClaw is one product. You install it once, then describe your business and it sets itself up. ``` clawhub install erpclaw ``` This installs the foundation and initializes the database. From there you just talk to your AI assistant: ``` "I'm opening a retail store called Sunrise Goods in Portland, Oregon. Set me up." → creates your company, a US GAAP chart of accounts, fiscal year, and tax rates ``` Industry coverage comes the same way, with no second install command: ``` "I'm a school" → ERPClaw pulls the education vertical and creates its tables "I need manufacturing" → pulls Manufacturing, Projects, Assets, Quality, Support "Set me up for a clinic" → pulls clinical practice management ``` Vertical code lives on GitHub and is fetched on demand by sparse checkout, so onl
_meta.json
{
"ownerId": "kn71eyhsjyvmm561yrd4k2dbzh80a07r",
"slug": "erpclaw",
"version": "4.15.0",
"publishedAt": 1786896047188
}scripts/erpclaw-os/references/pattern_catalog.md
# ERPClaw OS Pattern Catalog
Reusable patterns extracted from the existing 44-module codebase. Each pattern documents a common business entity type with schema, action, and test templates. Used by `generate_module.py` to map natural-language business descriptions to code templates.
**Source of truth:** `pattern_library.py` defines the machine-readable version. This document is the human-readable reference.
---
## 1. CRUD Entity
**Description:** The foundational pattern. A persistent business entity with create, read, update, and list operations. No financial posting, no lifecycle transitions beyond active/inactive.
**Source modules:** legalclaw (`legalclaw_client_ext`), healthclaw-vet (`healthclaw_animal_patient`), automotiveclaw (`automotiveclaw_customer_ext`), nonprofitclaw (`nonprofitclaw_donor_ext`)
**When to use:**
- Any entity that needs to be stored and queried (clients, pets, vehicles, properties, employees, locations)
- Master data tables that other records reference
- Extension tables that augment core ERP entities (customer, item, employee)
**Schema pattern:**
```sql
CREATE TABLE IF NOT EXISTS {prefix}_entity (
id TEXT PRIMARY KEY, -- UUID4
company_id TEXT NOT NULL REFERENCES company(id),
name TEXT NOT NULL,
status TEXT DEFAULT 'active'
CHECK(status IN ('active','inactive','archived')),
notes TEXT,
created_at TEXT NOT NULL DEFAULT (datetime('now')),
updated_at TEXT NOT NULL DEFAULT (datetime('now'))
);
CREATE INDEX IF NOT EXISTS idx_{prefix}_entity_company
ON {prefix}_entity(company_id);
```
For **extension tables** that link to a core entity:
```sql
CREATE TABLE IF NOT EXISTS {prefix}_customer_ext (
id TEXT PRIMARY KEY,
naming_series TEXT DEFAULT '{PREFIX}-',
customer_id TEXT NOT NULL REFERENCES customer(id),
-- domain-specific fields here --
is_active INTEGER DEFAULT 1,
company_id TEXT NOT NULL REFERENCES company(id),
created_at TEXT DEFAULT (datetime('now')),
updated_at TEXT DEFAULT (datetime('now'))
);
CREATE INDEX IF NOT EXISTS idx_{prefix}_customer_ext_customer
ON {prefix}_customer_ext(customer_id);
```
**Action pattern:**
```python
def handle_add_entity(args, conn):
entity_id = str(uuid.uuid4())
conn.execute(
"INSERT INTO {prefix}_entity (id, company_id, name) VALUES (?, ?, ?)",
(entity_id, args.company_id, args.name)
)
conn.commit()
ok({"message": "Entity added", "id": entity_id})
def handle_update_entity(args, conn):
conn.execute(
"UPDATE {prefix}_entity SET name = ?, updated_at = datetime('now') WHERE id = ? AND company_id = ?",
(args.name, args.id, args.company_id)
)
conn.commit()
ok({"message": "Entity updated"})
def handle_get_entity(args, conn):
row = conn.execute(
"SELECT * FROM {prefix}_entity WHERE id = ? AND company_id = ?",
(args.id, args.company_id)
).scripts/erpclaw-gl/assets/charts/us_gaap.json
[
{
"account_number": "1000",
"name": "Assets",
"parent_number": null,
"root_type": "asset",
"account_type": null,
"is_group": 1,
"balance_direction": "debit_normal"
},
{
"account_number": "1100",
"name": "Current Assets",
"parent_number": "1000",
"root_type": "asset",
"account_type": null,
"is_group": 1,
"balance_direction": "debit_normal"
},
{
"account_number": "1110",
"name": "Cash and Cash Equivalents",
"parent_number": "1100",
"root_type": "asset",
"account_type": null,
"is_group": 1,
"balance_direction": "debit_normal"
},
{
"account_number": "1111",
"name": "Petty Cash",
"parent_number": "1110",
"root_type": "asset",
"account_type": "cash",
"is_group": 0,
"balance_direction": "debit_normal"
},
{
"account_number": "1112",
"name": "Operating Checking Account",
"parent_number": "1110",
"root_type": "asset",
"account_type": "bank",
"is_group": 0,
"balance_direction": "debit_normal"
},
{
"account_number": "1113",
"name": "Savings Account",
"parent_number": "1110",
"root_type": "asset",
"account_type": "bank",
"is_group": 0,
"balance_direction": "debit_normal"
},
{
"account_number": "1120",
"name": "Accounts Receivable",
"parent_number": "1100",
"root_type": "asset",
"account_type": null,
"is_group": 1,
"balance_direction": "debit_normal"
},
{
"account_number": "1121",
"name": "Trade Receivables",
"parent_number": "1120",
"root_type": "asset",
"account_type": "receivable",
"is_group": 0,
"balance_direction": "debit_normal"
},
{
"account_number": "1122",
"name": "Other Receivables",
"parent_number": "1120",
"root_type": "asset",
"account_type": "receivable",
"is_group": 0,
"balance_direction": "debit_normal"
},
{
"account_number": "1130",
"name": "Inventory",
"parent_number": "1100",
"root_type": "asset",
"account_type": null,
"is_group": 1,
"balance_direction": "debit_normal"
},
{
"account_number": "1131",
"name": "Raw Materials",
"parent_number": "1130",
"root_type": "asset",
"account_type": "stock",
"is_group": 0,
"balance_direction": "debit_normal"
},
{
"account_number": "1132",
"name": "Work in Progress",
"parent_number": "1130",
"root_type": "asset",
"account_type": "stock",
"is_group": 0,
"balance_direction": "debit_normal"
},
{
"account_number": "1133",
"name": "Finished Goods",
"parent_number": "1130",
"root_type": "asset",
"account_type": "stock",
"is_group": 0,
"balance_direction": "debit_normal"
},
{
"account_number": "1140",
"name": "Prepaid Expenses",
"parent_number": "1100",
"root_type": "asset",
"account_type": null,
"is_group": 1,
"balance_direction": "debit_normal"
},
{
"account_numbeactivepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/mailnike/skills/erpclaw",
"sourceUrl": "https://clawhub.ai/mailnike/skills/erpclaw",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T04:52:01.050Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-mailnike-erpclaw/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-mailnike-erpclaw/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T04:52:01.050Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "4.8K downloads",
"href": "https://clawhub.ai/mailnike/erpclaw",
"sourceUrl": "https://clawhub.ai/mailnike/erpclaw",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T04:52:01.050Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "4.15.0",
"href": "https://clawhub.ai/mailnike/erpclaw",
"sourceUrl": "https://clawhub.ai/mailnike/erpclaw",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-16T16:00:47.188Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-mailnike-erpclaw/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-mailnike-erpclaw/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 4.15.0",
"description": "Books-integrity fixes (invoice cancel releases allocations; party balances no longer double-counted; write-offs with real accounting; idempotent intercompany eliminations with surplus correction; billing-period honesty), database seam with PostgreSQL-verified module installs, retired one-sided actions now steer to the correct flows, updated agent guidance. Nine end-to-end business scenarios pass as the release gate.",
"href": "https://clawhub.ai/mailnike/erpclaw",
"sourceUrl": "https://clawhub.ai/mailnike/erpclaw",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-16T16:00:47.188Z",
"isPublic": true
}
]
}Record generated Oct 9, 2026.
