spark

spark is a skill for Claude Code, Codex from supabase/evals. It costs 16 tokens per session (708 once invoked), scanned A, original, Apache-2.0.

A skill for using the Spark REST API, a web interface for managing database tables, data, and email/password sign-in. It covers authentication headers, schema changes, SQL inspection, and table data requests.

In plain words
What is it for?
Use it to inspect or change database schemas, run read-only SQL checks, apply migrations, and work with authenticated or public API requests.
Why use it?
It helps an agent interact with a Spark project without guessing the API format or exposing secret keys and user tokens. It also separates database structure changes from ordinary data operations.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect or change database schemas, run read-only SQL checks, apply migrations, and work with authenticated or public API requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/supabase/evals/spark
About the project

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.

supabase/evals · 156 stars · on GitHub · supabase.com

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.

Any agent
npx skills add supabase/evals --skill spark
Clone the repo
git clone --depth 1 https://github.com/supabase/evals

Made for: Claude Code, Codex.

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 spark

README.md
[![agentmods](https://agentmods.dev/badge/skills/supabase/evals/spark/github.svg)](https://agentmods.dev/skills/supabase/evals/spark)
Your own site
<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.

agentmods 80×15 button for spark

Your own site · 80×15
<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>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 708 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00016 $0.00708
Opus 5.5 $0.00006 $0.00283
Sonnet 5.5 $0.00003 $0.00142
Haiku 4.5 $0.00002 $0.00071

Measured 24d ago against content hash 4f892da585aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/spark/SKILL.md · 51 lines

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.

Read the full file on GitHub · 51 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. 24d ago First seen · 51 lines · 16 tokens per session scan A 4f892da585aa

Subscribe to this mod's changes

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.

Related

spark compared with skills from other repositories

spark next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sparksupabase/evalsSkill1562d agoApache-2.0A16Claude Code, Codex
event-store-designwshobson/agentsSkill43k5d agoMITA33Claude Code
platform-custom-field-generateforcedotcom/sf-skillsSkill1.2k3d agoApache-2.0A139Claude Code
field-service-sobject-create-configureforcedotcom/sf-skillsSkill1.2k3d agoApache-2.0A74Claude Code
durable-objectsfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A22Claude Code
nornicdb-grpcorneryd/NornicDBSkill938todayMITA98Claude Code, Codex
firebaseericrisco/rsc-harnessSkill6824d agoMITA77Claude Code, Codex