supabase-hello-world
Skill by jeremylongshore
Walks through a first Supabase query in Claude Code. It creates a todos table with Row Level Security, inserts a row with @supabase/supabase-js, and reads it back. Aimed at developers checking a new project connection.
Install supabase-hello-world
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/supabase-hello-world ~/.claude/skills/supabase-hello-worldRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/supabase-hello-world ~/.gemini/antigravity-cli/skills/supabase-hello-worldAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install supabase-hello-world in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Supabase Hello World is an agent skill that walks through a first Supabase query. It creates a todos table in the dashboard SQL Editor, enables Row Level Security, and adds permissive read and insert policies. It then inserts a row with the @supabase/supabase-js client and reads it back with select.
The skill is aimed at people starting a new Supabase project, checking that their URL and anon key work, or learning the basic insert-then-select pattern. It provides reference files with error-handled code and a full TypeScript and Python script. The hello-world policies are open to anyone with the anon key, so the skill says to replace them with per-user rules before production.
Written from the project's SKILL.md and checked against it.
What it can do
- Create todos tableCreates a todos table in the dashboard SQL Editor with Row Level Security enabled.
- Add hello-world policiesAdds permissive read and insert policies for the exercise, to be locked down later.
- Insert a rowInserts a row with the JS client and chains .select() to return the inserted row.
- Read rows backSelects all rows from the todos table to confirm the round-trip works.
- Python exampleProvides a Python version of the script using the supabase package.
- Troubleshooting tableLists common errors such as RLS violations and invalid API keys, with fixes.
What you need
- A Supabase project
- Project URL and anon key in a .env file
- @supabase/supabase-js v2 or later
- npm
Try asking
- Set up a todos table with RLS and insert my first row in Supabase
- Read back the rows from my todos table using supabase-js
- Test my Supabase connection by inserting and selecting a row
Good to know
- The hello-world policies allow public read and insert for anyone holding the anon key.
- The permissive policies must be replaced with per-user rules before production.
- Requires completing the supabase-install-auth setup first.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/supabase-hello-world/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditBash(npm:*)Bash(npx:*)Bash(supabase:*)
-
SKILL.md5 KB -
references/examples.md2 KB -
references/implementation.md2 KB
Alternatives to supabase-hello-world
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
supabase-hello-world: common questions
Does this skill need a Supabase project?
Yes. The source lists a Supabase project at supabase.com/dashboard, with the project URL and anon key in .env, as prerequisites.
Are the policies safe for production?
No. The source says the permissive policies using (true) and with check (true) must be replaced with real per-user Row Level Security rules before production.
Why does the insert return null data?
The source says .insert() alone returns data as null, so chaining .select() after it is needed to get the inserted row back.
How do I install supabase-hello-world?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is supabase-hello-world free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is supabase-hello-world safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to supabase-hello-world?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
