---
title: "Are Supabase docs agent-friendly? We didn't know, so we checked"
description: "Supabase built an eval that runs coding agents against its Row Level Security guide using a non-leading \"vibe coder\" prompt, then grades the resulting database setup against a checklist derived from experts and outside sources rather than from the guide itself."
url: "https://swe.quest/articles/are-supabase-docs-agent-friendly-we-didn-t-know-so-we-checked-d50f60678575a95b"
canonical: "https://supabase.com/blog/are-supabase-docs-agent-friendly"
source: "Supabase"
published: "2026-08-01"
difficulty: "medium"
kind: "Case study"
reading_minutes: 5
tags: ["documentation","ai-coding","evals","postgres","identity-auth"]
---

# Are Supabase docs agent-friendly? We didn't know, so we checked

A post on [Supabase](https://swe.quest/sources/supabase.md), published 2026-08-01, 5 min read, Case study. Original: [https://supabase.com/blog/are-supabase-docs-agent-friendly](https://supabase.com/blog/are-supabase-docs-agent-friendly)

## Summary

Supabase built an eval that runs coding agents against its Row Level Security guide using a non-leading "vibe coder" prompt, then grades the resulting database setup against a checklist derived from experts and outside sources rather than from the guide itself. The first runs showed agents leaving anon with insert/update/delete/truncate grants on every public table. Adding explicit steps to revoke default grants fixed that immediately. Test-writing guidance only took effect once it sat next to the policy code agents actually copy. The takeaway is that agents read selectively, so critical instructions belong beside copyable code, and clear structure and signposting serve agents and humans alike.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Documentation](https://swe.quest/tags/documentation.md) (Engineering practices)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)

## Prerequisites

- Postgres Row Level Security ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- Postgres roles and grants ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- AI coding agents ([easy posts on AI for coding](https://swe.quest/tags/ai-coding.md?difficulty=easy))

## Keywords

Supabase, Row Level Security, supabase/evals, Claude Code, Cursor

## Related posts

- [AI Agents Know About Supabase. They Don't Always Use It Right.](https://swe.quest/articles/ai-agents-know-about-supabase-they-don-t-always-use-it-right-c03d45208ad6704c.md): Supabase · 2026-04-09 · Medium · 9 min read · AI for coding, AI agents, PostgreSQL, Evaluation, Application security
  Supabase Agent Skills is an open-source ~100-line SKILL.md that steers AI coding agents to check current docs before writing code, follow inline security rules, and use a defined schema workflow.
- [Introducing Supabase Evals](https://swe.quest/articles/introducing-supabase-evals-c82dd59072e477b7.md): Supabase · 2026-07-31 · Medium · 5 min read · Evaluation, AI agents, AI for coding, Testing
  Supabase has open-sourced supabase/evals, a framework that runs coding agents like Claude Code, Codex and OpenCode against real Supabase tasks in containerized hosted-like and local CLI stacks.
- [Defense in Depth for MCP Servers](https://swe.quest/articles/defense-in-depth-for-mcp-servers-841fdfa753be4c4a.md): Supabase · 2025-09-16 · Easy · 5 min read · AI agents, Application security, LLMs, PostgreSQL
  Stored prompt injection, where malicious instructions hidden in database rows trick an AI agent into reading private data and writing it somewhere visible, is a property of LLM tool calling generally, not an MCP-specific flaw.
- [Operate with confidence: check production with your coding agent](https://swe.quest/articles/operate-with-confidence-check-production-with-your-coding-agent-2d12eed022759488.md): Supabase · 2026-10-20 · Medium · 4 min read · AI agents, Observability, PostgreSQL, Developer tools
  Supabase now ships Agent prompts that let a coding agent (Claude, Codex, Cursor) check a production project on a schedule for error spikes, security findings, slow queries and resource growth, reporting only new or worsening issues with the measured value, threshold and a next step.
- [Supabase CLI](https://swe.quest/articles/supabase-cli-a62c53c7dbec808f.md): Supabase · 2021-03-31 · Medium · 7 min read · Schema migrations, PostgreSQL, Developer tools
  Supabase's new CLI runs the full Supabase stack locally via Docker Compose, using the same tooling as production, and walks through wiring it to a React app.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
