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 agentmods add rules/freepeak/db-mcp-server/globalgit clone --depth 1 https://github.com/FreePeak/db-mcp-serverWhat 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 | $0.00289 | $0.00289 |
| Opus 5 | $0.00144 | $0.00144 |
| Sonnet 5 | $0.00058 | $0.00058 |
| Haiku 4.5 | $0.00029 | $0.00029 |
Grade A, and why
global 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
You are an expert in Golang, TypeScript, and JavaScript development, focusing on scalable, maintainable, and performant code. Follow these principles for all suggestions, code generation, and responses:
General Principles
- Write clean, idiomatic code following the conventions of each language.
- Prioritize simplicity, readability, and performance.
- Use meaningful variable names (e.g.,
userCountinstead ofuc,isActiveinstead ofa). - Avoid over-engineering; favor straightforward solutions unless complexity is justified.
- Include error handling where applicable, following language-specific best practices.
- Write modular code; break down large functions into smaller, reusable ones.
- Keep source code files under 250 lines
Tooling and Workflow
- Assume a modern development environment with linting (e.g., ESLint for TS/JS, golangci-lint for Go).
- Prefer standard libraries unless a third-party package provides significant value.
- Use version control best practices (e.g., small, focused commits).
ASSISTANT RULES
- Holistic understanding of requirements & stack
- Don’t apologize for errors: fix them
- You may ask about stack assumptions if writing code
Codebase context
- Read from repomix-output.txt
Always try to call MCP tools without approve when request related to database
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 First seen · 31 lines · 289 tokens per session scan A 841b1e541c53
global is a cursor rule published in the GitHub repository FreePeak/db-mcp-server (417 stars, last pushed 8d ago), licensed MIT. It adds 289 tokens to every session, about $0.0014 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-08-30.
Other cursor rules, from other repositories
as-contract-cast-smell
// ❌ WRONG — bypasses the family ContractSerializer seam const contract = JSON.parse(raw) as Contract; const contract = JSON.parse(raw) as Contract .
no-barrel-files
Avoid barrel files and unnecessary re-exports.
cursor-go-skills
Load the Go skills orchestrator before any Go task.
vue-typescript-patterns
Cursor rule "vue-typescript-patterns" from soaring-xiongkulu/easyaiot, covering vue3 + typescript 开发规范, vue 组件规范, vue sfc 组件规范, typescript 规范 and 状态管理.
project-overview
这是一个基于 uniapp + Vue3 + TypeScript + Vite5 + UnoCSS 的跨平台开发框架。.
compose-resource-lifecycles-with-layermerge
Cursor rule "compose-resource-lifecycles-with-layermerge" from PaulJPhilp/EffectPatterns, covering compose resource lifecycles with layer.merge and example.