Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/YuDefine/nuxt-supabase-starternpx agentmods add commands/yudefine/nuxt-supabase-starter/validate-starterWrote 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.
[](https://agentmods.dev/commands/yudefine/nuxt-supabase-starter/validate-starter)<a href="https://agentmods.dev/commands/yudefine/nuxt-supabase-starter/validate-starter"><img src="https://agentmods.dev/badge/commands/yudefine/nuxt-supabase-starter/validate-starter/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.
<a href="https://agentmods.dev/commands/yudefine/nuxt-supabase-starter/validate-starter"><img src="https://agentmods.dev/badge/commands/yudefine/nuxt-supabase-starter/validate-starter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00029 | $0.00842 |
| Opus 5.5 | $0.00012 | $0.00337 |
| Sonnet 5.5 | $0.00006 | $0.00168 |
| Haiku 4.5 | $0.00003 | $0.00084 |
Grade C, and why
Validate Starter scanned grade C 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 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf template/temp/validate-starter How it starts
The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Validate Starter Template
此 command 屬 root meta 維護層,只給 starter 維護者使用。scaffold 出去的使用者專案不會拿到它
(見 .claude/rules/starter-hygiene.md § L3 Commands Hygiene)。
驗證對象是本 repo 的 template/ starter seed,而不是當前 repo root。
Instructions
Phase 1: 結構與文件基線(root script)
bash scripts/validate-starter.sh # auto 偵測 demo / clean 模式
bash scripts/validate-starter.sh clean # 指定驗證 clean 模式
bash scripts/validate-starter.sh demo # 指定驗證 demo 模式
該 script 以 template/ 為 root,涵蓋:
- Phase 1 結構檢查(
.claude/、app/、server/、docs/decisions/) - Phase 2
package.jsonscripts 完備性 - Phase 3 文件關鍵字一致性
- Phase 3b 退役 spec 工具鏈殘留檢查(openspec/spectra 不得存在)
- Phase 4 mode-specific 檢查
Phase 3b 一律要求退役工具鏈缺席;任何 openspec/spectra 路徑出現即 FAIL。
Phase 2: Scaffold 模擬(preset 全覆蓋)
cd template && node ../scripts/validate-starter-scaffold.mjs
scripts/validate-starter-scaffold.mjs 會對每個 preset(baseline / d-pattern-audit /
nuxthub-ai / none)跑 scaffold simulation,把輸出落在 template/temp/validate-starter/,
並驗證 strip manifest 與 audit signal。
Phase 3: Public hygiene
bash scripts/audit-template-hygiene.sh # starter pollution 檢查
node scripts/audit-public-hygiene.mjs # L3 commands / skills allowlist 檢查
Phase 4: 手動一致性抽查
比對 template/docs/QUICK_START.md、template/README.md、template/docs/CLAUDE_CODE_GUIDE.md
內描述的目錄樹與實際結構:
grep -n "├──\|└──" template/docs/QUICK_START.md template/docs/CLAUDE_CODE_GUIDE.md template/README.md
Phase 5: Tech Stack 對照
從 template/README.md 的 Tech Stack 章節解析 [Name](url) 連結,與 template/package.json
的 dependencies 比對,確認 README 宣稱的技術都實際安裝。
Output
輸出驗證報告:
## Starter Validation Report
**來源 Commit**: <git rev-parse --short HEAD>
| 階段 | 狀態 | 備註 |
| --------------------------- | ----- | ---- |
| validate-starter.sh | ✅/❌ | |
| validate-starter-scaffold | ✅/❌ | |
| audit-template-hygiene | ✅/❌ | |
| audit-public-hygiene | ✅/❌ | |
| 文件一致性 | ✅/❌ | |
| Tech Stack | ✅/❌ | |
## 總結: **PASS** / **FAIL**
### 發現的問題(如有)
1. ...
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.
- 1mo ago Changed · -1 lines 38171f838c1b
- 1mo ago Changed 607b0a402fe0
- 3mo ago First seen · 95 lines · 29 tokens per session scan C 74cd3bde2e88
Validate Starter is a command published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed 2d ago), licensed MIT. It adds 29 tokens to every session and 842 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Validate Starter compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Validate StarterYuDefine/nuxt-supabase-starter | Command | 45 | 2d ago | MIT | C | 29 | Claude Code |
| bugfixnWave-ai/nWave | Command | 636 | 11d ago | MIT | A | 18 | Claude Code |
| go-testraja21068/AutoResearch | Command | 2 | 6mo ago | MIT | A | 8 | Claude Code |
| checklistgithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | today | MIT | A | 27 | Claude Code |
| analyzegithub/spec-kit | Command | 153k | today | MIT | A | 26 | Claude Code |
| specifygithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |