cloud-sql-mysql-lifecycle

cloud-sql-mysql-lifecycle is a skill for Claude Code, Codex from tmolavi/mcp-agent-skills-hub. It costs 40 tokens per session (2,237 once invoked), scanned A, original, MIT.

A set of scripts for managing backups, restores, and copies of MySQL databases running in Google Cloud SQL.

In plain words
What is it for?
Use it to create backups, restore data, and clone MySQL instances for recovery or testing.
Why use it?
It helps protect data and create recovery or testing environments from previous database states.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create backups, restore data, and clone MySQL instances for recovery or testing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tmolavi/mcp-agent-skills-hub/cloud-sql-mysql-lifecycle
Install

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.

Any agent
npx skills add tmolavi/mcp-agent-skills-hub --skill cloud-sql-mysql-lifecycle
Clone the repo
git clone --depth 1 https://github.com/tmolavi/mcp-agent-skills-hub

Made for: Claude Code, Codex.

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 cloud-sql-mysql-lifecycle

README.md
[![agentmods](https://agentmods.dev/badge/skills/tmolavi/mcp-agent-skills-hub/cloud-sql-mysql-lifecycle/github.svg)](https://agentmods.dev/skills/tmolavi/mcp-agent-skills-hub/cloud-sql-mysql-lifecycle)
Your own site
<a href="https://agentmods.dev/skills/tmolavi/mcp-agent-skills-hub/cloud-sql-mysql-lifecycle"><img src="https://agentmods.dev/badge/skills/tmolavi/mcp-agent-skills-hub/cloud-sql-mysql-lifecycle/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 cloud-sql-mysql-lifecycle

Your own site · 80×15
<a href="https://agentmods.dev/skills/tmolavi/mcp-agent-skills-hub/cloud-sql-mysql-lifecycle"><img src="https://agentmods.dev/badge/skills/tmolavi/mcp-agent-skills-hub/cloud-sql-mysql-lifecycle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,237 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.00040 $0.02237
Opus 5 $0.00020 $0.01118
Sonnet 5 $0.00008 $0.00447
Haiku 4.5 $0.00004 $0.00224

Measured 9d ago against content hash b7708e3db910, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

cloud-sql-mysql-lifecycle 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 9d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/clone_instance.js, scripts/create_backup.js, scripts/get_instance.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/cloud-sql-mysql-lifecycle/SKILL.md · 214 lines

How it starts

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

Usage

All scripts can be executed using Node.js. Replace <param_name> and <param_value> with actual values.

Bash: node <skill_dir>/scripts/<script_name>.js '{"<param_name>": "<param_value>"}'

PowerShell: node <skill_dir>/scripts/<script_name>.js '{\"<param_name>\": \"<param_value>\"}'

Note: The scripts automatically load the environment variables from various .env files. Do not ask the user to set vars unless skill executions fails due to env var absence.

Scripts

clone_instance

Clone an existing Cloud SQL instance into a new instance. The clone can be a direct copy of the source instance, or a point-in-time-recovery (PITR) clone from a specific timestamp. The call returns a Cloud SQL Operation object. Call wait_for_operation skill after this, make sure to use multiplier as 4 to poll the opertation status till it is marked DONE.

Parameters
Name Type Description Required Default
project string The GCP project No
: : : ID. This is : : :
: : : pre-configured; : : :
: : : do not ask for : : :
: : : it unless the : : :
: : : user explicitly : : :
: : : provides a : : :
: : : different one. : : :
sourceInstanceName string The name of the Yes
: : : instance to be : : :
: : : cloned. : : :
destinationInstanceName string The name of the Yes
: : : new instance : : :
: : : that will be : : :
: : : created by : : :
: : : cloning the : : :
: : : source : : :
: : : instance. : : :
pointInTime string The timestamp No
: : : in RFC 3339 : : :
: : : format to which : : :
: : : the source : : :
: : : instance should : : :
: : : be cloned. : : :
preferredZone string The preferred No
: : : zone for the : : :
: : : new instance. : : :
preferredSecondaryZone string The preferred No
: : : secondary zone : : :
: : : for the new : : :
: : : instance. : : :

Read the full file on GitHub · 214 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 214 lines · 40 tokens per session scan A b7708e3db910

Subscribe to this mod's changes

cloud-sql-mysql-lifecycle is a skill published in the GitHub repository tmolavi/mcp-agent-skills-hub (8 stars, last pushed 17d ago), licensed MIT. It adds 40 tokens to every session and 2,237 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-09-03.

Related

Other skills, from other repositories

bailian-train-deploy

A workflow for using Alibaba Cloud’s Bailian command-line tool to fine-tune or directly deploy AI models as callable services. It covers text, speech-synthesis, image-generation, and video-generation models.

modelstudioai/skills · 321 tokens

postgres

Configure DigitalOcean Managed Postgres with bindable variables or schema isolation. Use when setting up databases, creating users, managing permissions, configuring multi-tenant schemas, or troubleshooting database connectivity on App Platform.

digitalocean-labs/do-app-platform-skills · 42 tokens

com.googleapis.memorystore-mcp-mcp

Provides tools to manage Memorystore for Valkey instances and backups.

Friz-zy/ai-capability-registry · 23 tokens

data-exploration

Profile and explore datasets to understand their shape, quality, and patterns before analysis. Use when encountering a new dataset, assessing data quality, discovering column distributions, identifying nulls and outliers, or deciding which dimensions to analyze.

w95/awesome-claude-corporate-skills · 50 tokens

Schema Design

Scalable and secure schema design patterns for relational databases, NoSQL, and APIs. / TR: İlişkisel veri tabanları, NoSQL ve API'ler için ölçeklenebilir ve güvenli şema tasarım kalıpları.

GktuOktay/ai-skills · 55 tokens

db-architect-security

Database schema design, ORM model configuration, query optimization, and database security standards. / TR: Veritabanı mimarisi, güvenlik standartları, ORM yapılandırmaları ve veritabanı tasarımı için yetenek.

GktuOktay/ai-skills · 53 tokens