genai-starter: Instructions file for Claude Code

CLAUDE.md

genai-starter CLAUDE.md is an instructions file for Claude Code from AIFundTeam/genai-starter. It costs 6,333 tokens per session, scanned A, original, MIT.

Claude Code instructions for a full-stack web application using a browser frontend, Supabase backend and database, Cloudflare hosting, and optional AI and voice services.

In plain words
What is it for?
They guide environment setup, database changes, Supabase and LiveKit deployment, frontend deployment, and function tests.
Why use it?
They give the coding assistant the project's technology choices and the required order for setup, deployment, and testing.

Instructions file for Claude Code

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

This is AIFundTeam/genai-starter's own configuration. It tells Claude Code how to work on genai-starter 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 genai-starter configures โ†’

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is } from "../_shared/test-utils.ts";.

Reuse

Borrowing it

Nothing to install: this file belongs to AIFundTeam/genai-starter. 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/AIFundTeam/genai-starter/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/AIFundTeam/genai-starter

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 genai-starter CLAUDE.md

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

Your own site ยท 80ร—15
<a href="https://agentmods.dev/instructions/aifundteam/genai-starter/claude-md"><img src="https://agentmods.dev/badge/instructions/aifundteam/genai-starter/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,333 This file is loaded in full into every session.
When invoked 6,333 The same file โ€” it is already loaded in full.
Security scan A 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.06333 $0.06333
Opus 5 $0.03166 $0.03166
Sonnet 5 $0.01267 $0.01267
Haiku 4.5 $0.00633 $0.00633

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

Security

Grade A, and why

genai-starter CLAUDE.md scanned grade A 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 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Backend: Test via Supabase dashboard or curl commands
CLAUDE.md ยท 763 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

This is a full-stack web application template built with:

  • Frontend: Vanilla JavaScript/HTML/CSS (no build process)
  • Backend: Supabase Edge Functions (Deno runtime)
  • Database: PostgreSQL via Supabase
  • Hosting: Cloudflare Pages (frontend), Supabase (backend)
  • Users: Email-based user identification (no passwords or authentication)
  • AI/LLM: OpenAI API integration (required)
  • Voice: LiveKit voice agents (optional)

๐Ÿš€ Quick Setup Sequence

Run these commands in order when setting up or making schema changes:

# 1. Configure environment (run once)
cp env.config.template env.config
# Edit env.config with your credentials

# 2. Setup database (run after schema changes)
./setup_database.sh

# 3. Deploy Supabase backend (Edge Functions)
./deploy_supabase.sh

# 4. Deploy LiveKit agent (optional, only if using voice features)
./deploy_livekit.sh

# 5. Deploy frontend
./deploy_frontend.sh

# 6. Run tests (after making changes)
./test_functions.sh

Important: setup_database.sh must run before testing or using the app.

๐Ÿ“– Command Reference

# Initial setup (run once)
cp env.config.template env.config
# Edit env.config with your Supabase and Cloudflare credentials

# Database setup
./setup_database.sh

# Deploy Supabase backend (Edge Functions)
./deploy_supabase.sh

# Deploy LiveKit agent (optional, only after agent changes)
./deploy_livekit.sh

# Deploy frontend (Cloudflare Pages)
./deploy_frontend.sh

# Run tests (ALWAYS run after making changes)
./test_functions.sh

# Deploy specific function
supabase functions deploy <function-name> --project-ref $SUPABASE_PROJECT_REF

๐ŸŽ™๏ธ When to Deploy LiveKit Agent

Run ./deploy_livekit.sh only when you modify voice agent files:

  • livekit-agent/agent.py - Agent code changes
  • livekit-agent/requirements.txt - Python dependency changes
  • livekit-agent/Dockerfile - Container configuration changes

Read the full file on GitHub ยท 763 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 ยท 763 lines ยท 6,333 tokens per session scan A 80cf4c937ce0

Subscribe to this mod's changes

genai-starter CLAUDE.md is an instructions file published in the GitHub repository AIFundTeam/genai-starter (10 stars, last pushed 10mo ago), licensed MIT. It adds 6,333 tokens to every session, about $0.0317 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js ยท 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex ยท 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode ยท 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart โ€” add a new integration in 5 steps, integration architecture and integrationmanifest โ€” file tracking.

github/spec-kit ยท 7,104 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode ยท 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain ยท 4,469 tokens