clade-code-quality

clade-code-quality is a skill for Claude Code from YuDefine/nuxt-supabase-starter. It costs 36 tokens per session (855 once invoked), scanned B, original, MIT.

A set of rules for code quality, error handling, safe shell commands, programming languages, and maintainable code.

In plain words
What is it for?
Use it when writing or refactoring code, scripts, error handling, or language-specific components.
Why use it?
It helps the agent avoid unsafe commands and preserve consistent, understandable code while implementing or refactoring.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when writing or refactoring code, scripts, error handling, or language-specific components.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/clade-code-quality"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/clade-code-quality.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 855 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00036 $0.00855
Opus 5.5 $0.00014 $0.00342
Sonnet 5.5 $0.00007 $0.00171
Haiku 4.5 $0.00004 $0.00085

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

Security

Grade B, and why

clade-code-quality scanned grade B with 1 finding 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- `rules/shell-script-safety.md`:shell script 的身分與清理生命週期——自己呼叫 sudo 且使用 user-level toolchain 的腳本、trap 引用函式區域變數、清理或回滾靜默未執行;且碰 `**/*.sh`、`ops/**`、`deploy/**` 等 4 處
template/.claude/skills/clade-code-quality/SKILL.md · 23 lines

What it actually says

SOP

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

  1. READ 逐條對照接下來要做的事:條件成立才把該 rule 列入候選,NEVER 整批讀。
    • rules/code-style.md:新增腳本選哪個語言(D1 決策表,Python 不再新增)、寫 code 當下的 TypeScript 語法限制(type stripping 擋不掉的三條)、副檔名與 import specifier 規則、命名與註解(SSoT 優先、該刪的註解 C0–C6;機器擋不住的那一半)、用 vp 命令驗證;工具鏈設定治理在 code-style.toolchain;且碰 **/*.{js,ts,vue,jsx,tsx,mjs,cjs,mts,cts,py,sh,rs}
    • rules/code-style.toolchain.md:lint / fmt 工具鏈治理——preset 是唯一設定入口、eslint/prettier 全面禁令、vite.config.ts 必備欄位、CI 與 pre-commit 的命令邊界、投影層排除只在 preset(consumer 業務排除寫 vite.config.ts override);format/lint check 紅了 agent 要立刻 write/fix 再驗到綠(不限 /commit);動任何工具鏈設定檔時載入;且碰 vite.config.*、nuxt.config.*、package.json 等 14 處
    • rules/coupling-cohesion.md:耦合與內聚的三層分工——import cycle / barrel 的 gate 判讀、server 碼跨界 import、跨檔重複 discriminant switch、audit 表的 NO-SCAN 語意、Review 層函式契約、第三方 SDK 邊界、以 agent 為前提的設計警訊;且碰 **/*.{ts,tsx,mts,cts,vue}
    • rules/error-handling.md:錯誤處理規範(Server 驗證 + Client 顯示);且碰 app/**/*.{vue,ts}、packages/*/app/**/*.{vue,ts}、server/**/*.ts 等 4 處
    • rules/runtime/threshold-remediation.md:Claude threshold review transport
    • rules/shell-script-safety.md:shell script 的身分與清理生命週期——自己呼叫 sudo 且使用 user-level toolchain 的腳本、trap 引用函式區域變數、清理或回滾靜默未執行;且碰 **/*.sh、ops/**、deploy/** 等 4 處
    • rules/threshold-remediation.md:audit 報門檻超標、要處置超標量之前

Phase 2 -- 只讀候選 rule 中與任務相關的段落

  1. READ rules/_sections.md 中候選 rule 的區塊(首行 <file> — 、空行結束;用 Grep 加 -A 40 取(區塊最長約 38 行,讀到空行為止,其後是下一份 rule 的區塊),NEVER 整份讀索引),只挑與任務相關的段落,用 Read 的 offset/limit 讀該行號區間。
  2. READ 標題看不出相關與否的 rule 才整份讀;NEVER 用條件清單或段落索引代替 rule 內文。
Files

What ships with it

9 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. 19d ago Changed · +1 lines scan A → B 3335634561bb
  2. 23d ago Changed f6057bbd1caa
  3. 27d ago Changed · +1 lines 12ccf8879591
  4. 1mo ago Changed fbeb8f46041f
  5. 2mo ago Changed · +12 lines e57727197a37
  6. 2mo ago First seen · 9 lines · 36 tokens per session scan A afca06a67ccb

Subscribe to this mod's changes

clade-code-quality is a skill published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed 2d ago), licensed MIT. It adds 36 tokens to every session and 855 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-13.

Related

clade-code-quality compared with skills from other repositories

clade-code-quality next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clade-code-qualityYuDefine/nuxt-supabase-starterSkill452d agoMITB36Claude Code
tokio-performanced-oit/rust-2026-templateSkill15yesterdayMITA60Claude Code, Codex
test-rustd-oit/rust-2026-templateSkill15yesterdayMITA63Claude Code, Codex
lombokt1/tdderSkill142d agoApache-2.0A139Claude Code
codingliustack/vibemasterSkill153mo agoMITA145Claude Code, Codex
rtk-tddMDMAtk/TormentNexusSkill1318d agoAGPL-3.0A61Claude Code
pixel-snapperkyh/vibedgamesSkill62todayMITA34Claude Code