frappe-insights

Installation
SKILL.md

Frappe Insights

A workbook is a set of documents: Insights Workbook, and inside it Insights Query v3 (a pipeline in operations), Insights Chart v3 (a config over one query) and Insights Dashboard v3 (charts and filters in items). Every step here is a document read or write, or a whitelisted method, so it works the same from the site's assistant, MCP or frappectl. This file is the procedure. reference/ is the contract.

With a shell and frappectl, read reference/cli.md first. examples/build_workbook.py in this skill's directory writes and verifies a workbook in one script.

This skill needs nothing installed on the site beyond Insights. It supports Insights 4 (develop) sites only. Section 1 checks the version.

Before you start

You act as the connected user, and you see what that user sees. Call frappe.auth.get_logged_user to learn who that is.

The site's MCP server refuses a user without the System User role: "MCP is only available to desk users". Many Insights users are Website Users. Such a user reaches Insights through frappectl instead. See reference/cli.md.

Every action on the site goes through these calls. Never read or write the site's files, database, logs or bench, even when the site runs on this machine. What a local path tells you does not hold on the site the workbook must run on.

Assume you do not have the Insights source, because most users do not. Nothing in this skill needs it. Every fact about the site is a call: its tables, its columns, its stored data, its function library. To know whether something exists, ask the site.

Below, "call <method> with {...}" names a whitelisted method and its arguments. The JSON is the arguments object.

Installs
1
Repository
frappe/insights
GitHub Stars
1.0K
First Seen
Oct 22, 2026