# alibabacloud-mongodb-instances-manage

alibabacloud-mongodb-instances-manage controls Alibaba Cloud ApsaraDB for MongoDB deployments via your coding agent. Useful for managing standalone nodes, replica sets, and cluster scaling.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 174 installs · ★ 300 repo stars
- Author: aliyun
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/aliyun/alibabacloud-aiops-skills/tree/HEAD/skills/database/mongodb/alibabacloud-mongodb-instances-manage/SKILL.md
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/alibabacloud-mongodb-instances-manage

## What it does

This skill guides the agent through managing Alibaba Cloud ApsaraDB for MongoDB setups. It covers standalone databases, replica sets, and sharded clusters from provisioning to deletion. The workflow handles adding Mongos or Shard nodes, adjusting storage disks, setting maintenance windows, upgrading database engine versions, and running HA switchovers. Network tasks like IP whitelisting, password updates, and SRV record assignments are supported as well.

All actions run through the Aliyun CLI. Your environment needs Aliyun CLI version 3.3.3 or newer, along with the `dds`, `kms`, `resourcemanager`, and `bssopenapi` plugins installed. The skill polls `DBInstanceStatus` prior to issuing changes. Write commands halt immediately if the target instance reports anything other than a `Running` state.

## Requirements
- Works with: MongoDB

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-mongodb-instances-manage -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/alibabacloud-mongodb-instances-manage/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/alibabacloud-mongodb-instances-manage/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-mongodb-instances-manage -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/alibabacloud-mongodb-instances-manage/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-mongodb-instances-manage -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/alibabacloud-mongodb-instances-manage/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install aliyun/alibabacloud-aiops-skills skills/database/mongodb/alibabacloud-mongodb-instances-manage
```

2. **Manually: put the files in place**
- File: `.github/skills/alibabacloud-mongodb-instances-manage/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-mongodb-instances-manage -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/aliyun/alibabacloud-aiops-skills --path skills/database/mongodb/alibabacloud-mongodb-instances-manage
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/alibabacloud-mongodb-instances-manage/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-mongodb-instances-manage -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/aliyun/alibabacloud-aiops-skills/tree/HEAD/skills/database/mongodb/alibabacloud-mongodb-instances-manage/SKILL.md

## When to use it
- provision standalone, replica set, or sharded MongoDB instances on Alibaba Cloud
- scale Mongos and Shard nodes or resize cloud disk volumes
- configure IP whitelists, public endpoints, and SRV addresses
- trigger database backups, HA switchovers, or version upgrades

## Example prompts
- List all MongoDB instances in the cn-beijing region
- Add another Mongos node to my sharded cluster
- Configure the security IP whitelist for database dds-xxx

## Similar
- [mongodb](https://affpapa.org/en/nevibecode/skills/devops-skills-mongodb.md) — skill · 376 installs
- [mongodb-atlas](https://affpapa.org/en/nevibecode/plugins/mongodb-atlas.md) — plugin · ★ 206 repo stars
- [mongodb-query-optimizer](https://affpapa.org/en/nevibecode/skills/mongodb-query-optimizer.md) — skill · 7700 installs
- [705-technologies-nosql-mongodb](https://affpapa.org/en/nevibecode/skills/705-technologies-nosql-mongodb.md) — skill · 216 installs
- [mongodb-expert](https://affpapa.org/en/nevibecode/skills/mongodb-expert.md) — skill · 195 installs
- [mongodb-skills](https://affpapa.org/en/nevibecode/plugins/mongodb-skills.md) — plugin · ★ 1216 repo stars

From the same set: [aliyun/alibabacloud-aiops-skills](https://affpapa.org/en/nevibecode/by/aliyun/alibabacloud-aiops-skills.md) — 66 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
