AGENTS.md@template/stack/packages/platform/supabaseA

AGENTS.md@template/stack/packages/platform/supabase from cogvera-labs/next-expo-supabase-agent-harness is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add cogvera-labs/next-expo-supabase-agent-harness/template/stack/packages/platform/supabase/AGENTS.md@git:20260725.ec9abcb

Pins git:20260725.ec9abcb in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
cogvera-labs/next-expo-supabase-agent-harness
Path
template/stack/packages/platform/supabase/AGENTS.md
Versions recorded
1
Latest version
git:20260725.ec9abcb, committed Jul 25, 2026
Size
3,267 bytes
Repository stars
8
License
Apache-2.0

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# packages/platform/supabase — `@app/supabase`

Owns Supabase client construction, the typed `Database` generic, and env resolution for BOTH
surfaces. Imports nothing from `next/*` (the reversibility wall) and nothing from a vertical —
it is platform, below the features. WHERE cookies or the keychain live is the host's job, so a
host passes an adapter in; this package never reaches into `next/headers` or `expo-secure-store`
itself.

## The factories (one per caller shape — pick by WHO is calling)

- **Browser** (`src/browser.ts`) — the client-side singleton for React components in the
  browser. Anon/publishable key; RLS enforces.
- **Server, cookie-backed** (`src/client.ts` + the host's cookie adapter) — Server Components,
  Server Actions, Route Handlers. Built PER REQUEST (never module-scope, or one request's
  identity leaks into another's render).
- **Server, bearer** (`createBearerSupabaseClient`) — the `apps/mobile` path through the web
  API: the raw access token is forwarded to PostgREST, `auth.uid()` resolves from the verified
  JWT, and a forged/expired token simply matches no rows.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add cogvera-labs/next-expo-supabase-agent-harness/template/stack/packages/platform/supabase/AGENTS.md@sha256:70cb83c01c634274

The line at the top of this page pins the label git:20260725.ec9abcb, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_hwtj3vb2gwpym6tw.svg)](https://markdownregistry.com/a/art_hwtj3vb2gwpym6tw)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Jul 25, 2026.

versioncommittedcommitsizeaudit
git:20260725.ec9abcb latest2026-07-25 ec9abcb 3,267 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (3267 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

cogvera-labs/next-expo-supabase-agent-harness · 8 stars · license Apache-2.0 · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_hwtj3vb2gwpym6tw
GET https://markdownregistry.com/api/v1/resolve?ref=cogvera-labs/next-expo-supabase-agent-harness/template/stack/packages/platform/supabase/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/70cb83c01c634274af8f248380744f8a0914496eca4d2f50291208b5d7ba1c80

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from cogvera-labs/next-expo-supabase-agent-harness

authoring-e2ee-feature SKILL.md skill
cogvera-labs/next-expo-supabase-agent-harness · plugin/skills/authoring-e2ee-feature/SKILL.md · The decide-the-columns -> schema -> ciphertext DAL -> seal/open at the screen -> store-policy -> DSR record ->…
git:20261102.d0f625e · audit A · 8 stars
authoring-vertical-slice SKILL.md skill
cogvera-labs/next-expo-supabase-agent-harness · plugin/skills/authoring-vertical-slice/SKILL.md · The migration -> RLS -> ./client read -> tRPC procedure -> web screen -> mobile screen -> test recipe for shipping one…
git:20261102.d0f625e · audit A · 8 stars
designing-mobile-ui SKILL.md skill
cogvera-labs/next-expo-supabase-agent-harness · plugin/skills/designing-mobile-ui/SKILL.md · The design doctrine for the mobile app: typography roles, spacing rhythm, motion tokens, state choreography, and…
git:20261102.d0f625e · audit A · 8 stars
authoring-e2ee-feature SKILL.md skill
cogvera-labs/next-expo-supabase-agent-harness · template/base/.claude/skills/authoring-e2ee-feature/SKILL.md · The decide-the-columns -> schema -> ciphertext DAL -> seal/open at the screen -> store-policy -> DSR record ->…
git:20261102.d0f625e · audit A · 8 stars
authoring-vertical-slice SKILL.md skill
cogvera-labs/next-expo-supabase-agent-harness · template/base/.claude/skills/authoring-vertical-slice/SKILL.md · The migration -> RLS -> ./client read -> tRPC procedure -> web screen -> mobile screen -> test recipe for shipping one…
git:20261102.d0f625e · audit A · 8 stars
designing-mobile-ui SKILL.md skill
cogvera-labs/next-expo-supabase-agent-harness · template/base/.claude/skills/designing-mobile-ui/SKILL.md · The design doctrine for the mobile app: typography roles, spacing rhythm, motion tokens, state choreography, and…
git:20261102.d0f625e · audit A · 8 stars
AGENTS.md@template/base AGENTS.md file
cogvera-labs/next-expo-supabase-agent-harness · template/base/AGENTS.md
git:20261021.a22139a · audit A · 8 stars
CLAUDE.md@template/base CLAUDE.md file
cogvera-labs/next-expo-supabase-agent-harness · template/base/CLAUDE.md
git:20260722.e552d6e · audit B · 8 stars
AGENTS.md@template/stack/packages/api AGENTS.md file
cogvera-labs/next-expo-supabase-agent-harness · template/stack/packages/api/AGENTS.md
git:20260805.e8316e9 · audit A · 8 stars
AGENTS.md@template/stack/supabase AGENTS.md file
cogvera-labs/next-expo-supabase-agent-harness · template/stack/supabase/AGENTS.md
git:20261021.a22139a · audit A · 8 stars

Every file in cogvera-labs/next-expo-supabase-agent-harness

Browse by kind, by grade A, or by owner.