frappe-new-site

frappe-new-site is a command for Claude Code from Venkateshvenki404224/frappe-apps-manager. It costs 12 tokens per session (1,929 once invoked), scanned B, original, MIT.

A Frappe site creation command sets up a new site, including its database, administrator account, configuration, and optional demo data. In Frappe, a site is an individual application installation with its own data.

In plain words
What is it for?
Use it to create a local or hosted Frappe site, configure database access, set the administrator password, check required services, and optionally add demo data.
Why use it?
It replaces a long series of environment and service checks with one guided setup process. It also checks for common problems such as an existing site or unavailable database services.

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 create a local or hosted Frappe site, configure database access, set the administrator password, check required services, and optionally add demo data.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/venkateshvenki404224/frappe-apps-manager/frappe-new-site"><img src="https://agentmods.dev/badge/commands/venkateshvenki404224/frappe-apps-manager/frappe-new-site.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,929 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.00012 $0.01929
Opus 5 $0.00006 $0.00964
Sonnet 5 $0.00002 $0.00386
Haiku 4.5 $0.00001 $0.00193

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

Security

Grade B, and why

frappe-new-site 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.

- Start Redis: `sudo systemctl start redis-server`
frappe-apps-manager/commands/frappe-new-site.md · 263 lines

How it starts

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

Frappe New Site Command

Create a new Frappe site with proper database configuration, admin user setup, and initial app installation.

Steps to Execute

1. Verify Bench Environment

  • Check if current directory is a valid Frappe bench
  • Look for sites/common_site_config.json file
  • Verify bench command is available
  • If not in bench directory, ask user for bench path

2. Gather Site Details

Ask the user for the following information:

  • Site name (e.g., mysite.local, dev.example.com)
    • Must be a valid domain format
    • Will be used to access the site
  • Database name (optional, defaults to site name with special chars removed)
  • MariaDB/PostgreSQL root password (for database creation)
  • Admin password (for Administrator user)
    • Suggest strong password or offer to generate one
  • Install demo data? (yes/no)

3. Pre-creation Checks

Before creating the site:

  • Check if site name already exists in sites/ directory
  • Verify database connectivity (test root password)
  • Check disk space (warn if < 1GB free)
  • Verify required services are running:
    • MySQL/MariaDB or PostgreSQL
    • Redis (both cache and queue)

4. Create the Site

Execute the site creation command with appropriate flags:

bench new-site [site-name] \
  --admin-password [password] \
  --mariadb-root-password [root-password] \
  [--db-name [custom-db-name]] \
  [--install-app erpnext] \
  [--verbose]

Options to consider:

  • --db-name: Custom database name if specified
  • --db-type postgres: If using PostgreSQL instead of MariaDB
  • --install-app: Install specific apps during creation
  • --verbose: Show detailed output
  • --source_sql: Import from SQL file (for cloning)

5. Verify Site Creation

After creation, verify:

  • Site directory exists at sites/[site-name]/
  • Check for essential files:
    • sites/[site-name]/site_config.json
    • sites/[site-name]/private/backups/
    • sites/[site-name]/public/files/
  • Database was created successfully
  • Administrator user exists and can login

Read the full file on GitHub · 263 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 · 263 lines · 12 tokens per session scan B 0079bb6950ab

Subscribe to this mod's changes

frappe-new-site is a command published in the GitHub repository Venkateshvenki404224/frappe-apps-manager (27 stars, last pushed 3mo ago), licensed MIT. It adds 12 tokens to every session and 1,929 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.