supabase-js

supabase-js is a skill for Claude Code from fcakyon/claude-codex-settings. It costs 64 tokens per session (1,686 once invoked), scanned A, original, Apache-2.0.

A JavaScript and TypeScript SDK for connecting applications to Supabase, a hosted platform built around PostgreSQL databases. It covers database queries, user accounts, file storage, live updates, and server-side functions.

In plain words
What is it for?
Use it to read and change database records, manage sign-in, upload files, receive real-time changes, and call Supabase Edge Functions from JavaScript or TypeScript.
Why use it?
It gives application code one documented way to use Supabase services instead of handling each service separately. Generated database types can also help catch query mistakes in TypeScript.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the supabase-skills plugin — 4 skills, 13 commands shipped together

Good fit Use it to read and change database records, manage sign-in, upload files, receive real-time changes, and call Supabase Edge Functions from JavaScript or TypeScript.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fcakyon/claude-codex-settings/supabase-js
About the project

claude-codex-settings is a collection of configurations and reusable extensions for Claude Code, OpenAI Codex, Cursor, and related coding tools. Developers use its skills, commands, hooks, agents, plugins, and MCP servers to shape coding-agent workflows and connect alternative model APIs. The catalogue entries are components of this collection that can be installed into supported coding tools.

fcakyon/claude-codex-settings · 1,186 stars · on GitHub · claudesettings.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 fcakyon/claude-codex-settings --skill supabase-js
Clone the repo
git clone --depth 1 https://github.com/fcakyon/claude-codex-settings

Made for: Claude Code.

Or install supabase-skills, the plugin that ships this one along with the rest of its 4 skills, 13 commands.

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 supabase-js

README.md
[![agentmods](https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/supabase-js/github.svg)](https://agentmods.dev/skills/fcakyon/claude-codex-settings/supabase-js)
Your own site
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/supabase-js"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/supabase-js/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 supabase-js

Your own site · 80×15
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/supabase-js"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/supabase-js.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,686 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00064 $0.01686
Opus 5.5 $0.00026 $0.00674
Sonnet 5.5 $0.00013 $0.00337
Haiku 4.5 $0.00006 $0.00169

Measured 1mo ago against content hash 107f4a950dc6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

supabase-js 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 1mo 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.

plugins/supabase-skills/skills/supabase-js/SKILL.md · 173 lines

How it starts

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

Supabase JavaScript SDK Skill

Skill for building applications with the @supabase/supabase-js SDK. Covers Auth, Database (PostgREST), Storage, Realtime, and Edge Functions.

The SDK docs at https://supabase.com/docs/reference/javascript are the source of truth. The reference files alongside this skill contain source code and READMEs extracted from the monorepo for quick lookup.

Setup

npm install @supabase/supabase-js
import { createClient } from '@supabase/supabase-js'

const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')

For type-safe queries, generate types from your database schema:

supabase gen types typescript --project-id your-project-id > database.types.ts
import { createClient } from '@supabase/supabase-js'
import type { Database } from './database.types'

const supabase = createClient<Database>(SUPABASE_URL, SUPABASE_ANON_KEY)

Quick Decision Trees

"I need to query data"

Database query?
├─ Select rows → supabase.from('table').select('*')
├─ Filter rows → .select().eq('col', val) / .gt() / .lt() / .in() / .like()
├─ Join tables → .select('*, other_table(*)') or .select('*, other_table!fk(*)')
├─ Insert → supabase.from('table').insert({ col: val })
├─ Upsert → supabase.from('table').upsert({ id: 1, col: val })
├─ Update → supabase.from('table').update({ col: val }).eq('id', 1)
├─ Delete → supabase.from('table').delete().eq('id', 1)
├─ Call RPC function → supabase.rpc('function_name', { arg: val })
├─ Count rows → .select('*', { count: 'exact', head: true })
├─ Pagination → .range(0, 9) or .limit(10).offset(20)
└─ Order → .order('created_at', { ascending: false })

"I need authentication"

Auth?
├─ Email/password sign up → supabase.auth.signUp({ email, password })
├─ Email/password sign in → supabase.auth.signInWithPassword({ email, password })
├─ OAuth (Google, GitHub, etc.) → supabase.auth.signInWithOAuth({ provider: 'google' })
├─ Magic link → supabase.auth.signInWithOtp({ email })
├─ Phone OTP → supabase.auth.signInWithOtp({ phone })
├─ Sign out → supabase.auth.signOut()
├─ Get current user → supabase.auth.getUser()
├─ Get session → supabase.auth.getSession()
├─ Listen to auth changes → supabase.auth.onAuthStateChange((event, session) => {})
├─ Reset password → supabase.auth.resetPasswordForEmail(email)
├─ Update user → supabase.auth.updateUser({ data: { name: 'New' } })
└─ Admin operations → supabase.auth.admin.listUsers() / .deleteUser(id)

Read the full file on GitHub · 173 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 173 lines · 64 tokens per session scan A 107f4a950dc6

Subscribe to this mod's changes

supabase-js is a skill published in the GitHub repository fcakyon/claude-codex-settings (1,186 stars, last pushed today), licensed Apache-2.0. It adds 64 tokens to every session and 1,686 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

bitrix-postgresql

PostgreSQL in Bitrix — PgsqlConnection, MySQL→PostgreSQL wizard, module support, portable SQL and module schema. Use when configuring, migrating to or writing code for PostgreSQL (Enterprise for Postgres).

bxmaximum/bitrix-framework-skills · 51 tokens

supabase

Expert Supabase assistance covering PostgreSQL, Row Level Security (RLS), Edge Functions, Auth, and pgvector. Use when building full-stack web/mobile applications with Postgres backends and instant REST/GraphQL APIs.

G1Joshi/Agent-Skills · 48 tokens

senior-backend

Backend development with Node.js/Express/Fastify and PostgreSQL. Use when designing REST or GraphQL APIs, optimizing database queries, implementing authentication, building microservices, handling migrations, or reviewing backend code.

borghei/Claude-Skills · 47 tokens

devlab-dao-sql-compat

A workflow for finding and fixing SQL dialect differences in the data-access layer of an application. SQL is the language used to query databases, and Oracle, PostgreSQL, and MySQL each have variations; the workflow supports MyBatis, JPA, MyBatis-Plus, and SQLAlchemy.

seed-forge/harness-ai-kit · 160 tokens

postgres-patterns

PostgreSQL database patterns for query optimization, schema design, indexing, and security. Based on Supabase best practices.

Jamkris/everything-gemini-code · 28 tokens

event-store-design

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

wshobson/agents · 33 tokens