huawei-cloud-rds-mysql-replica-promotion

huawei-cloud-rds-mysql-replica-promotion is a skill for Claude Code, Codex from huaweicloud/huaweicloud-skills. It costs 118 tokens per session (5,714 once invoked), scanned A, original, MIT.

A Huawei Cloud RDS for MySQL conversion workflow that changes a single database instance into a primary/standby high-availability instance. RDS is Huawei Cloud's managed database service; primary/standby means a second instance can support service continuity.

In plain words
What is it for?
Use it to assess and carry out a single-to-high-availability conversion for an active RDS for MySQL instance.
Why use it?
It provides checks, optional backup, progress monitoring, and result verification for an irreversible change. This helps expose prerequisites, cost considerations, and conversion risks before execution.

Skill for Claude CodeCodex

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

Good fit Use it to assess and carry out a single-to-high-availability conversion for an active RDS for MySQL instance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huaweicloud/huaweicloud-skills/huawei-cloud-rds-mysql-replica-promotion
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 huaweicloud/huaweicloud-skills --skill huawei-cloud-rds-mysql-replica-promotion
Clone the repo
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-skills

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 huawei-cloud-rds-mysql-replica-promotion

README.md
[![agentmods](https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-rds-mysql-replica-promotion/github.svg)](https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-rds-mysql-replica-promotion)
Your own site
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-rds-mysql-replica-promotion"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-rds-mysql-replica-promotion/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 huawei-cloud-rds-mysql-replica-promotion

Your own site · 80×15
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-rds-mysql-replica-promotion"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-rds-mysql-replica-promotion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,714 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.00118 $0.05714
Opus 5.5 $0.00047 $0.02286
Sonnet 5.5 $0.00024 $0.01143
Haiku 4.5 $0.00012 $0.00571

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

Security

Grade A, and why

huawei-cloud-rds-mysql-replica-promotion 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.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/convert.py, scripts/list_azs.py, scripts/list_instances.py, …), 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/storage/rds/huawei-cloud-rds-mysql-replica-promotion/SKILL.md · 210 lines

How it starts

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

Huawei Cloud RDS Single-to-HA Conversion

Overview

Use the hcloud (KooCLI) command-line tool to convert a Huawei Cloud RDS for MySQL single instance to a primary/standby (HA) instance, with strict precondition checks, an optional pre-conversion manual backup, conversion task polling, and result verification. This conversion is irreversible, so the workflow requires explicit user confirmation before executing the change step, and presents the risks and impact of the conversion up front.

Prerequisites

  • Python >= 3.9
  • hcloud >= 7.2.2 with AKSK authentication configured (hcloud configure init)
  • The target RDS for MySQL instance MUST currently be a Single instance in ACTIVE state

Workflow

Copy the checklist below and track progress:

- [ ] Step 0: Risk Disclosure and Confirmation
- [ ] Step 1: Environment Check
- [ ] Step 2: Region Confirmation (optional)
- [ ] Step 3: Instance Discovery and Selection (optional)
- [ ] Step 4: Availability Zone Discovery and Selection (optional)
- [ ] Step 5: Precondition Check
- [ ] Step 6: Cost Assessment
- [ ] Step 7: Pre-conversion Monitoring Baseline
- [ ] Step 8: Execute Single-to-HA Conversion
- [ ] Step 9: Result Confirmation and Monitoring Comparison
- [ ] Step 10: Workflow Summary

Step 0: Risk Disclosure and Confirmation

  • MUST read risks-and-impact.md and present its complete content to the user — do NOT summarize or omit any section, table, or note. The section-coverage checklist below mirrors the document's structure; every item MUST be presented:
    • Section 1: Inherent Risks of a Single-Instance Deployment (the R-001..R-005 risk table)
    • Section 2: Capability Comparison: Single vs Primary/Standby (the comparison table)
    • Section 3: Operational Impact of Converting to Primary/Standby (the impact table, the "Why CPU rises" note, and the "Instance status during the conversion" note)
    • Section 4: Cost Explanation (the billing modes table, the prepaid price-difference calculation, and the other costs note)
    • Section 5: Rollback Guidance
  • MUST ask the user to explicitly confirm after presenting the complete risk disclosure
  • If the user does not confirm or chooses to exit, MUST terminate the workflow without any cloud operation
  • The risk disclosure is informational; it does not replace the final explicit confirmation in Step 8

Read the full file on GitHub · 210 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 · 210 lines · 118 tokens per session scan A 53434f294222

Subscribe to this mod's changes

huawei-cloud-rds-mysql-replica-promotion is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (59 stars, last pushed today), licensed MIT. It adds 118 tokens to every session and 5,714 once invoked, about $0.0005 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-10-31.

Related

huawei-cloud-rds-mysql-replica-promotion compared with skills from other repositories

huawei-cloud-rds-mysql-replica-promotion next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
huawei-cloud-rds-mysql-replica-promotionhuaweicloud/huaweicloud-skillsSkill59todayMITA118Claude Code, Codex
cis-aws-database-3.2CyberStrikeus/CyberStrikeSkill3.4ktodayAGPL-3.0A17Claude Code, Codex
cis-aws-foundations-3.2.4CyberStrikeus/CyberStrikeSkill3.4ktodayAGPL-3.0A26Claude Code, Codex
cis-aws-database-3.10CyberStrikeus/CyberStrikeSkill3.4ktodayAGPL-3.0A16Claude Code, Codex
cis-aws-database-5.11CyberStrikeus/CyberStrikeSkill3.4ktodayAGPL-3.0A18Claude Code, Codex
cis-aws-database-5.12CyberStrikeus/CyberStrikeSkill3.4ktodayAGPL-3.0A24Claude Code, Codex
cloud-databases-onboardinggoogle/skillsSkill23ktodayApache-2.0A83Claude Code, Codex