# cloud-qiniu

> Operates Qiniu Cloud object storage and CDN through the qshell CLI, covering bucket listing, file upload/download, batch operations, and CDN refresh.

- Skill: `scoheart/cloud-qiniu` (Agent Skill)
- Install (CLI): `npx skillmds add scoheart/cloud-qiniu`
- Raw SKILL.md: https://api.skillmd.com/api/skills/scoheart/cloud-qiniu/raw
- Safety review: CAUTION (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra, Cloud Platforms
- Tags: Cdn, Kodo, Object Storage, Qiniu, Qshell
- Author: Scoheart (https://skillmd.com/u/scoheart)
- Updated: 2026-08-22
- Page: https://skillmd.com/skills/scoheart/cloud-qiniu

---


# 七牛云 Operator Skill

## 安装 CLI
```bash
# macOS
brew install qiniu

# 或手动下载
curl -o qshell https://developer.qiniu.com/kodo/tools/3829/qshell
chmod +x qshell
```

## 认证
```bash
qshell account <AccessKey> <SecretKey> <Name>
```

## 常用命令
```bash
# 存储桶
qshell listbucket <bucket>
qshell buckets

# 上传下载
qshell fput <bucket> <key> <localfile>
qshell get <bucket> <key> -o <outputfile>
qshell qupload <upload-config.json>

# 批量操作
qshell batchdelete <bucket> -i <key-list-file>
qshell batchchtype <bucket> -i <key-list-file> -t <mimetype>

# CDN
qshell cdnrefresh -i <url-list-file>
qshell cdnprefetch -i <url-list-file>

# 域名
qshell domains <bucket>
```

## 安全机制
- 只读操作：直接执行
- 写操作：先确认后执行
