LaunchKit · 2026
Back to Skills

CLI for Frappe Framework / ERPNext instances.

1
1.9k downloads
by @pasogott

Setup & Installation

openclaw skills install @pasogott/frappecli

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install frappecli

Version History

v0.1.1Jan 8, 2026 - Version note by skill developer:

Added description in frontmatter

What This Skill Does

frappecli is a command-line tool for managing Frappe Framework and ERPNext instances via REST API. It supports full document CRUD, file uploads and downloads, report generation, and calling custom RPC methods across multiple configured sites.

Automating Frappe document operations from the terminal avoids manual UI steps and enables scripting bulk exports, updates, and report generation in CI or cron jobs.

When to use it

  • Exporting filtered customer records to CSV for offline analysis
  • Uploading invoice PDFs directly to a Sales Invoice document
  • Running an Accounts Receivable report and saving it as a file
  • Calling a custom backend RPC method during a deployment script
  • Switching between staging and production ERPNext sites without changing credentials

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: export all active customers from the production site to a CSV

AGENT
  1. 1Check ~/.config/frappecli/config.yaml to confirm production site is set as default
  2. 2Run frappecli doc list Customer --filters '{"status":"Active"}' --format csv
  3. 3Redirect output to customers.csv
  4. 4Confirm row count with wc -l customers.csv
OUTPUT

customers.csv file containing all active customer records from the ERPNext production instance

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Frappe or ERPNext site URLAPI key and API secret generated from Frappe user settings (Settings > API Access)