Supabase Evals is a test suite for measuring how well AI agents perform tasks involving Supabase, using defined scenarios, scorers, starting states, agent runtimes, and model experiments. It is for comparing agent and runtime configurations across local or hosted Supabase-like environments and recording their results. The catalogue add-ons support working with these evaluations.
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.
npx skills add supabase/evals --skill sparkgit clone --depth 1 https://github.com/supabase/evalsWrote 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.
[](https://agentmods.dev/skills/supabase/evals/spark)<a href="https://agentmods.dev/skills/supabase/evals/spark"><img src="https://agentmods.dev/badge/skills/supabase/evals/spark/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.
<a href="https://agentmods.dev/skills/supabase/evals/spark"><img src="https://agentmods.dev/badge/skills/supabase/evals/spark.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00016 | $0.00708 |
| Opus 5.5 | $0.00006 | $0.00283 |
| Sonnet 5.5 | $0.00003 | $0.00142 |
| Haiku 4.5 | $0.00002 | $0.00071 |
Grade A, and why
spark 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 24d 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.
How it starts
The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Base URL: $SPARK_PROJECT_URL. Send the API key in the apikey header, not a query parameter. $SPARK_SECRET_KEY acts as service_role; $SPARK_PUBLISHABLE_KEY acts as anon. For a user session, also send Authorization: Bearer <access_token>. Keep keys and tokens out of output.
Use Content-Type: application/json for JSON bodies. Error responses contain diagnostic details in the body.
Schema and SQL
| Method | Path | Request / behavior |
|---|---|---|
| GET | /system/v1/migrations |
Applied migrations, oldest first, including their SQL statements. Secret key required. |
| POST | /system/v1/migrations |
{"version":"...","name":"...","sql":"..."}. Applies SQL and reloads the Data API schema cache. Use an unused version. Secret key required. |
| POST | /database/query |
{"query":"SELECT ...","parameters":[]}. Read-only SQL inspection. Secret key required. |
Apply DDL through migrations and DML through the Data API. SQL compatibility is partial: information_schema.tables and information_schema.columns are unavailable. Inspect schema through migration statements or SELECT * FROM pragma_table_info('<table>').
Data API
Tables in public are available at /rest/v1/<table>.
| Method | Behavior |
|---|---|
| GET, HEAD | Read rows or headers. Supports select, filters such as id=eq.1, order, limit, and offset. |
| POST | Insert one JSON object or an array of rows. |
| PATCH | Update rows selected by query-string filters. |
| DELETE | Delete rows selected by query-string filters. |
Prefer: return=representation returns inserted or updated rows. Prefer: count=exact requests a count. Accept: application/vnd.pgrst.object+json requests one row as an object.
Auth
Email/password only. Signup confirms the email immediately without sending mail. Signup and token requests return access_token, refresh_token, and user.
| Method | Path | Request / behavior |
|---|---|---|
| POST | /auth/v1/signup |
{"email":"...","password":"..."}. Creates a user and session. |
| POST | /auth/v1/token?grant_type=password |
{"email":"...","password":"..."}. Signs in. |
| POST | /auth/v1/token?grant_type=refresh_token |
{"refresh_token":"..."}. Refreshes a session. |
| GET | /auth/v1/user |
Current user; requires the session bearer token. |
| POST | /auth/v1/logout |
Ends the session; requires the session bearer token. |
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.
- 24d ago First seen · 51 lines · 16 tokens per session scan A 4f892da585aa
spark is a skill published in the GitHub repository supabase/evals (156 stars, last pushed 2d ago), licensed Apache-2.0. It adds 16 tokens to every session and 708 once invoked, about $0.0001 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-06.
spark compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sparksupabase/evals | Skill | 156 | 2d ago | Apache-2.0 | A | 16 | Claude Code, Codex |
| event-store-designwshobson/agents | Skill | 43k | 5d ago | MIT | A | 33 | Claude Code |
| platform-custom-field-generateforcedotcom/sf-skills | Skill | 1.2k | 3d ago | Apache-2.0 | A | 139 | Claude Code |
| field-service-sobject-create-configureforcedotcom/sf-skills | Skill | 1.2k | 3d ago | Apache-2.0 | A | 74 | Claude Code |
| durable-objectsfcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 22 | Claude Code |
| nornicdb-grpcorneryd/NornicDB | Skill | 938 | today | MIT | A | 98 | Claude Code, Codex |
| firebaseericrisco/rsc-harness | Skill | 682 | 4d ago | MIT | A | 77 | Claude Code, Codex |