mysql-mcp-server: Instructions file for Codex

AGENTS.md

mysql-mcp-server AGENTS.md is an instructions file for Codex, OpenCode from askdba/mysql-mcp-server. It costs 430 tokens per session, scanned A, original, Apache-2.0.

Project instructions for mysql-mcp-server, a Go server that lets coding agents work with MySQL through MCP tools.

In plain words
What is it for?
Following the repository’s branching and worktree process, running Go builds and tests, checking integration paths such as SSH and Docker, and preparing changes for a pull request.
Why use it?
They define the project workflow and verification requirements so changes are tested consistently before review or release.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents; mentions Codex.

This is askdba/mysql-mcp-server's own configuration. It tells Codex and OpenCode how to work on mysql-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mysql-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to askdba/mysql-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/askdba/mysql-mcp-server/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/askdba/mysql-mcp-server

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for mysql-mcp-server AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/askdba/mysql-mcp-server/agents-md/github.svg)](https://agentmods.dev/instructions/askdba/mysql-mcp-server/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/askdba/mysql-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/askdba/mysql-mcp-server/agents-md/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.

agentmods 80×15 button for mysql-mcp-server AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/askdba/mysql-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/askdba/mysql-mcp-server/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 430 This file is loaded in full into every session.
When invoked 430 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00430 $0.00430
Opus 5.5 $0.00172 $0.00172
Sonnet 5.5 $0.00086 $0.00086
Haiku 4.5 $0.00043 $0.00043

Measured 21d ago against content hash ffdcb3f7176c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mysql-mcp-server AGENTS.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 21d 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.

AGENTS.md · 28 lines

What it actually says

Agent instructions

This file guides AI coding agents (Cursor, Codex, Copilot CLI, and similar) working on mysql-mcp-server.

Workflow

Follow workflow.md for branching, worktrees, multi-agent splits, verification, and how to finish work (merge / PR / cleanup). Do not skip that process because a change already exists on main—verification and finishing steps still apply.

Priority

  1. Explicit user or maintainer instructions in this repo (e.g. issue text, PR comments, chat) take precedence.
  2. Installed agent skills (for example the Superpowers plugin) override generic defaults where they apply.
  3. Otherwise use normal Go and project conventions.

Project basics

  • Language: Go (go 1.26+ per go.mod).
  • Tests: Run go test ./... before treating work as complete. Integration tests (make test-integration or Compose-backed targets in the Makefile) matter when you touch connection, tools, or Docker/SSH paths.
  • Scope: Keep changes focused on the requested task; avoid unrelated refactors.

Before opening a PR

Run CI parity commands in workflow.md (build, vet, tests, optional race coverage) so local results match .github/workflows/go-ci.yml and the QA unit job. After you push, Go CI and QA run on GitHub; address bot / automated review feedback when it flags real bugs, security issues, or regressions.

Superpowers alignment (summary)

When the environment provides Superpowers-style skills (using-git-worktrees, writing-plans, subagent-driven-development, dispatching-parallel-agents, finishing-a-development-branch, etc.), use them in line with workflow.md. Parallel agents are for independent subproblems; shared design or one root cause should stay sequential.

Changes

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.

  1. 21d ago Changed ffdcb3f7176c
  2. 2mo ago First seen · 28 lines · 430 tokens per session scan A 47ef3edb7d3b

Subscribe to this mod's changes

mysql-mcp-server AGENTS.md is an instructions file published in the GitHub repository askdba/mysql-mcp-server (44 stars, last pushed 2d ago), licensed Apache-2.0. It adds 430 tokens to every session, about $0.0017 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.

Related

mysql-mcp-server AGENTS.md compared with instructions from other repositories

mysql-mcp-server AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mysql-mcp-server AGENTS.mdaskdba/mysql-mcp-serverInstructions file442d agoApache-2.0A430Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode