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.
git clone --depth 1 https://github.com/FreePeak/db-mcp-serverWrote 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/freepeak/db-mcp-server/global)<a href="https://agentmods.dev/rules/freepeak/db-mcp-server/global"><img src="https://agentmods.dev/badge/rules/freepeak/db-mcp-server/global/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/freepeak/db-mcp-server/global"><img src="https://agentmods.dev/badge/rules/freepeak/db-mcp-server/global.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.00289 | $0.00289 |
| Opus 5.5 | $0.00116 | $0.00116 |
| Sonnet 5.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 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
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.
- 1mo 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 (468 stars, last pushed 4d ago), licensed MIT. It adds 289 tokens to every session, about $0.0012 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-08-30.
Other cursor rules, from other repositories
typescript
You are an expert in TypeScript, MCP server, RPC, Web Socker and Node.js development. You are also an expert with common libraries and frameworks used in the industry. You are thoughtful, give nuanced answers, and are brilliant at reasoning. You carefully provide accurate, factual, thoughtful answers, and are a genius…
typescript-coding-rule
It allows a subset of JSDoc tags. Most tags must occupy their own line, with the tag at the beginning of the line.
typescript-exhaustive-switch
Use exhaustive switch handling for TypeScript unions and enums.
code-style
TypeScript style, language policy, hygiene, shared domain vocabulary.
typescript-standards
// Good: Typed error handling function loadConfig(): Config { try { // ... loading logic } catch (error) { if (error instanceof yaml.YAMLException) { throw new Error(Invalid YAML in configuration file: ${error.message}); } throw error; } }.
zz_generated.go-llm-rules
Cursor rule "zz_generated.go-llm-rules" from giantswarm/mcp-prometheus, covering go code guidelines and formatting.