operating-frappe-on-kubernetes

operating-frappe-on-kubernetes is a skill for Claude Code, Codex from Smirnov-Labs/claude-skills. It costs 0 tokens per session (1,408 once invoked), scanned A, original, MIT.

An operations guide for running, upgrading, and debugging Frappe or ERPNext on Kubernetes. Kubernetes is a system for running applications in containers across a cluster, while Frappe and ERPNext are web application platforms.

In plain words
What is it for?
Use it to bootstrap sites, run migrations and major upgrades, troubleshoot Helm and ArgoCD deployments, inspect application health, and handle MariaDB, Redis or Valkey, and persistent storage issues.
Why use it?
It helps diagnose configuration, upgrade, storage, database, cache, email, PDF, and permissions problems in this deployment setup. It also explains which configuration and data locations take precedence.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to bootstrap sites, run migrations and major upgrades, troubleshoot Helm and ArgoCD deployments, inspect application health, and handle MariaDB, Redis or Valkey, and persistent storage issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/smirnov-labs/claude-skills/operating-frappe-on-kubernetes
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Smirnov-Labs/claude-skills --skill operating-frappe-on-kubernetes
Clone the repo
git clone --depth 1 https://github.com/Smirnov-Labs/claude-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for operating-frappe-on-kubernetes

README.md
[![agentmods](https://agentmods.dev/badge/skills/smirnov-labs/claude-skills/operating-frappe-on-kubernetes/github.svg)](https://agentmods.dev/skills/smirnov-labs/claude-skills/operating-frappe-on-kubernetes)
Your own site
<a href="https://agentmods.dev/skills/smirnov-labs/claude-skills/operating-frappe-on-kubernetes"><img src="https://agentmods.dev/badge/skills/smirnov-labs/claude-skills/operating-frappe-on-kubernetes/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for operating-frappe-on-kubernetes

Your own site · 80×15
<a href="https://agentmods.dev/skills/smirnov-labs/claude-skills/operating-frappe-on-kubernetes"><img src="https://agentmods.dev/badge/skills/smirnov-labs/claude-skills/operating-frappe-on-kubernetes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,408 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01408
Opus 5.5 $0.00000 $0.00563
Sonnet 5.5 $0.00000 $0.00282
Haiku 4.5 $0.00000 $0.00141

Measured 3d ago against content hash 125615078d2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

operating-frappe-on-kubernetes scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/operating-frappe-on-kubernetes/SKILL.md · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Operating Frappe / ERPNext on Kubernetes

The manual for keeping a Frappe / ERPNext instance alive on a Kubernetes cluster — platform config, major-version upgrades, and instance debugging. This is the platform & health layer; ledger data and reports (GL/JE writes, dashboards) are out of scope. Keep your instance's own facts (site name, namespace, companies) in a project skill in the repo that deploys it.

When to use

  • Standing up the first site on a fresh deploy (greenfield bootstrap — bench new-site).
  • A bench migrate / major-version upgrade (v15→v16) or a Helm chart bump.
  • Config that "won't take" (chromium_path, host_name, server_script_enabled, maintenance flags).
  • Debugging Error Logs, email/SMTP, PDF/chromium, or "permission-locked" financial reports.
  • Any direct MariaDB access (dumps, raw SQL) below the bench layer.

The deployment shape

A typical deploy: a Frappe/ERPNext Helm chart under ArgoCD rendering gunicorn (web), nginx, scheduler, and worker pods; external MariaDB and Redis/Valkey (not the chart's bundled ones); and two PVCs — the MariaDB data volume and the Frappe sites volume. You reach the app through the gunicorn pod's bench.

Reaching bench

Run Python against the live site by copying a script into a gunicorn pod and exec-ing it in the bench console. Look the pod up every time; its name changes on every redeploy.

NS=<namespace>; SITE=<site-name>
POD=$(kubectl -n $NS get pods -l 'app.kubernetes.io/component=gunicorn' \
      -o jsonpath='{.items[0].metadata.name}')
kubectl -n $NS cp /tmp/x.py $POD:/tmp/x.py
kubectl -n $NS exec -i $POD -- \
  bench --site $SITE console <<< "exec(open('/tmp/x.py').read(), {})" \
  2>&1 | tr '\n' ' ' | grep -o 'MARK{.*}' | sed 's/^MARK//'
  • Start the script with import frappe, json and frappe.set_user("Administrator").
  • Print one line of JSON behind a unique marker, print("MARK" + json.dumps(out, default=str)), and grep for it without a ^ anchor: the console echoes In [N]: prompts mid-line.
  • Never pipe multi-block Python in inline. A heredoc's blank lines make the IPython console silently skip if / for / def bodies. cp the file in; inline <<< is only safe for a few flat statements.
  • Pass an explicit globals dict (exec(..., {})) so names don't leak between runs.

Read the full file on GitHub · 93 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed 125615078d2a
  2. 5d ago First seen · 93 lines · 0 tokens per session scan A c33a7fbf2af8

Subscribe to this mod's changes

operating-frappe-on-kubernetes is a skill published in the GitHub repository Smirnov-Labs/claude-skills (6 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,408 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-17.

Related

Other skills, from other repositories

deployment

Deploy Memoria with Docker Compose or Kubernetes. Environment variables, multi-instance setup, security. Use when deploying or configuring Memoria.

matrixorigin/memoria · 28 tokens

polar-local-environment

This skill should be used when setting up or managing Polar local development environment with Docker.

fcakyon/claude-codex-settings · 22 tokens

postgres-container-ops

PostgreSQL container operations for the docker instance: volume persistence audit (PGDATA layout and the PG18 version-specific data-directory change), /dev/shm sizing (shmsize), pgisready healthcheck tuning, minor-version pin policy (16-alpine to explicit 16.x-alpine), the major-version upgrade runbook (pgupgrade…

fmflurry/settings-opencode · 151 tokens

postgres-health-check

Read-only PostgreSQL instance health battery: connectivity/uptime, cache hit ratio, dead tuples & autovacuum hotspots, XID wraparound distance, long-running & idle-in-transaction sessions, unused indexes, checkpoint stats, archiver health, connection count vs maxconnections, and docker container/volume checks. Use…

fmflurry/settings-opencode · 118 tokens

postgres-performance-tuning

PostgreSQL performance tuning for the docker instance: memory sizing vs the 1g memlimit (sharedbuffers, effectivecachesize, workmem math), checkpoint tuning (maxwalsize, checkpointcompletiontarget, pgstatcheckpointer), pgstatstatements enablement via compose, slow-query triage, EXPLAIN (ANALYZE, BUFFERS)…

fmflurry/settings-opencode · 160 tokens

postgres-backup-restore

PostgreSQL backup & restore playbook for the docker instance: pgdump/pgdumpall recipes, WAL archiving + PITR setup (archivemode, archivecommand, recovery.signal, recoverytargettime, timelines), restore drills, and the PG16 no-incremental-backup constraint. Use when asked about backup, restore, PITR, pgdump…

fmflurry/settings-opencode · 113 tokens