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

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

supanet-table-forms is a skill for Claude Code, Codex 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 CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is alnutile/supabase-as-a-service's own configuration. It tells Claude Code and Codex 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/.agents/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, 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 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.5 $0.00039 $0.00703
Sonnet 5.5 $0.00019 $0.00352
Haiku 4.5 $0.00010 $0.00176

Measured 2mo ago against content hash 614422effbb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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, {
.agents/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. 2mo 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 2d ago), licensed MIT. It adds 97 tokens to every session and 1,758 once invoked, about $0.0004 per session on Opus 5.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

supanet-table-forms compared with skills from other repositories

supanet-table-forms next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
supanet-table-formsalnutile/supabase-as-a-serviceSkill52d agoMITB97Claude Code, Codex
create-prprisma/ormSkill48kyesterdayApache-2.0A48Claude Code, Codex
schema-explorationlangchain-ai/deepagentsSkill31kyesterdayMITA57Claude Code, Codex
atlas-mssqlariga/atlasSkill8.8kyesterdayApache-2.0A163Claude Code
ha-data-storesshiwenwen/hope-agentSkill1.9kyesterdayMITA115Claude Code, Codex
nornicdb-cypher-queriesorneryd/NornicDBSkill923yesterdayMITA79Claude Code, Codex
volcengine-rds-postgresqlbytedance/agentkit-samplesSkill484todayApache-2.0A63Claude Code, Codex