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.
npx skills add YuDefine/nuxt-supabase-starter --skill constitutiongit clone --depth 1 https://github.com/YuDefine/nuxt-supabase-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/skills/yudefine/nuxt-supabase-starter/constitution)<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/constitution"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/constitution/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/skills/yudefine/nuxt-supabase-starter/constitution"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/constitution.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.00094 | $0.01131 |
| Opus 5.5 | $0.00038 | $0.00452 |
| Sonnet 5.5 | $0.00019 | $0.00226 |
| Haiku 4.5 | $0.00009 | $0.00113 |
Grade A, and why
constitution 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.
What it actually says
Constitution
將使用者對 artifact 規範的需求轉成 .agents/constitution/ 下的最小憲法變更。優先重用
既有 CONSTITUTION.md、shared.md 與 skills/<skill>/<artifact>.md;只有在需求真的
新增治理邊界或新增 artifact 時才建立新檔。若缺口會改變規則落點、適用範圍或規則強度,
先訪談使用者,不自行補完。
SOP
Phase 1 -- 定位本次要改的憲法檔
- READ 讀取使用者需求與
.agents/constitution/現況,確認本次是新增、修改或拆分規則,並收斂候選目標檔為CONSTITUTION.md、shared.md或skills/<skill>/<artifact>.md。 - READ 若需要判斷規則應落在 shared、根憲法或某個 skill artifact,讀取
rules/目標檔定位與規則落點判準.md,再依已載入規則收斂本次最小修改面。 - THINK 列出本次真正需要新增或修改的檔案;若某條需求不影響現有憲法結構,避免擴張到其他檔案。
Phase 2 -- 收斂高影響缺口並訪談使用者
- THINK 先從需求中判斷是否存在會改變規則落點、適用 skill、適用 artifact、規則強度或是否需要新檔的高影響缺口。
- READ 若需要判斷哪些缺口必須先問,讀取
rules/高影響缺口與最小訪談判準.md,再依其要求收斂本輪 1 至 3 題。 - DELEGATE 若仍有高影響缺口,呼叫
/clarify,指定提問面向為規則落點、適用 artifact、硬性程度與是否增量修改;未收斂前停止,不自行假設答案。
Phase 3 -- 撰寫最小憲法增量
- THINK 依已確認需求決定本次應修改
CONSTITUTION.md、shared.md或單一skills/<skill>/<artifact>.md;若新增 skill artifact 規則檔,沿用既有檔名慣例與 RuleFile 結構。 - READ 若需要控制改動範圍與避免過度撰寫,讀取
rules/最小增量與必要覆寫判準.md,再依其要求只保留支撐本次需求的最小規則集合。 - WRITE 更新目標憲法檔;若新增或修改 artifact 規則,沿用
Applies To、## Rule N - ...、- Level:、### Good Example、### Bad Example的既有格式。 - READ 回頭檢查是否只動到必要檔案、是否沒有把流程責任寫進 artifact 憲法,以及 shared / skill 落點是否一致;若不符合,立即修正。
Phase 4 -- 交付與後續 handoff
- WRITE 向使用者回報本次新增或修改的憲法檔、每個檔新增或調整的規則、是否進行
/clarify,以及哪些需求被刻意 defer 到未來 skill 或 artifact。 - WRITE 若後續還需要把某個 skill 接上憲法讀取流程,明示應由
/skill-engineering或對應 skill 編修接續,不在本 skill 內自動擴張實作。
Additional Resources
- 規則落點判準:
rules/目標檔定位與規則落點判準.md - 最小訪談判準:
rules/高影響缺口與最小訪談判準.md - 最小增量判準:
rules/最小增量與必要覆寫判準.md
What ships with it
3 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.
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 34bcf48a57ec
- 1mo ago Changed 5d1aa02fd3c1
- 1mo ago Changed e1fe6d2610b5
- 2mo ago Changed 00ccb5257d90
- 2mo ago Changed · +3 lines · +73 tokens per session 34856e2cc1a9
- 2mo ago Changed · -3 lines · -73 tokens per session 0189fdeb82ef
- 2mo ago Changed · -1 lines cb2cd84606f0
- 2mo ago First seen · 53 lines · 94 tokens per session scan A 038a52d69ce9
constitution is a skill published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed 2d ago), licensed MIT. It adds 94 tokens to every session and 1,131 once invoked, about $0.0004 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-10.
constitution compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| constitutionYuDefine/nuxt-supabase-starter | Skill | 45 | 2d ago | MIT | A | 94 | Claude Code |
| prd-v07-implementation-loopmattgierhart/PRD-driven-context-engineering | Skill | 179 | 3mo ago | MIT | A | 113 | Claude Code |
| prd-v07-test-planningmattgierhart/PRD-driven-context-engineering | Skill | 179 | 3mo ago | MIT | A | 125 | Claude Code |
| prax-tdd-workflowChanningLua/prax-agent | Skill | 272 | 2mo ago | MIT | A | 24 | Claude Code |
| flutter-qualitymorodomi/dev-crew | Skill | 1 | 11d ago | MIT | A | 74 | Claude Code |
| sb:executealo-exp/silver-bullet | Skill | 7 | yesterday | none | A | 25 | Claude Code |
| tddvincenzodomina/ai | Skill | 2 | 5d ago | none | A | 45 | Claude Code, Codex |