frappe-config

frappe-config is a command for Claude Code from Venkateshvenki404224/frappe-apps-manager. It costs 14 tokens per session (2,618 once invoked), scanned B, original, MIT.

A configuration tool for Frappe sites, which are individual websites or applications managed inside a Frappe bench. It works with site settings, environment variables, and feature switches.

In plain words
What is it for?
Use it to view or configure database connections, Redis services, email delivery, logging, developer mode, and enabled features.
Why use it?
It keeps common application, database, email, Redis, and developer settings in one place instead of changing them manually across files and environments.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the frappe-apps-manager plugin — 16 skills, 16 commands, 3 hooks shipped together

Good fit Use it to view or configure database connections, Redis services, email delivery, logging, developer mode, and enabled features.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/venkateshvenki404224/frappe-apps-manager/frappe-config
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.

Clone the repo
git clone --depth 1 https://github.com/Venkateshvenki404224/frappe-apps-manager

Made for: Claude Code.

Or install frappe-apps-manager, the plugin that ships this one along with the rest of its 16 skills, 16 commands, 3 hooks.

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 frappe-config

README.md
[![agentmods](https://agentmods.dev/badge/commands/venkateshvenki404224/frappe-apps-manager/frappe-config/github.svg)](https://agentmods.dev/commands/venkateshvenki404224/frappe-apps-manager/frappe-config)
Your own site
<a href="https://agentmods.dev/commands/venkateshvenki404224/frappe-apps-manager/frappe-config"><img src="https://agentmods.dev/badge/commands/venkateshvenki404224/frappe-apps-manager/frappe-config/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 frappe-config

Your own site · 80×15
<a href="https://agentmods.dev/commands/venkateshvenki404224/frappe-apps-manager/frappe-config"><img src="https://agentmods.dev/badge/commands/venkateshvenki404224/frappe-apps-manager/frappe-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,618 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00014 $0.02618
Opus 5 $0.00007 $0.01309
Sonnet 5 $0.00003 $0.00524
Haiku 4.5 $0.00001 $0.00262

Measured 12d ago against content hash 565956d914ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

frappe-config scanned grade B with 1 finding 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 12d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo chown frappe:frappe sites/[site-name]/site_config.json
frappe-apps-manager/commands/frappe-config.md · 433 lines

How it starts

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

Frappe Config Command

Manage Frappe site configuration including site_config.json settings, environment variables, and feature flags.

Steps to Execute

1. Verify Environment

  • Check if in valid Frappe bench
  • Verify site exists
  • Check site_config.json file exists

2. Configuration Operation Selection

Ask user what they want to configure:

A. View Current Config

  • Display site_config.json
  • Show environment variables
  • List feature flags

B. Database Settings

  • Configure MariaDB/PostgreSQL
  • Set connection parameters
  • Configure read replicas

C. Redis Settings

  • Configure cache Redis
  • Configure queue Redis
  • Configure socketio Redis

D. Email Settings

  • SMTP configuration
  • Email accounts
  • Outgoing email settings

E. Developer Settings

  • Developer mode
  • Debug mode
  • Logging levels

F. Feature Flags

  • Enable/disable features
  • Experimental features
  • Module toggles

3. View Configuration

Display site_config.json:

cat sites/[site-name]/site_config.json | jq .

Get Specific Config:

bench --site [site-name] console
>>> frappe.conf.get('db_name')
>>> frappe.conf.get('developer_mode')

List All Configs:

import json
print(json.dumps(frappe.conf, indent=2))

4. Set Configuration Values

Set Single Value:

bench --site [site-name] set-config [key] [value]

Examples:

# Enable developer mode
bench --site [site-name] set-config developer_mode 1

# Set session timeout
bench --site [site-name] set-config session_timeout 3600

# Set file size limit
bench --site [site-name] set-config max_file_size 10485760

Set Multiple Values:

# Via console
config_updates = {
    'developer_mode': 1,
    'allow_tests': 1,
    'log_queries': 1
}

for key, value in config_updates.items():
    frappe.db.set_value('Website Settings', None, key, value)

frappe.db.commit()

5. Database Configuration

Database Settings:

{
  "db_name": "site_db",
  "db_host": "localhost",
  "db_port": 3306,
  "db_type": "mariadb",
  "db_socket": "/var/run/mysqld/mysqld.sock"
}

Read the full file on GitHub · 433 lines

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. 12d ago First seen · 433 lines · 14 tokens per session scan B 565956d914ee

Subscribe to this mod's changes

frappe-config is a command published in the GitHub repository Venkateshvenki404224/frappe-apps-manager (27 stars, last pushed 3mo ago), licensed MIT. It adds 14 tokens to every session and 2,618 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.