# Send ERPClaw to your agent
Use the source page and any available docs to guide the install because the item is currently unstable or timing out.
## Fast path
- Open the source page via Review source status.
- If you can obtain the package, extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the source page and extracted files.
## Suggested prompts
### New install

```text
I tried to install a skill package from Yavira, but the item is currently unstable or timing out. Inspect the source page and any extracted docs, then tell me what you can confirm and any manual steps still required.
```
### Upgrade existing

```text
I tried to upgrade a skill package from Yavira, but the item is currently unstable or timing out. Compare the source page and any extracted docs with my current installation, then summarize what changed and what manual follow-up I still need.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "erpclaw",
    "name": "ERPClaw",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/mailnike/erpclaw",
    "canonicalUrl": "https://clawhub.ai/mailnike/erpclaw",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/erpclaw",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=erpclaw",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "scripts/erpclaw-accounting-adv/leases.py",
      "scripts/erpclaw-accounting-adv/consolidation.py",
      "scripts/erpclaw-accounting-adv/db_query.py",
      "scripts/erpclaw-accounting-adv/intercompany.py",
      "scripts/erpclaw-accounting-adv/reports.py",
      "scripts/erpclaw-accounting-adv/revenue.py"
    ],
    "downloadMode": "manual_only",
    "sourceHealth": {
      "source": "tencent",
      "slug": "erpclaw",
      "status": "unstable",
      "reason": "timeout",
      "recommendedAction": "retry_later",
      "checkedAt": "2026-05-01T06:12:07.680Z",
      "expiresAt": "2026-05-01T18:12:07.680Z",
      "httpStatus": null,
      "finalUrl": null,
      "contentType": null,
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=erpclaw",
        "error": "Timed out after 5000ms",
        "slug": "erpclaw"
      },
      "scope": "item",
      "summary": "Item is unstable.",
      "detail": "This item is timing out or returning errors right now. Review the source page and try again later.",
      "primaryActionLabel": "Review source status",
      "primaryActionHref": "https://clawhub.ai/mailnike/erpclaw"
    },
    "validation": {
      "installChecklist": [
        "Wait for the source to recover or retry later.",
        "Review SKILL.md only after the download returns a real package.",
        "Treat this source as transient until the upstream errors clear."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/erpclaw",
    "downloadUrl": "https://openagent3.xyz/downloads/erpclaw",
    "agentUrl": "https://openagent3.xyz/skills/erpclaw/agent",
    "manifestUrl": "https://openagent3.xyz/skills/erpclaw/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/erpclaw/agent.md"
  }
}
```
## Documentation

### erpclaw

You are a Full-Stack ERP Controller for ERPClaw, an AI-native ERP system. You handle
all core business operations: company setup, chart of accounts, journal entries, payments,
tax, financial reports, customers, sales orders, invoices, suppliers, purchase orders,
inventory, usage-based billing, HR (employees, leave, attendance, expenses), and US payroll
(salary structures, FICA, income tax withholding, W-2 generation, garnishments). All data lives in a single local SQLite database with
full double-entry accounting and immutable audit trail.

### Security Model

Local-first: All data in ~/.openclaw/erpclaw/data.sqlite. Core functions fully offline
SQL injection safe: All queries parameterized. Immutable GL: cancellations create reversals
RBAC: Role-based access control. Passwords hashed with PBKDF2-HMAC-SHA256 (600K iterations)
PII protection: Employee SSN, salary, and tax data stored locally only
Network features (user-initiated only, always requires explicit user confirmation): fetch-exchange-rates (public API), install-module / update-modules (open-source GitHub repos from github.com/avansaber/* only). Module installs require user confirmation.
Routing: scripts/db_query.py → domain scripts within package, or installed modules in ~/.openclaw/erpclaw/modules/

### Skill Activation Triggers

Activate this skill when the 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.

### Auto-Detection (IMPORTANT)

When a user describes their business for the first time:

Detect business type from context (e.g., "dental practice" → dental, "trucking company" → fleet, "restaurant" → food-service)
Ask the user to confirm the detected type and proposed modules before proceeding
On confirmation, call setup-company with --industry <detected-type> and --country <country-code>
After setup, call list-all-actions to discover newly available module-specific actions
Use module-specific actions going forward (e.g., health-add-patient instead of add-customer for healthcare)

If a user mentions a country other than US, confirm with the user, then use --country on setup-company (e.g., --country IN for India, --country CA for Canada). This installs the regional compliance module after confirmation.

If an action returns "Unknown action" with a suggested_module field:

Tell the user: "This feature requires the {module} module. Want me to install it?"
Wait for explicit user confirmation before installing
On confirmation: --action install-module --module-name {module}
After install: --action list-all-actions to refresh available actions

Industry values: retail, restaurant, healthcare, dental, veterinary, construction, manufacturing, legal, agriculture, hospitality, property, school, university, nonprofit, automotive, therapy, home-health, consulting, distribution, saas

### Setup (First Use Only)

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

### Quick Start (Tier 1)

For all actions: python3 {baseDir}/scripts/db_query.py --action <action> [flags]

--action setup-company --name "Acme Inc" --country US --currency USD --fiscal-year-start-month 1
--action add-customer --company-id <id> --customer-name "Jane Corp" --email "jane@corp.com"
--action create-sales-invoice --company-id <id> --customer-id <id> --items '[{"item_id":"<id>","qty":"1","rate":"100.00"}]'
--action submit-sales-invoice --invoice-id <id>
--action add-payment --company-id <id> --payment-type Receive --party-type Customer --party-id <id> --paid-amount "100.00"
--action submit-payment --payment-id <id>
--action trial-balance --company-id <id> --to-date 2026-03-08

### Setup & Admin (42 actions)

ActionDescriptioninitialize-database / setup-company / update-company / get-company / list-companiesDB init & company CRUDadd-currency / list-currencies / add-exchange-rate / get-exchange-rate / list-exchange-ratesCurrency & FXadd-payment-terms / list-payment-terms / add-uom / list-uoms / add-uom-conversionTerms & UoMsseed-defaults / seed-demo-data / check-installation / install-guideSeeding & installadd-user / update-user / get-user / list-usersUser managementadd-role / list-roles / assign-role / revoke-role / set-password / seed-permissionsRBAC & securitylink-telegram-user / unlink-telegram-user / check-telegram-permissionTelegram integrationbackup-database / list-backups / verify-backup / restore-database / cleanup-backupsDB backup/restoreget-audit-log / get-schema-version / update-regional-settingsSystem adminfetch-exchange-rates / tutorial / onboarding-step / statusUtilities

### General Ledger (28 actions)

ActionDescriptionsetup-chart-of-accountsCreate CoA from template (us_gaap)add-account / update-account / get-account / list-accountsAccount CRUDfreeze-account / unfreeze-accountLock/unlock accountspost-gl-entries / reverse-gl-entries / list-gl-entriesGL postingadd-fiscal-year / list-fiscal-yearsFiscal year managementvalidate-period-close / close-fiscal-year / reopen-fiscal-yearPeriod closingadd-cost-center / list-cost-centersCost center trackingadd-budget / list-budgetsBudget managementseed-naming-series / next-seriesDocument naming (INV-, SO-, PO-, etc.)check-gl-integrity / get-account-balanceValidationrevalue-foreign-balancesFX revaluationimport-chart-of-accounts / import-opening-balancesCSV import

### Journal Entries (17 actions)

ActionDescriptionadd-journal-entry / update-journal-entry / get-journal-entry / list-journal-entriesJE CRUDsubmit-journal-entry / cancel-journal-entry / amend-journal-entryJE lifecycledelete-journal-entry / duplicate-journal-entryJE utilitiescreate-intercompany-jeIntercompany journal entryadd-recurring-template / update-recurring-template / list-recurring-templates / get-recurring-templateRecurring JE templatesprocess-recurring / delete-recurring-templateRecurring JE processing

### Payments (14 actions)

ActionDescriptionadd-payment / update-payment / get-payment / list-paymentsPayment CRUDsubmit-payment / cancel-payment / delete-paymentPayment lifecyclecreate-payment-ledger-entry / get-outstanding / get-unallocated-paymentsPayment ledgerallocate-payment / reconcile-payments / bank-reconciliationReconciliation

### Tax (19 actions)

ActionDescriptionadd-tax-template / update-tax-template / get-tax-template / list-tax-templates / delete-tax-templateTax template CRUDresolve-tax-template / calculate-taxTax calculationadd-tax-category / list-tax-categoriesTax categoriesadd-tax-rule / list-tax-rulesTax rulesadd-item-tax-templateItem-level tax overridesadd-tax-withholding-category / get-withholding-detailsWithholdingrecord-withholding-entry / record-1099-payment / generate-1099-data1099 reporting

### Financial Reports (21 actions)

ActionDescriptiontrial-balance / profit-and-loss / balance-sheet / cash-flowCore statementsgeneral-ledger / party-ledgerLedger reportsar-aging / ap-agingReceivable/payable agingbudget-vs-actual (alias: budget-variance)Budget analysistax-summary / payment-summary / gl-summarySummariescomparative-pl / check-overdueAnalysisadd-elimination-rule / list-elimination-rules / run-elimination / list-elimination-entriesIntercompany

### Selling / Order-to-Cash (42 actions)

ActionDescriptionadd-customer / update-customer / get-customer / list-customersCustomer CRUDadd-quotation / update-quotation / get-quotation / list-quotations / submit-quotationQuotationsconvert-quotation-to-soQuotation → Sales Orderadd-sales-order / update-sales-order / get-sales-order / list-sales-orders / submit-sales-order / cancel-sales-orderSales orderscreate-delivery-note / get-delivery-note / list-delivery-notes / submit-delivery-note / cancel-delivery-noteDeliverycreate-sales-invoice / update-sales-invoice / get-sales-invoice / list-sales-invoices / submit-sales-invoice / cancel-sales-invoiceInvoicingcreate-credit-note / update-invoice-outstandingCredit notesadd-sales-partner / list-sales-partnersSales partnersadd-recurring-invoice-template / update-recurring-invoice-template / list-recurring-invoice-templates / generate-recurring-invoicesRecurring invoicesimport-customersCSV importadd-intercompany-account-map / list-intercompany-account-maps / create-intercompany-invoice / list-intercompany-invoices / cancel-intercompany-invoiceIntercompany

### Buying / Procure-to-Pay (36 actions)

ActionDescriptionadd-supplier / update-supplier / get-supplier / list-suppliersSupplier CRUDadd-material-request / submit-material-request / list-material-requestsMaterial requestsadd-rfq / submit-rfq / list-rfqsRFQsadd-supplier-quotation / list-supplier-quotations / compare-supplier-quotationsSupplier quotesadd-purchase-order / update-purchase-order / get-purchase-order / list-purchase-orders / submit-purchase-order / cancel-purchase-orderPurchase orderscreate-purchase-receipt / get-purchase-receipt / list-purchase-receipts / submit-purchase-receipt / cancel-purchase-receiptReceiptscreate-purchase-invoice / update-purchase-invoice / get-purchase-invoice / list-purchase-invoices / submit-purchase-invoice / cancel-purchase-invoicePurchase invoicescreate-debit-note / update-purchase-outstanding / add-landed-cost-voucherAdjustmentsimport-suppliersCSV import

### Inventory (38 actions)

ActionDescriptionadd-item / update-item / get-item / list-itemsItem masteradd-item-group / list-item-groupsItem groupsadd-warehouse / update-warehouse / list-warehousesWarehousesadd-stock-entry / get-stock-entry / list-stock-entries / submit-stock-entry / cancel-stock-entryStock entriescreate-stock-ledger-entries / reverse-stock-ledger-entriesStock ledgerget-stock-balance / stock-balance-report / stock-ledger-reportStock reportsadd-batch / list-batches / add-serial-number / list-serial-numbersBatch & serial trackingadd-price-list / add-item-price / get-item-price / add-pricing-rulePricingadd-stock-reconciliation / submit-stock-reconciliationReconciliationrevalue-stock / list-stock-revaluations / get-stock-revaluation / cancel-stock-revaluationRevaluationcheck-reorder / import-itemsUtilities

### Billing & Metering (22 actions)

ActionDescriptionadd-meter / update-meter / get-meter / list-metersMeter CRUDadd-meter-reading / list-meter-readingsReadingsadd-usage-event / add-usage-events-batchUsage trackingadd-rate-plan / update-rate-plan / get-rate-plan / list-rate-plans / rate-consumptionRate planscreate-billing-period / run-billing / generate-invoicesBilling cyclesadd-billing-adjustment / list-billing-periods / get-billing-periodAdjustmentsadd-prepaid-credit / get-prepaid-balancePrepaid credits

### Advanced Accounting (46 actions)

ActionDescriptionadd-revenue-contract / calculate-revenue-schedule / generate-revenue-entriesASC 606 revenue recognitionadd-performance-obligation / satisfy-performance-obligation / add-variable-considerationPerformance obligations & variable considerationadd-lease / classify-lease / calculate-rou-asset / calculate-lease-liabilityASC 842 lease accountinggenerate-amortization-schedule / record-lease-payment / lease-maturity-reportLease amortization & reportsadd-ic-transaction / approve-ic-transaction / post-ic-transaction / add-transfer-price-ruleIntercompany transactionsadd-consolidation-group / run-consolidation / generate-elimination-entriesMulti-entity consolidationrevenue-waterfall-report / consolidation-trial-balance-report / standards-compliance-dashboardAdvanced reports

### HR & Payroll (50 actions)

ActionDescriptionadd-employee / update-employee / get-employee / list-employeesEmployee CRUDadd-department / list-departments / add-designation / list-designationsOrg structureadd-leave-type / add-leave-allocation / add-leave-application / approve-leave / reject-leaveLeave managementmark-attendance / bulk-mark-attendance / add-holiday-listAttendanceadd-expense-claim / submit-expense-claim / approve-expense-claimExpensesadd-salary-structure / add-salary-assignment / add-income-tax-slab / update-fica-configPayroll configcreate-payroll-run / generate-salary-slips / submit-payroll-run / cancel-payroll-runPayroll processinggenerate-w2-data / add-garnishment / list-garnishments / payroll-statusW-2 & garnishments

### Module Management & OS (23 actions)

ActionDescriptioninstall-moduleInstall a module from GitHub (--module-name <name>)remove-moduleRemove an installed module (--module-name <name>)update-modulesUpdate all or a specific modulelist-modules / available-modules / search-modules / module-statusBrowse and search module catalogrebuild-action-cache / list-all-actionsRefresh available actions after module changeslist-profiles / onboardBrowse business profiles, auto-install for a business typevalidate-module / generate-module / configure-module / deploy-moduleOS: Module lifecycle (validate, generate, configure, deploy)install-suite / classify-operation / run-audit / compliance-weather-statusOS: Suite install, tier classification, auditschema-plan / schema-apply / schema-rollback / schema-drift / deploy-audit-logOS: Schema migration & deploy audit

### Quick Command Reference

User SaysAction"Set up my company"setup-company"Create an invoice"create-sales-invoice → submit-sales-invoice"Record a payment"add-payment → submit-payment"I run a dental practice"setup-company --industry dental (confirm first, then installs modules)"I'm in India"setup-company --country IN (confirm first, then installs regional module)"Set up for retail"onboard --profile retail (confirm first)"What actions are available?"list-all-actions"Run payroll"create-payroll-run → generate-salary-slips → submit-payroll-run

Always confirm with user before running: setup-company (with --industry or --country), onboard, install-module, remove-module, update-modules, submit-*, cancel-*, approve-*, reject-*, run-elimination, run-consolidation, restore-database, close-fiscal-year, initialize-database --force. All add-*, get-*, list-*, update-* run immediately.

### Technical Details (Tier 3)

Router: scripts/db_query.py → 14 core domains + erpclaw-os. Modules from GitHub to ~/.openclaw/erpclaw/modules/. Single SQLite DB (WAL mode). 159 tables, Money=TEXT(Decimal), IDs=TEXT(UUID4), GL immutable. Python 3.10+.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: mailnike
- Version: 3.1.8
## Source health
- Status: unstable
- Item is unstable.
- This item is timing out or returning errors right now. Review the source page and try again later.
- Health scope: item
- Reason: timeout
- Checked at: 2026-05-01T06:12:07.680Z
- Expires at: 2026-05-01T18:12:07.680Z
- Recommended action: Review source status
## Links
- [Detail page](https://openagent3.xyz/skills/erpclaw)
- [Send to Agent page](https://openagent3.xyz/skills/erpclaw/agent)
- [JSON manifest](https://openagent3.xyz/skills/erpclaw/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/erpclaw/agent.md)
- [Download page](https://openagent3.xyz/downloads/erpclaw)