MPNext: Instructions file for Claude Code

CLAUDE.md

MPNext CLAUDE.md is an instructions file for Claude Code from MinistryPlatform-Community/MPNext. It costs 6,329 tokens per session, scanned A, original, MIT.

A set of instructions for Claude Code when developing MPNext, an open-source project for MinistryPlatform-Community. It covers development commands, data-safety rules, dependency changes, and generated type information.

In plain words
What is it for?
Use it when making or reviewing MPNext code changes, running its commands, changing dependencies, or working with generated types.
Why use it?
It explains the project-specific rules Claude Code must follow, including mandatory data-safety and dependency practices. This reduces the chance of changes that conflict with the repository's requirements.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions subagents.

This is MinistryPlatform-Community/MPNext's own configuration. It tells Claude Code how to work on MPNext itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything MPNext configures →

Reuse

Borrowing it

Nothing to install: this file belongs to MinistryPlatform-Community/MPNext. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/MinistryPlatform-Community/MPNext/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/MinistryPlatform-Community/MPNext

Made for: Claude Code.

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 MPNext CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ministryplatform-community/mpnext/claude-md/github.svg)](https://agentmods.dev/instructions/ministryplatform-community/mpnext/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/ministryplatform-community/mpnext/claude-md"><img src="https://agentmods.dev/badge/instructions/ministryplatform-community/mpnext/claude-md/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 MPNext CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ministryplatform-community/mpnext/claude-md"><img src="https://agentmods.dev/badge/instructions/ministryplatform-community/mpnext/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,329 This file is loaded in full into every session.
When invoked 6,329 The same file — it is already loaded in full.
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.06329 $0.06329
Opus 5.5 $0.02532 $0.02532
Sonnet 5.5 $0.01266 $0.01266
Haiku 4.5 $0.00633 $0.00633

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

Security

Grade A, and why

MPNext CLAUDE.md 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 28d 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.

CLAUDE.md · 297 lines

How it starts

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

CLAUDE.md - MPNext Development Guide

This guide provides essential information for AI assistants (like Claude) working on the MPNext project.

Ministry Platform Data Safety — MANDATORY

NEVER delete, update, or create records in Ministry Platform without explicit user confirmation first. No exceptions. No agents. No scripts. No "cleanup" operations. No "it's just one record." No "it's obviously safe."

Ministry Platform is a shared production database containing real church member data — contacts, communications, subscriptions, donations, groups, events. Unauthorized writes can affect thousands of people.

Before ANY write operation (DELETE, UPDATE, INSERT, or any API call that modifies data — including deleteTableRecords, updateTableRecords, createTableRecords, stored procedures that mutate state, or any HTTP POST/PUT/DELETE to the MP API):

  1. Stop. Do not execute the operation.
  2. Show the user exactly what will be affected: the table name, the record IDs, the fields that will change, and the old → new values where applicable.
  3. Wait for the user to explicitly say yes before proceeding.
  4. If the user says no, do not retry or suggest alternatives unless asked.

Read-only operations are always fine — SELECT queries, GET requests, getTableRecords calls. Only writes require confirmation.

This rule applies to:

  • The main agent
  • All subagents and background agents
  • All general-purpose, Explore, and Plan agents
  • All one-off scripts (e.g., npx tsx scripts)
  • All automated cleanup, migration, or fix operations
  • All hooks and scheduled tasks

There are zero exceptions. If you think "this is obviously safe and I don't need to ask," you are wrong. Ask anyway.

Commands

  • Dev: npm run dev (Next.js dev server)
  • Build: npm run build (production build with Turbopack, runs type checking)
  • Lint: npm run lint (ESLint CLI — next lint was removed in Next.js 16)
  • Generate MP Types: npm run mp:generate:models (generates TypeScript types + Zod schemas from Ministry Platform API, cleans output directory first)
  • Generate MP Types (custom): npm run mp:generate (same generator, no preset flags — pass your own)
  • Generate MP Stored Procs: npm run mp:generate:storedprocs (regenerates .claude/references/ministryplatform.storedprocs.md)
  • Tests: npm test (Vitest in watch mode), npm run test:run (single run), npm run test:coverage (with coverage — thresholds are enforced, see Testing), npm run test:scripts (only the scripts/ project)
  • Prerender check: npm run build:check-prerender (after npm run build; fails if any route other than /_not-found and /_global-error was prerendered — a nonce-less static page breaks under the CSP)
  • Setup: npm run setup (interactive project setup wizard), npm run setup:check (validate setup without changes)
  • Dependencies: npm run deps:relock (regenerate package-lock.json — the only supported way), npm run deps:verify (check it for platform drift)

Read the full file on GitHub · 297 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. 28d ago Changed · +16 lines · +1,071 tokens per session 6ad9a535a519
  2. 29d ago Changed · +3 lines · +235 tokens per session 05c80f05b779
  3. 1mo ago Changed · +23 lines · +1,445 tokens per session cc75f7ed2e51
  4. 1mo ago First seen · 255 lines · 3,578 tokens per session scan A 1625aa33ff45

Subscribe to this mod's changes

MPNext CLAUDE.md is an instructions file published in the GitHub repository MinistryPlatform-Community/MPNext (14 stars, last pushed 7d ago), licensed MIT. It adds 6,329 tokens to every session, about $0.0253 per session on Opus 5.5. 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-08-30.

Related

Other instructions, from other repositories