nextjs-expo-saas-starter CLAUDE.md

nextjs-expo-saas-starter CLAUDE.md is an instructions file for coding agents from brainbytes-dev/nextjs-expo-saas-starter. It costs 2,183 tokens per session, scanned A, original, MIT.

Repository guidance for a SaaS monorepo containing a Next.js web app, an Expo mobile app, and shared packages. A monorepo keeps several related applications and libraries in one repository, while Turborepo and pnpm coordinate them.

In plain words
What is it for?
Use it when changing the web or mobile apps, shared packages, database schema, email templates, or repository-wide development commands.
Why use it?
It gives coding agents the project layout and the commands for building, testing, linting, type-checking, and managing the database. This reduces mistakes caused by running commands in the wrong package.

Instructions file

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.

agentmods
npx agentmods add instructions/brainbytes-dev/nextjs-expo-saas-starter/claude-md
Clone the repo
git clone --depth 1 https://github.com/brainbytes-dev/nextjs-expo-saas-starter

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 nextjs-expo-saas-starter CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/brainbytes-dev/nextjs-expo-saas-starter/claude-md.svg)](https://agentmods.dev/instructions/brainbytes-dev/nextjs-expo-saas-starter/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/brainbytes-dev/nextjs-expo-saas-starter/claude-md"><img src="https://agentmods.dev/badge/instructions/brainbytes-dev/nextjs-expo-saas-starter/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,183 This file is loaded in full into every session.
When invoked 2,183 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.02183 $0.02183
Opus 5 $0.01092 $0.01092
Sonnet 5 $0.00437 $0.00437
Haiku 4.5 $0.00218 $0.00218

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

Security

Grade A, and why

nextjs-expo-saas-starter 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 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.

CLAUDE.md · 180 lines

How it starts

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

CLAUDE.md

Project Overview

SaaS monorepo with a Next.js 16 web app and Expo React Native mobile app. Turborepo for orchestration, pnpm workspaces.

Monorepo Structure

apps/
  web/          Next.js 16 — shadcn/ui, Better-Auth, Stripe, Inngest
  mobile/       Expo Router — NativewindUI, RevenueCat, Better-Auth (HTTP)
packages/
  db/           @repo/db — Drizzle ORM + PostgreSQL schema
  email/        @repo/email — React Email templates (Resend)
  shadcn-ui/    @repo/shadcn-ui — Web UI components (Radix + Tailwind v4)
  nativewindui/ @repo/nativewindui — Mobile UI components (NativeWind)
  typescript-config/  Shared tsconfig presets
  eslint-config/      Shared ESLint rules

Commands

pnpm dev              # Start all apps (Turbo)
pnpm build            # Build all packages + apps
pnpm lint             # Lint everything
pnpm typecheck        # TypeScript check (mobile skipped — RN types incomplete)
pnpm test             # Run vitest (web only currently)

# Database (from root or packages/db)
pnpm db:generate      # Generate Drizzle migrations
pnpm db:migrate       # Run migrations
pnpm db:push          # Push schema directly (dev)
pnpm db:studio        # Open Drizzle Studio

# Mobile
cd apps/mobile && pnpm dev     # Expo dev server

Tech Stack

Layer Web Mobile
Framework Next.js 16 (App Router) Expo Router
UI shadcn/ui (Radix + Tailwind v4) NativewindUI (NativeWind)
Auth Better-Auth (cookies, admin plugin) Better-Auth via HTTP + AsyncStorage session
Payments Stripe (checkout, portal, webhooks) RevenueCat (IAP wrapper)
Database Drizzle ORM + PostgreSQL — (via web API)
Email Resend + React Email templates — (via web API)
Jobs Inngest (event-driven + cron)
Rate Limit Upstash Redis (sliding window, 10/min)
Analytics PostHog (posthog-js) PostHog (posthog-react-native)
Errors Sentry (@sentry/nextjs) Sentry (@sentry/react-native)
Tracing OpenTelemetry (OTLP export)
Feature Flags PostHog (server + client)
Canary/Rollout Vercel Edge Config
Testing Vitest + happy-dom
CI/CD GitHub Actions → Turbo GitHub Actions → EAS Build

Read the full file on GitHub · 180 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 · 180 lines · 2,183 tokens per session scan A fca5e17817cf

Subscribe to this mod's changes

nextjs-expo-saas-starter CLAUDE.md is an instructions file published in the GitHub repository brainbytes-dev/nextjs-expo-saas-starter (5 stars, last pushed 2mo ago), licensed MIT. It adds 2,183 tokens to every session, about $0.0109 per session on Opus 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-31.

Related

Other instructions, from other repositories

svelteflare AGENTS.md

Instructions for pinebasedev/svelteflare, covering agent rules for this project, theme fidelity (non-negotiable), talking to the user and deep-dive skills.

pinebasedev/svelteflare · 874 tokens

svelteflare CLAUDE.md

Instructions for pinebasedev/svelteflare, a project described as: A SvelteKit, Hono and Cloudflare SaaS boilerplate to launch your next MVP.

pinebasedev/svelteflare · 5 tokens

codeguide-starter-fullstack CLAUDE.md

Claude Code instructions for CodeGuide-dev/codeguide-starter-fullstack, covering claude code task management guide, documentation available, mandatory task management workflow, step 1: discover tasks (mandatory) and step 2: start each task (mandatory).

CodeGuide-dev/codeguide-starter-fullstack · 621 tokens

shipkit AGENTS.md

AGENTS.md instructions for chitamoor/shipkit, covering agents.md — ai coding guidelines, 1. project architecture, 2. auth conventions, 3. database conventions and 4. ai / mastra conventions.

chitamoor/shipkit · 3,842 tokens

create-better-t-stack AGENTS.md

AGENTS.md instructions for AmanVarshney01/create-better-t-stack, covering repository guidelines, project structure & module organization, build, test, and development commands, coding style & naming conventions and error handling conventions.

AmanVarshney01/create-better-t-stack · 938 tokens

flarestarter AGENTS.md

Instructions for FlareStarter/flarestarter, covering agents.md, what this is, structure, conventions and commands.

FlareStarter/flarestarter · 693 tokens