db-mcp: Skill for Claude Code

.claude/skills/release/SKILL.md

release is a skill for Claude Code from apelogic-ai/db-mcp. It costs 42 tokens per session (998 once invoked), scanned A, original, MIT.

A release procedure for the db-mcp project, where a release is a prepared version of the software shared with users. It updates the version, writes release notes, checks the project, and publishes a Git tag.

In plain words
What is it for?
Use it to make patch, minor, or major releases, update both version declarations, create release notes, run checks, commit the changes, tag the release, and push it.
Why use it?
It turns several release steps into one defined process and checks that the main branch is clean before changing files. This reduces missed version updates or incomplete release records.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is apelogic-ai/db-mcp's own configuration. It tells Claude Code how to work on db-mcp 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 db-mcp configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python scripts/release_notes.py prepare NEW.

Reuse

Borrowing it

Nothing to install: this file belongs to apelogic-ai/db-mcp. 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/apelogic-ai/db-mcp/main/.claude/skills/release/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/apelogic-ai/db-mcp

Made for: Claude Code.

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 release

README.md
[![agentmods](https://agentmods.dev/badge/skills/apelogic-ai/db-mcp/release.svg)](https://agentmods.dev/skills/apelogic-ai/db-mcp/release)
Your own site
<a href="https://agentmods.dev/skills/apelogic-ai/db-mcp/release"><img src="https://agentmods.dev/badge/skills/apelogic-ai/db-mcp/release.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 998 The whole file, excluding the scripts and references it only reads on demand.
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.00042 $0.00998
Opus 5 $0.00021 $0.00499
Sonnet 5 $0.00008 $0.00200
Haiku 4.5 $0.00004 $0.00100

Measured 7d ago against content hash 68f848622e1e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

release 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 7d 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.

.claude/skills/release/SKILL.md · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Release Skill

Cut a db-mcp release. Arguments: patch (default), minor, or major.

Step 1 — Determine bump type and compute new version

Parse $ARGUMENTS. If empty or "patch" → patch bump. "minor" → minor bump. "major" → major bump.

Read current version from packages/core/pyproject.toml (project.version field).

Compute the new version by applying the bump:

  • patch: X.Y.Z → X.Y.(Z+1)
  • minor: X.Y.Z → X.(Y+1).0
  • major: X.Y.Z → (X+1).0.0

State the bump type and new version clearly before proceeding.

Step 2 — Ensure we are on main and it is clean

git branch --show-current
git status --short

If not on main, switch to main and pull latest:

git checkout main
git pull origin main

Abort with a clear message if there are uncommitted changes (tracked files only — untracked files are fine). Do NOT stash or discard changes; ask the user to handle them first.

Step 3 — Bump version in two files

Edit packages/core/pyproject.toml: change version = "OLD"version = "NEW". Edit packages/core/src/db_mcp/__init__.py: change __version__ = "OLD"__version__ = "NEW".

Step 4 — Write release notes

Create docs/releases/vNEW.md with the required sections:

  1. # Release vNEW - {Title} — derive a short title from recent commit messages
  2. ## Overview — one-paragraph summary of what changed
  3. ## Highlights — bullet list of user-facing changes
  4. ## New Features / ## Bug Fixes — as applicable (omit empty sections)
  5. ## Files Changed — table of key files and what changed
  6. ## Testing — test counts and lint status (get counts by running tests or reading recent output)

To understand what changed since the last release, run:

git log $(git describe --tags --abbrev=0 HEAD^)..HEAD --oneline

Then run:

uv run python scripts/release_notes.py prepare NEW

This validates the release notes structure and prepends them into CHANGELOG.md.

Step 5 — Update uv.lock

uv lock

Step 6 — Validate

Read the full file on GitHub · 131 lines

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. 7d ago First seen · 131 lines · 42 tokens per session scan A 68f848622e1e

Subscribe to this mod's changes

release is a skill published in the GitHub repository apelogic-ai/db-mcp (6 stars, last pushed 4mo ago), licensed MIT. It adds 42 tokens to every session and 998 once invoked, about $0.0002 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.