supabase-arch

supabase-arch is a skill for Claude Code from YuDefine/nuxt-supabase-starter. It costs 61 tokens per session (458 once invoked), scanned A, original, MIT.

A set of architecture guidelines for applications that use Supabase, a hosted database and backend service based on PostgreSQL. It helps choose where database reads, writes, third-party requests, scheduled work, and real-time updates should run.

In plain words
What is it for?
Use it to plan Supabase features, decide between a database function and an Edge Function, organize database schemas, handle webhooks and scheduled tasks, and consider performance or secret keys.
Why use it?
It reduces uncertainty when designing features by matching common jobs to database functions, server-side functions, security rules, or client code.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to plan Supabase features, decide between a database function and an Edge Function, organize database schemas, handle webhooks and scheduled tasks, and consider performance or secret keys.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yudefine/nuxt-supabase-starter/supabase-arch
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 YuDefine/nuxt-supabase-starter --skill supabase-arch
Clone the repo
git clone --depth 1 https://github.com/YuDefine/nuxt-supabase-starter

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/supabase-arch/github.svg)](https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/supabase-arch)
Your own site
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/supabase-arch"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/supabase-arch/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-arch

Your own site · 80×15
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/supabase-arch"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/supabase-arch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 458 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.00061 $0.00458
Opus 5.5 $0.00024 $0.00183
Sonnet 5.5 $0.00012 $0.00092
Haiku 4.5 $0.00006 $0.00046

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

Security

Grade A, and why

supabase-arch 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.

template/.claude/skills/supabase-arch/SKILL.md · 28 lines

What it actually says

Supabase 架構決策指南

本 skill 只做架構選型:新功能該走 Server API、Postgres RPC、Edge Function、Trigger、pg_cron 或 Realtime。資料存取路徑(寫入走 Server API;client 直讀是否合法取決於 modules.auth)以 db-runtime 規約與 server-api skill 為準;migration SQL 交 supabase-migration,policy 內容交 supabase-rls。

SOP

Phase 1 -- 收斂需求特徵

  1. READ 讀取功能需求,以及 consumer manifest(.clade/manifest.json)的 modules.auth 與 modules.db-runtime。
  2. THINK 列出需求的特徵:是否呼叫第三方 API、是否接收外部 Webhook、是否處理檔案、是否碰金鑰、是否批次、是否跨表寫入、是否需要即時更新或排程。

Phase 2 -- 判定技術路線

  1. THINK 讀取 rules/功能路由決策樹.md,依 Phase 1 的特徵由上而下比對,第一個命中的分支即採用,並記下被跳過的較前分支與跳過理由。

Phase 3 -- 輸出建議並做安全檢查

  1. READ 讀取 rules/Schema邊界與安全檢查判準.md。
  2. WRITE 輸出選定路線、命中的分支編號、schema 落點與已載入規則的逐條安全檢查結果;不符的項目寫成要修的設計點,不帶過。
Files

What ships with it

2 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 Changed · -16 lines e88e4bac2f59
  2. 1mo ago Changed · -1 lines 2854c168e38e
  3. 2mo ago Changed · -11 lines 5bda95f388e4
  4. 2mo ago Changed · +1 lines adef6b7d057f
  5. 2mo ago Changed · -1 lines · +12 tokens per session 9ea521b9ef93
  6. 3mo ago First seen · 56 lines · 49 tokens per session scan A 2f1c4fc7d0f2

Subscribe to this mod's changes

supabase-arch is a skill published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed 2d ago), licensed MIT. It adds 61 tokens to every session and 458 once invoked, about $0.0002 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-08-30.

Related

supabase-arch compared with skills from other repositories

supabase-arch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
supabase-archYuDefine/nuxt-supabase-starterSkill452d agoMITA61Claude Code
nw-query-optimizationnWave-ai/nWaveSkill63611d agoMITA32Claude Code
database-optimizationils15/pantheon-legacySkill1216d agoMITA25Claude Code
database-migrationils15/pantheon-legacySkill1216d agoMITA26Claude Code, Codex
supabase-postgres-best-practicesever-works/directory-web-templateSkill22yesterdayAGPL-3.0A41Claude Code, Codex
schema-designint2t05/engineering-skillsSkill31mo agoMITA27Claude Code, Codex
azure-cosmos-db-pyGhosteken/agent-harnessSkill120d agoMITA29Claude Code