Directory Compare FCRS-1.0 About /llms.txt

Qiniu Cloud qshell

$ qshell Official High Risk
Qiniu Cloud · Cloud & Infra · MIT · macos / linux / windows · Reviewed:

Qiniu qshell is Qiniu Cloud's official MIT Go CLI for Kodo object storage, batch file transfers, bucket management, and CDN cache prefetch/refresh. It supports multi-account switching (qshell user ls, qshell user cu), batch config files, and ships an official SKILL.md for AI coding agents.

FCRS-1.0 Score
77 /100
Good
Medium Confidence
Zero-Friction Install
https://github.com/qiniu/qshell/releases
CLI vs MCP Decision CLI Preferred vs MCP

qshell handles Kodo bulk uploads, CDN refreshes, and ~/.qshell/account.json account switching natively with SKILL.md guidance.

At a Glance

Command
$ qshell
FCRS-1.0 Score
77/100 (Good)
Evidence Tier
Medium Confidence
CLI vs MCP
CLI Preferred vs MCP
Reviewed Date

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
✓ Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

Ships SKILL.md (official_skill) and JSON-configured batch modes, though several commands emit line/tab text rather than uniform --json.

  • Ships SKILL.md in qiniu/qshell (official_skill)
  • Many commands default to delimited text instead of --json
Trust & Safety 18 / 25

Encrypts stored credentials in ~/.qshell/account.json and isolates accounts via qshell user cu, though batch delete commands require extra care.

  • Encrypted ~/.qshell/account.json and explicit qshell user cu switching
Setup & Portability 12 / 15

Single cross-platform Go binary downloaded from GitHub releases (no Homebrew core formula).

  • Prebuilt Go binaries on qiniu/qshell releases
Utility & Efficiency 12 / 15

Covers Kodo uploads (fput/rput/qupload), bucket listing, and CDN refresh/prefetch workflows cleanly.

  • Dedicated Kodo bulk upload and CDN refresh commands
Maintenance & Lineage 8 / 10

Official qiniu/qshell repository (1k+ stars, MIT) actively maintained by Qiniu Cloud.

  • Official qiniu/qshell repo (1k+ stars, MIT)
Docs & Verifiability 8 / 10

Well-documented Kodo command reference and official SKILL.md examples.

  • Official Qiniu developer docs and SKILL.md

Security, Auth & Guardrails

Auth Modes
Config File
Credential Storage

Encrypts and stores AK/SK accounts in ~/.qshell/account.json, managed via qshell account and qshell user cu <name>.

Side Effects
Read-Only Local Write Remote Write Destructive Billing Impact
Cost & Quotas

CLI is free (MIT); Kodo storage, CDN traffic, and API calls incur Qiniu Cloud billing.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# qshell Agent Rules
- Check `qshell user ls` and switch explicitly with `qshell user cu <name>` before bucket operations.
- Bound `listbucket2` queries with `--prefix` and `-n`.
- Require explicit approval before running `batchdelete` or `cdnrefresh`.

Agent-Ready Command Recipes

Safe Read-Only Queries

List configured Qiniu accounts
qshell user ls

Lists saved account aliases in ~/.qshell/account.json.

List objects in a Kodo bucket
qshell listbucket2 my-bucket --prefix releases/ -n 50

Enumerates bucket objects under the specified prefix with a bounded count.

Controlled Writes & Previews

Upload a single file to a Kodo bucket
qshell fput my-bucket releases/app.tar.gz ./app.tar.gz

Uploads a local artifact to the specified bucket key.

Strengths for Agents

  • + Ships official SKILL.md guidance for AI coding agents.
  • + Encrypts credentials in ~/.qshell/account.json and supports qshell user ls/cu switching.
  • + Mature Go binary (1k+ stars, MIT) for Kodo object storage and CDN workflows.

Caveats & Pitfalls

  • ! Many subcommands output tab-delimited text rather than universal --json.
  • ! Passing AK/SK inline to qshell account <AK> <SK> <Name> leaves secrets in shell history unless configured via JSON.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI

Related CLIs in Cloud & Infra

View category hub →
$ railway

Rust-built Railway PaaS CLI with `--json` status/variables output and `RAILWAY_TOKEN` CI auth.

$ s

Multi-cloud serverless CLI (`s`) for Alibaba FC, AWS Lambda, and Tencent SCF via declarative `s.yaml` workflows.

$ ibmcloud

IBM Cloud CLI with `--output JSON`, plugin extensions, and `IBMCLOUD_API_KEY` headless login.

$ telepresence

Connect workstations to Kubernetes service networks and intercept traffic with `--format json`.

$ opa

CNCF policy engine CLI for evaluating, testing, and formatting Rego policies as JSON.

cfn-lint 94/100
$ cfn-lint

Official AWS CloudFormation linter with deterministic `-f json` and SARIF validation.