django-saas-boilerplate: Instructions file for Codex

AGENTS.md

django-saas-boilerplate AGENTS.md is an instructions file for Codex, OpenCode from eriktaveras/django-saas-boilerplate. It costs 647 tokens per session, scanned A, original, MIT.

Repository instructions for a Django SaaS starter, a Python web application template for subscription-based software, including its stack and common commands.

In plain words
What is it for?
Use it when developing or testing this Django project, especially for installation, automated tests, application checks, database migration checks, and linting.
Why use it?
It gives coding agents the project's framework versions, authentication and billing components, database setup, and required checks instead of making them infer the environment.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

This is eriktaveras/django-saas-boilerplate's own configuration. It tells Codex and OpenCode how to work on django-saas-boilerplate 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 django-saas-boilerplate configures →

Reuse

Borrowing it

Nothing to install: this file belongs to eriktaveras/django-saas-boilerplate. 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/eriktaveras/django-saas-boilerplate/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/eriktaveras/django-saas-boilerplate

Made for: Codex, OpenCode.

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 django-saas-boilerplate AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/eriktaveras/django-saas-boilerplate/agents-md/github.svg)](https://agentmods.dev/instructions/eriktaveras/django-saas-boilerplate/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/eriktaveras/django-saas-boilerplate/agents-md"><img src="https://agentmods.dev/badge/instructions/eriktaveras/django-saas-boilerplate/agents-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 django-saas-boilerplate AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/eriktaveras/django-saas-boilerplate/agents-md"><img src="https://agentmods.dev/badge/instructions/eriktaveras/django-saas-boilerplate/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 647 This file is loaded in full into every session.
When invoked 647 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.00647 $0.00647
Opus 5.5 $0.00259 $0.00259
Sonnet 5.5 $0.00129 $0.00129
Haiku 4.5 $0.00065 $0.00065

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

Security

Grade A, and why

django-saas-boilerplate AGENTS.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 5d 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.

AGENTS.md · 22 lines

How it starts

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

AGENTS.md · django-saas-boilerplate

Boilerplate open source (MIT) para montar un SaaS con Django 6.0. Incluye usuario personalizado que entra solo con email (allauth), suscripciones con Stripe (Payment Methods API y webhook firmado), dashboard de usuario con perfil, ajustes y API keys hasheadas, y páginas públicas (home, features, pricing). Usa la CSP nativa con nonces y las tareas @task de Django 6.0 con ejecución inmediata y síncrona.

Stack

Python 3.12+, Django 6.0 (>=6.0,<6.2), django-allauth, Stripe SDK 15.x, django-htmx, WhiteNoise, Gunicorn, dj-database-url (SQLite en dev / PostgreSQL en prod). El frontend son plantillas Django con Tailwind CSS (CDN), Alpine.js y HTMX.

Comandos

  • Instalar: uv venv venv --python 3.12 && uv pip install --python venv/bin/python -r requirements.txt (equivale a make install, que usa python3 -m venv + pip y necesita python3.12-venv instalado en el sistema).
  • Tests: DEBUG=True venv/bin/python manage.py test (o cp .env.example .env && make test).
  • Build: DEBUG=True venv/bin/python manage.py check && DEBUG=True venv/bin/python manage.py makemigrations --check --dry-run
  • Lint: venv/bin/ruff check . (make lint; para comprobar el formato: venv/bin/ruff format --check .).

Notas para agentes

No hay CI (.github/workflows ni .forgejo/workflows), ni Docker: la única verificación es local. El contexto principal está en CLAUDE.md. Todos los targets del Makefile usan ./venv. Sin SECRET_KEY y sin DEBUG=True, settings lanza ImproperlyConfigured, así que exporta DEBUG=True o copia .env.example a .env antes de ejecutar nada. Hay tests en apps//tests.py para accounts, dashboard, landing y subscriptions; los de Stripe usan mocks y no llaman a la red. El recuento de tests se mantiene solo en README.md, Local validation: si añades tests, actualiza ese recuento. Convenciones: vistas basadas en funciones con @login_required y @require_http_methods; URLs con namespace (landing:, dashboard:); para FKs usa settings.AUTH_USER_MODEL y para consultas get_user_model(). En plantillas, todo lleva nonce="{{ csp_nonce }}" y nada de handlers inline (onclick). Ruff: line-length 120, comillas simples, isort con apps/core como first-party. Las tareas van en apps/dashboard/tasks.py. requirements.txt tiene rangos fijados a propósito: no los abras. STRIPE_API_VERSION está fijada en core/settings.py.

Read the full file on GitHub · 22 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. 5d ago First seen · 22 lines · 647 tokens per session scan A ec7be5e69612

Subscribe to this mod's changes

django-saas-boilerplate AGENTS.md is an instructions file published in the GitHub repository eriktaveras/django-saas-boilerplate (251 stars, last pushed 6d ago), licensed MIT. It adds 647 tokens to every session, about $0.0026 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-11-01.

Related

django-saas-boilerplate AGENTS.md compared with instructions from other repositories

django-saas-boilerplate AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
django-saas-boilerplate AGENTS.mderiktaveras/django-saas-boilerplateInstructions file2516d agoMITA647Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode