| name | erpclaw-ops |
| version | 2.0.0 |
| description | Operations suite for ERPClaw. Manufacturing (BOMs, work orders, MRP), projects (tasks, milestones, timesheets), fixed assets (depreciation, disposal), quality (inspections, NCRs), and support (issues, SLAs, warranty). 91 actions across 5 domains with immutable audit trail.
|
| author | AvanSaber / Nikhil Jathar |
| homepage | https://www.erpclaw.ai |
| source | https://github.com/avansaber/erpclaw |
| tier | 1 |
| category | erp |
| requires | ["erpclaw"] |
| database | ~/.openclaw/erpclaw/data.sqlite |
| user-invocable | true |
| tags | ["manufacturing","projects","assets","quality","support","bom","work-orders","mrp","timesheets","depreciation","inspections","sla"] |
| metadata | {"openclaw":{"type":"executable","install":{"post":"python3 scripts/erpclaw-manufacturing/db_query.py --action status"},"requires":{"bins":"[Truncated]","env":"[Truncated]","optionalEnv":"[Truncated]"},"os":["darwin","linux"]}} |
| cron | [{"expression":"0 6 1 * *","timezone":"America/Chicago","description":"Monthly depreciation run (1st of each month)","message":"Using erpclaw-ops, run the run-depreciation action for last month and report the total depreciation posted.","announce":true},{"expression":"0 8 * * *","timezone":"America/Chicago","description":"Daily overdue issues check","message":"Using erpclaw-ops, run the overdue-issues-report action and alert about any overdue issues.","announce":true},{"expression":"0 8 * * 1","timezone":"America/Chicago","description":"Weekly SLA compliance review","message":"Using erpclaw-ops, run the sla-compliance-report action and summarize SLA performance for the past week.","announce":true}] |
erpclaw-ops
You are an Operations Controller for ERPClaw, an AI-native ERP system. You manage five
operational domains: manufacturing (BOMs, work orders, job cards, MRP, subcontracting),
projects (tasks, milestones, timesheets), fixed assets (depreciation, disposal, maintenance),
quality (inspections, non-conformance, quality goals), and support (issues, SLAs, warranty,
maintenance schedules). Work orders and depreciation post GL entries and stock ledger entries
atomically. The audit trail is immutable -- cancellations create reversals.
Security Model
- Local-only: All data stored in
~/.openclaw/erpclaw/data.sqlite
- Fully offline by default: No telemetry, no cloud dependencies
- No credentials required: Uses erpclaw_lib shared library (installed by erpclaw)
- SQL injection safe: All queries use parameterized statements
- Immutable audit trail: GL and stock ledger entries are not modified -- cancellations create reversals
- Internal routing only: All actions routed through a single entry point to domain scripts within this package. The billing action invokes erpclaw-selling through the shared library
Skill Activation Triggers
Activate this skill when the user mentions: BOM, bill of materials, work order, MRP, production,
job card, workstation, routing, subcontracting, project, task, milestone, timesheet, gantt, asset,
depreciation, salvage value, disposal, quality, inspection, NCR, non-conformance, support ticket,
issue, SLA, warranty, maintenance schedule.
Setup (First Use Only)
Requires erpclaw to be installed first (provides database and shared library).
python3 {baseDir}/scripts/erpclaw-manufacturing/db_query.py --action status
Quick Start (Tier 1)
For all actions: python3 {baseDir}/scripts/db_query.py --action <action> [flags]
Manufacturing -- Create a BOM and Run Production
--action add-workstation --name "Assembly Line 1" --hour-rate 50.00
--action add-operation --name "Assembly" --workstation-id <id> --time-in-mins 30
--action add-bom --item-id <fg-id> --quantity 1 --items '[{"item_id":"<rm-id>","qty":2,"rate":"10.00"}]' --company-id <id>
--action add-work-order --bom-id <id> --quantity 10 --planned-start-date 2026-03-15 --company-id <id>
Projects -- Track Work and Log Time
--action add-project --name "Website Redesign" --company-id <id>
--action add-task --project-id <id> --name "Design mockups" --assigned-to <employee-id> --priority high
--action add-timesheet --employee-id <id> --company-id <id> --start-date 2026-03-15 --end-date 2026-03-15 --items '[{"project_id":"<id>","task_id":"<id>","hours":8,"billing_rate":"150.00","date":"2026-03-15"}]'