erpnext-frappePre-defined business workflows combining multiple MCP tools for CRM, sales, purchase, inventory, project, payments, and utility tasks in ERPNext.
Install via ClawdBot CLI:
clawdbot install Ravana-indus/erpnext-frappeHigh-level business workflows that combine multiple MCP tools into reusable, executable skills for ERPNext.
Skills are pre-defined workflows stored as JSON files in definitions/. Each skill defines:
| Skill | Description | Category |
|-------|-------------|----------|
| create_customer | Create a new customer with contact and address | crm |
| create_lead | Register a new lead | crm |
| create_supplier | Add a new supplier | crm |
| Skill | Description | Category |
|-------|-------------|----------|
| create_sales_order | Create a sales order | sales |
| create_quotation | Create a quotation | sales |
| create_invoice | Generate sales invoice | sales |
| complete_sales_workflow | Full Quotation → SO → Invoice → Payment | sales |
| Skill | Description | Category |
|-------|-------------|----------|
| create_purchase_order | Create a purchase order | purchase |
| Skill | Description | Category |
|-------|-------------|----------|
| create_item | Create new item in inventory | inventory |
| stock_entry | Record stock movements | inventory |
| Skill | Description | Category |
|-------|-------------|----------|
| create_project | Create a new project | project |
| Skill | Description | Category |
|-------|-------------|----------|
| process_payment | Record payment entry | payments |
| Skill | Description | Category |
|-------|-------------|----------|
| search_records | Search across DocTypes | utility |
| bulk_operation | Bulk create/update/delete | utility |
| generic_task | Flexible multi-step workflow | utility |
from bc_skills import get_available_skills, load_skill
# List all available skills
skills = get_available_skills()
print(skills) # ['create_customer', 'create_sales_order', ...]
# Load a specific skill
skill = load_skill("create_customer")
from bc_skills.loader import execute_skill
result = execute_skill(
name="create_customer",
context={
"customer_name": "ACME Corp",
"customer_type": "Company",
"customer_group": "Commercial",
"email": "contact@acme.com"
},
user="Administrator"
)
print(result)
Skills respond to natural language triggers:
| Trigger Phrase | Skill |
|----------------|-------|
| "create customer" | create_customer |
| "add customer" | create_customer |
| "new customer" | create_customer |
| "complete sales workflow" | complete_sales_workflow |
| "full sales process" | complete_sales_workflow |
| "process order to payment" | complete_sales_workflow |
| "create sales order" | create_sales_order |
| "generate invoice" | create_invoice |
{
"name": "skill_name",
"version": "1.0.0",
"description": "What the skill does",
"author": "Business Claw Team",
"category": "crm|sales|purchase|inventory|project|payments|utility",
"triggers": [
"trigger phrase 1",
"trigger phrase 2"
],
"tools": [
{
"name": "tool_name",
"description": "What it does",
"required": true
}
],
"input_schema": {
"type": "object",
"properties": {
"param_name": {
"type": "string",
"description": "Parameter description",
"enum": ["option1", "option2"]
}
},
"required": ["required_param"]
},
"workflow": {
"steps": [
{
"step": "step_name",
"tool": "tool_to_call",
"arguments": {
"doctype": "DocType",
"data": {
"field": "${variable}"
}
}
}
]
},
"guardrails": {
"rule_name": true
},
"output_template": "Formatted output {{variable}}"
}
Workflow steps support ${variable} substitution from execution context:
{
"step": "create_order",
"tool": "create_document",
"arguments": {
"doctype": "Sales Order",
"data": {
"customer": "${customer_id}",
"items": "${items}"
}
}
}
definitions/SkillLoader to load and executeExample custom skill structure:
{
"name": "my_custom_skill",
"version": "1.0.0",
"description": "My custom workflow",
"category": "utility",
"triggers": ["my trigger"],
"tools": [
{"name": "get_doctype_meta", "required": true},
{"name": "create_document", "required": true}
],
"input_schema": {
"type": "object",
"properties": {
"param1": {"type": "string"}
},
"required": ["param1"]
},
"workflow": {
"steps": [
{
"step": "step1",
"tool": "get_doctype_meta",
"arguments": {"doctype": "Item"}
}
]
},
"output_template": "Result: {{result}}"
}
loader.py - SkillLoader class manages skill loading and executiondefinitions/ - JSON files containing skill definitionsToolRouter to execute MCP tools in sequencebc_mcp module for tool routingMIT
Generated Feb 23, 2026
A new e-commerce business needs to set up its ERP system quickly. Using the create_customer and create_item skills, they can automate the entry of initial customer data and product catalog. This reduces manual data entry errors and accelerates the go-live process for online sales.
A manufacturing company is expanding its supplier network and inventory management. They use create_supplier and create_purchase_order skills to onboard new vendors and generate purchase orders for raw materials. This streamlines procurement and ensures timely production schedules.
A marketing agency starts a new client project and needs to track deliverables and billing. They apply create_project and create_invoice skills to set up project details and generate invoices based on milestones. This improves project tracking and cash flow management.
A wholesale distributor handles high-volume sales and inventory movements. They utilize complete_sales_workflow and stock_entry skills to manage orders from quotation to payment and update stock levels. This enhances order accuracy and inventory visibility.
A tech startup needs to maintain clean financial records for investors. They use process_payment and search_records skills to record transactions and retrieve financial data for reporting. This ensures compliance and supports fundraising efforts.
A company offers ERP software as a service with recurring billing. Skills like create_invoice and process_payment automate invoicing and payment processing for monthly subscriptions. This reduces administrative overhead and improves revenue predictability.
A firm provides ERP customization and setup services for clients. They leverage generic_task and bulk_operation skills to configure workflows and migrate data efficiently. This allows scalable service delivery and faster client onboarding.
An online platform connects multiple sellers and buyers, managing transactions and logistics. Skills such as create_sales_order and create_customer handle order processing and user management. This supports high transaction volumes and enhances user experience.
💬 Integration Tip
Start by mapping common business processes to available skills, then use the input schema to define required parameters for seamless execution. Test with sample data to ensure workflow accuracy before full deployment.
Create jobs and transact with other specialised agents through the Agent Commerce Protocol (ACP) — extends the agent's action space by discovering and using agents on the marketplace, enables launching an agent token for fundraising and revenue, and supports registering service offerings to sell capabilities to other agents.
Write, structure, and update a business plan for a solopreneur. Use when creating a plan from scratch, updating an existing plan after a pivot or new phase, or preparing a plan to share with investors, partners, or even just to clarify your own strategy. Covers executive summary, market analysis, competitive positioning, revenue model, operations plan, financial projections, and risk assessment — all adapted for a one-person business. Trigger on "write a business plan", "business plan", "create my plan", "business plan template", "update my business plan", "plan for my business", "investor pitch plan".
Executive leadership guidance for strategic decision-making, organizational development, and stakeholder management. Includes strategy analyzer, financial scenario modeling, board governance frameworks, and investor relations playbooks. Use when planning strategy, preparing board presentations, managing investors, developing organizational culture, making executive decisions, or when user mentions CEO, strategic planning, board meetings, investor updates, organizational leadership, or executive strategy.
Strategic product leadership toolkit for Head of Product including OKR cascade generation, market analysis, vision setting, and team scaling. Use for strategic planning, goal alignment, competitive analysis, and organizational design.
B2B SaaS competitive intelligence with 24 scenarios across Sales/HR/Fintech/Ops Tech
Multi-agent war room for brainstorming, system design, architecture review, product specs, business strategy, or any complex problem. Use when a user wants to run a structured multi-agent session with specialist roles, when they mention "war room", when they need to brainstorm a project from scratch, design a system with multiple perspectives, stress-test decisions with a devil's advocate, or produce a comprehensive blueprint/spec. Works for software, hardware, content, business — any domain.