supabase-as-a-service: Skill for Claude Code

.claude/skills/supanet-table-forms/SKILL.md

supanet-table-forms is a skill for Claude Code from alnutile/supabase-as-a-service. It costs 97 tokens per session (1,758 once invoked), scanned B, original, MIT.

Instructions for building a public form in a shared web page that saves each submission as a row in a SupaNet table, an online data table.

In plain words
What is it for?
It is for contact forms, sign-up sheets, RSVP forms, and lead-capture pages that send visitor-entered data to a SupaNet user table.
Why use it?
It avoids a browser restriction that can make ordinary HTML form submission work in Safari but fail in Chrome or Firefox.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is alnutile/supabase-as-a-service's own configuration. It tells Claude Code how to work on supabase-as-a-service itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything supabase-as-a-service configures →

Reuse

Borrowing it

Nothing to install: this file belongs to alnutile/supabase-as-a-service. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/alnutile/supabase-as-a-service/main/.claude/skills/supanet-table-forms/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/alnutile/supabase-as-a-service

Made for: Claude Code.

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 supanet-table-forms

README.md
[![agentmods](https://agentmods.dev/badge/skills/alnutile/supabase-as-a-service/supanet-table-forms/github.svg)](https://agentmods.dev/skills/alnutile/supabase-as-a-service/supanet-table-forms)
Your own site
<a href="https://agentmods.dev/skills/alnutile/supabase-as-a-service/supanet-table-forms"><img src="https://agentmods.dev/badge/skills/alnutile/supabase-as-a-service/supanet-table-forms/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 supanet-table-forms

Your own site · 80×15
<a href="https://agentmods.dev/skills/alnutile/supabase-as-a-service/supanet-table-forms"><img src="https://agentmods.dev/badge/skills/alnutile/supabase-as-a-service/supanet-table-forms.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,758 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00097 $0.01758
Opus 5 $0.00048 $0.00879
Sonnet 5 $0.00019 $0.00352
Haiku 4.5 $0.00010 $0.00176

Measured 10d ago against content hash 614422effbb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

supanet-table-forms scanned grade B with 2 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 10d 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

`curl -i -X POST '<endpoint>' -H 'Content-Type: application/json' --data '{"token":"...","values":{"last_name":"Test"}}'`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

fetch(ENDPOINT, {
.claude/skills/supanet-table-forms/SKILL.md · 147 lines

How it starts

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

SupaNet public table write-forms

How to build a form that an anonymous visitor fills out and it saves one row into a SupaNet user table (the "Tables" feature), embedded inside a shared HTML artifact.

The #1 gotcha: the artifact sandbox blocks native <form> submits

SupaNet artifacts render inside ArtifactFrame with sandbox="allow-scripts" and no allow-same-origin and no allow-forms (opaque origin — deliberate, so user HTML never gets credentials). Consequence:

  • A type="submit" button inside a real <form> is blocked by Chromium and Firefox before your submit handler runs. Console shows: Blocked form submission because the form's frame is sandboxed and the 'allow-forms' permission is not set. Safari is lenient and lets it through.
  • This is the usual cause of "works in Safari, not Chrome/Firefox." It is NOT a CORS problem — the form-submit endpoint already returns correct CORS.

Rule: never rely on native form submission

Use a plain <button type="button"> and bind a click handler. Do not use a submit event, type="submit", or form.requestSubmit(). (Inputs can still live inside a <form> for layout/validation; just don't submit it natively.)

The #2 gotcha: use real CORS and READ the response

The endpoint supports normal CORS (Access-Control-Allow-Origin: *, handles the OPTIONS preflight, returns JSON on success and error). So:

  • Use mode: 'cors' (the default) and Content-Type: application/json.
  • Read the response (r.ok, r.json()) to show real success/failure.
  • Never use mode: 'no-cors', text/plain, keepalive, or navigator.sendBeacon. Those make an opaque, unreadable response, so the page reports "sent" even when the row was never saved — hiding the real failure above.

The endpoint contract

POST https://<project-ref>.supabase.co/functions/v1/form-submit

Body:     { "token": "<form token>", "values": { "<column_key>": <value>, ... } }
Success:  200 { "ok": true, "id": "<row id>" }
Error:    400 { "error": "..." }   (validation)   404 { "error": "This form is not available." }   429 (rate limited)

Read the full file on GitHub · 147 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. 10d ago First seen · 147 lines · 97 tokens per session scan B 614422effbb4

Subscribe to this mod's changes

supanet-table-forms is a skill published in the GitHub repository alnutile/supabase-as-a-service (5 stars, last pushed yesterday), licensed MIT. It adds 97 tokens to every session and 1,758 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

build-with-tinybase

Scaffold, extend, and verify reactive local-first JavaScript or TypeScript applications with TinyBase. Use when choosing TinyBase for in-memory tabular or key-value state, generating an app with create-tinybase, adding schemas or UI bindings, configuring browser or database persistence, configuring MergeableStore…

tinyplex/tinybase · 76 tokens

minimal-web-baas-demo

A guide for quickly building a small CloudBase web application with a database, such as a to-do list, notes app, or message board.

TencentCloudBase/CloudBase-AI-Toolkit · 144 tokens

redux-to-swr

Migrate React components from Redux + Saga to SWR hooks. Use when converting data fetching from Redux store (reducers, sagas, selectors, connect HOC) to SWR-based hooks in CockroachDB DB Console or cluster-ui.

cockroachdb/cockroach · 53 tokens

react-class-to-functional

Convert React class components to functional components with hooks.

cockroachdb/cockroach · 14 tokens

neo4j-nvl-skill

Neo4j Visualization Library (NVL) — framework-agnostic graph rendering for the browser. Covers @neo4j-nvl/base (NVL class, nodes/relationships, Canvas vs WebGL renderer), @neo4j-nvl/interaction-handlers (ZoomInteraction, PanInteraction, DragNodeInteraction, ClickInteraction, HoverInteraction, BoxSelectInteraction…

neo4j-contrib/neo4j-skills · 227 tokens

convex-quickstart

Initializes a new Convex project from scratch or adds Convex to an existing app. Use this skill when starting a new project with Convex, scaffolding with npm create convex@latest, adding Convex to an existing React, Next.js, Vue, Svelte, or other frontend, wiring up ConvexProvider, configuring environment variables…

get-convex/convex-backend · 108 tokens