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 instructions/neverinfamous/mysql-mcp/copilot-instructionsgit clone --depth 1 https://github.com/neverinfamous/mysql-mcpWrote 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/instructions/neverinfamous/mysql-mcp/copilot-instructions)<a href="https://agentmods.dev/instructions/neverinfamous/mysql-mcp/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/neverinfamous/mysql-mcp/copilot-instructions.svg" alt="Measured on agentmods" 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 | $0.01678 | $0.01678 |
| Opus 5 | $0.00839 | $0.00839 |
| Sonnet 5 | $0.00336 | $0.00336 |
| Haiku 4.5 | $0.00168 | $0.00168 |
Grade A, and why
mysql-mcp copilot-instructions.md 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.
mysql-mcp — Copilot Code Review Context
Enforce Core Architecture Rules
Ensure PRs adhere to these SSoT architectural rules:
- Tool filtering skips MySQL connections when using exclusively router, proxysql, or shell tools.
- Code Mode (
mysql_execute_code) significantly reduces token usage. - Cache:
METADATA_CACHE_TTL_MScontrols the cache TTL (default 30000). - Transports: Supports
stdioand streamablehttp(MCP v2 stateless architecture viaNodeStreamableHTTPServerTransport). - Validation: Ensure parameter alias validation at the MCP boundary (via the Dual-Schema Pattern).
- Authentication: Secure connections with Bearer Tokens or OAuth.
- Features: Tool filtering, token logging, and ecosystem integrations for MySQL Router, ProxySQL, and Shell.
Review Session Context
Read memory://briefing/mysql-mcp from memory-journal-mcp before starting. This provides essential real-time context:
- Recent journal entries — what was just worked on by the development agent
- GitHub status — open issues, PRs, CI status, milestones
- Workflow runs — recent CI/CD results
- Copilot review summaries — your own recent review findings
For detailed session handoff context, search for entries tagged session-summary. These contain end-of-session notes from the development agent.
Log review issues using mj_execute_code. Agents review these findings during their next session briefings.
Uphold Coding Standards
Standardize File Naming
- Files and folders: Always kebab-case (
schema-manager.ts,tool-filter.ts)- Exception:
.githubrepository templates may usesnake_case.
- Exception:
- Never PascalCase or camelCase for filenames
Maintain Modularity
- File size limit: Source files stay under ~500 lines
- Split pattern:
foo.ts→foo/directory with sub-modules +foo/index.tsbarrel re-export - Logical grouping: Split by functional cohesion, not arbitrary line counts
Enforce Type Safety
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.
- 4d ago First seen · 137 lines · 1,678 tokens per session scan A 46010223a53a
mysql-mcp copilot-instructions.md is an instructions file published in the GitHub repository neverinfamous/mysql-mcp (10 stars, last pushed 10d ago), licensed MIT. It adds 1,678 tokens to every session, about $0.0084 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-31.
Other instructions, from other repositories
MCP-MySQL-Ops copilot-instructions.md
Instructions for call518/MCP-MySQL-Ops, covering mcp mysql operations server - ai coding agent instructions, architecture overview, core components, key patterns and correct - mysql returns uppercase column names.
graphjin AGENTS.md
AGENTS.md instructions for dosco/graphjin, covering graphjin agent guide, architectural overview, directory structure & responsibilities, build commands and coding guidelines.
databasement CLAUDE.md
Claude Code instructions for David-Crty/databasement, covering claude.md, project overview, development commands, setup and installation and running the application.
cli AGENTS.md
AGENTS.md instructions for planetscale/cli, covering planetscale cli — agent guide, public repository safety, concepts, flag placement and correct.
Chat2DB AGENTS.md
AGENTS.md instructions for OtterMind/Chat2DB, covering chat2db community agent contract, context, product invariants, repository map and structural code navigation.
dory AGENTS.md
AGENTS.md instructions for dorylab/dory, covering agents.md, product model, core source areas, commands and coding rules.