frappe-system-console

Installation
SKILL.md

Frappe System Console Code Writer

Write code that executes inside Frappe's System Console (/app/system-console), which runs through frappe.utils.safe_exec using RestrictedPython.

System Console specifics:

  • Only System Manager role can access
  • Output comes from print() and frappe.log() — shown in the output pane
  • The Commit checkbox controls whether changes are committed or rolled back after execution
  • frappe.db.commit() / frappe.db.rollback() / frappe.db.add_index() are available (unlike doc-event Server Scripts where they're removed)

Forbidden syntax

These cause immediate compile or runtime errors:

Blocked Why
import x / from x import y / from x import * All imports forbidden
exec() / eval() / compile() / open() / breakpoint() Dynamic code, I/O, debugging blocked
async def / await / async for / async with Async not allowed
Related skills
Installs
2
Repository
kehwar/skills
First Seen
Apr 18, 2026