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 rules/yudefine/nuxt-supabase-starter/db-reset-coordinationWrote 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/rules/yudefine/nuxt-supabase-starter/db-reset-coordination)<a href="https://agentmods.dev/rules/yudefine/nuxt-supabase-starter/db-reset-coordination"><img src="https://agentmods.dev/badge/rules/yudefine/nuxt-supabase-starter/db-reset-coordination/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/rules/yudefine/nuxt-supabase-starter/db-reset-coordination"><img src="https://agentmods.dev/badge/rules/yudefine/nuxt-supabase-starter/db-reset-coordination.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.00266 | $0.00266 |
| Opus 5 | $0.00133 | $0.00133 |
| Sonnet 5 | $0.00053 | $0.00053 |
| Haiku 4.5 | $0.00027 | $0.00027 |
Grade A, and why
db-reset-coordination 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 2d 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
DB Reset Coordination
每一次從 primary checkout reset dev DB 前,MUST 先跑:
node scripts/db-reset-peer-coordination.ts coordinate --cwd "$(pwd)"
只有 safe_to_reset 才可 reset。Helper 以 git common-dir 找同專案 Herdr peers;resetting/dependent peer 完成或到 checkpoint 後 release,requester 最後 reset。
Iron Law:未收斂就不 reset;warning、title、idle/done 都不是同意。 缺回覆、Herdr 不可用、identity/correlation mismatch、timeout 均 fail closed;agent MUST 自行協調,NEVER 照跑或叫 user 排序。
Linked worktree 回 not_applicable 後走 DB topology rule;shared/canonical DB 另須 db-lease。Herdr NEVER 傳 secret、credential 或 DB row data。
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.
- 2d ago Changed · +1 lines · +14 tokens per session 5b936a0cf752
- 6d ago First seen · 24 lines · 252 tokens per session scan A ea23cbd2d762
db-reset-coordination is a cursor rule published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed yesterday), licensed MIT. It adds 266 tokens to every session, about $0.0013 per session on Opus 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-03.
Other cursor rules, from other repositories
no-target-branches
Never branch on target - use adapters instead.
workflow
Development workflow and commit practices.
practices
Engineering practices and definition of done for agent work.
sveltekit-spa
You are an expert SvelteKit engineer. Follow these rules ALWAYS when generating or editing code.
speckit_speckit.git.commit
Proxy for the speckit.git.commit workflow.
neon
Cursor rule "neon" from jesseoue/cursor-rules, covering branch management scripts, scripts/create-branch.sh, add neon cli commands here, scripts/deploy-to-branch.sh and run migrations on the specific branch.