clade-security

clade-security is a skill for Claude Code from YuDefine/nuxt-supabase-starter. It costs 34 tokens per session (1,406 once invoked), scanned A, original, MIT.

A set of rules for authentication, secrets, production access, security boundaries, and user identity and authorization.

In plain words
What is it for?
Use it when changing sign-in, permissions, credentials, production MCP access, or user lifecycle behavior.
Why use it?
It helps prevent unsafe changes to credentials, access controls, and production connections.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

Good fit Use it when changing sign-in, permissions, credentials, production MCP access, or user lifecycle behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yudefine/nuxt-supabase-starter/clade-security
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 clade-security
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 clade-security

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/clade-security"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/clade-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,406 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.
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.00034 $0.01406
Opus 5.5 $0.00014 $0.00562
Sonnet 5.5 $0.00007 $0.00281
Haiku 4.5 $0.00003 $0.00141

Measured 19d ago against content hash 6dc5b45b20ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clade-security 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 19d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

template/.claude/skills/clade-security/SKILL.md · 29 lines

How it starts

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

SOP

Phase 1 -- 用任務挑出要讀的 rule

  1. READ 逐條對照接下來要做的事:條件成立才把該 rule 列入候選,NEVER 整批讀。
    • rules/api-handler-semantics.md:Server API handler 的授權(BOLA/BOPLA/rate limit/webhook 驗簽)、mutation 語意完整性、冪等與 retry 規範;cf-workers 與 nitro-self-hosted 兩種 runtime 共用;且碰 server/**/*.ts、packages/*/server/**/*.ts
    • rules/auth-data-path-consistency.md:新專案選 auth 模組、Auth 策略與資料存取路徑一致性——防止混合 auth 狀態導致 silent 權限降級;且碰 drizzle.config.ts、packages/*/drizzle.config.ts、app/**/*.ts 等 11 處
    • rules/auth-roles.md:寫角色判斷、superuser 放行、首位管理員 bootstrap、per-record 權限表時的判準(平台角色與組織角色分層、bootstrap 防搶、權限表帶 org 與同源動作字彙);且碰 server/api/**/*.ts、server/routes/**/*.ts、server/utils/**/*.ts 等 12 處
    • rules/auth.md:認證相關程式碼(login, session, user, auth);且碰 app/**/*.{vue,ts}、packages/*/app/**/*.{vue,ts}、server/**/*.ts 等 4 處
    • rules/dev-login.md:Dev-login routes must stay local-only while giving screenshot review and E2E a canonical way to mint test sessions.;且碰 server/routes/auth/**/*dev-login*.ts、server/routes/auth/**/*test-login*.ts、server/api/_dev/**/*.ts 等 12 處
    • rules/prod-access.md:agent 讀寫 production DB 的標準——讀走 prod-sql read(專用唯讀角色 agent_ro,免提示);寫只有 update,走 prod-sql plan --expect --source → 沒有警訊的例行 plan 由 agent 自己 apply(DB 只授白名單表 UPDATE,人不逐筆核准;有警訊、新增或刪除改走 migration);prod 寫入前要有經 PR 合入的異地備份宣告,以及回退三層、接入步驟與已知限制。觸發:要查 prod 資料當證據、要修 prod 資料、要讓 consumer 接入、判斷某個 prod 動作要不要人授權(§ 誰要同意)、要以 supabase_admin 連線或 SET ROLE(先 flow ask 當次授權)、或 prod-sql 回報拒絕;且碰 scripts/prod-sql.ts、vendor/scripts/prod-sql.ts、.claude/prod-access.json 等 5 處
    • rules/prod-mcp-safety.enforcement.md:prod Supabase MCP 封鎖的逐端設定表(Claude permissions.deny)、只能 deny NEVER allow-or-ask 的逐字禁令、server 端 read_only=true 的版本條件與 tools/list 驗收、整批交易語義(任一端封鎖未證實則全部零寫入)、違反後果實證與偵測入口。觸發是「正在新增/啟用/同步 prod MCP 連線」,綁得到設定檔故 path-scoped;且碰 .mcp.json、.claude/settings.json、.claude/settings.local.json
    • rules/prod-mcp-safety.md:要呼叫 prod MCP,或改 MCP 設定之前
    • rules/public-repo-hygiene.md:在 PUBLIC repo 的 consumer 寫或改自家 tracked 檔(HANDOFF、tasks、docs、decisions)、接 pre-commit 或 CI hygiene gate 時套用——其他 consumer/客戶代號與個人路徑只准以 placeholder 出現,gate 必須掃整棵 tracked tree;且碰 .github/workflows/**、.husky/**、.vite-hooks/** 等 7 處
    • rules/secret-custody.md:有 secret、token、credential 的值到你手上時
    • rules/secrets.md:Cloudflare Workers secret 管理規約 — single source of truth = GitHub Secret,CI 以 void secret sync 注入;且碰 .github/workflows/**/*.yml、void.config.ts
    • rules/security-policy.md:SECURITY.md 安全憲法的形狀契約(五段固定、不變量標執行層);且碰 SECURITY.md、packages/*/SECURITY.md、server/middleware/** 等 8 處
    • rules/user-lifecycle.md:User lifecycle 規範(soft-delete / suspend / hard-delete 的 FK 策略與 guard pattern);且碰 server/api/**/user*、packages/*/server/api/**/user*、server/api/**/member* 等 11 處

Read the full file on GitHub · 29 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. 19d ago Changed · +3 lines 6dc5b45b20ad
  2. 23d ago Changed · +1 lines a2d419e28875
  3. 27d ago Changed · -1 lines db97598f2e03
  4. 1mo ago Changed · +2 lines f5d227251b57
  5. 1mo ago Changed · +1 lines c0e88df5a351
  6. 2mo ago Changed · +14 lines decb05fbf590
  7. 2mo ago First seen · 9 lines · 34 tokens per session scan A 4e98fc0b57c4

Subscribe to this mod's changes

clade-security is a skill published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed 2d ago), licensed MIT. It adds 34 tokens to every session and 1,406 once invoked, about $0.0001 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-13.

Related

clade-security compared with skills from other repositories

clade-security next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clade-securityYuDefine/nuxt-supabase-starterSkill452d agoMITA34Claude Code
prd-v07-implementation-loopmattgierhart/PRD-driven-context-engineeringSkill1793mo agoMITA113Claude Code
prd-v07-test-planningmattgierhart/PRD-driven-context-engineeringSkill1793mo agoMITA125Claude Code
prax-tdd-workflowChanningLua/prax-agentSkill2722mo agoMITA24Claude Code
flutter-qualitymorodomi/dev-crewSkill111d agoMITA74Claude Code
sb:executealo-exp/silver-bulletSkill7yesterdaynoneA25Claude Code
tddvincenzodomina/aiSkill25d agononeA45Claude Code, Codex