Directory Compare FCRS-1.0 About /llms.txt

Tencent Cloud coscli

$ coscli Official High Risk
Tencent Cloud · Cloud & Infra · Apache-2.0 · macos / linux / windows · Reviewed:

Tencent Cloud coscli is the official Apache-2.0 Go command-line tool for Cloud Object Storage (COS). It supports multipart uploads/downloads, directory sync, bucket aliases via coscli config add, and custom config paths (-c), though list/transfer outputs remain text-oriented.

FCRS-1.0 Score
73 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
https://github.com/tencentyun/coscli/releases
CLI vs MCP Decision CLI Preferred vs MCP

coscli handles high-speed multipart COS transfers and directory sync directly, avoiding MCP payload serialization limits.

At a Glance

Command
$ coscli
FCRS-1.0 Score
73/100 (Usable w/ Caveats)
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 16 / 25

Supports non-interactive config flags (-c, coscli config set) and exit codes, but emits human-oriented text tables without a universal --json output flag.

  • Supports -c <config> and coscli config set without prompts
  • Lacks universal --json output flag on ls and cp
Trust & Safety 18 / 25

Supports explicit -c config isolation, temporary sessiontoken / CvmRole auth, and bucket aliases, though it lacks a universal --dry-run flag.

  • Config isolation via -c and CvmRole / sessiontoken support
Setup & Portability 12 / 15

Single static Go binary for macOS, Linux, and Windows, though distributed via GitHub releases rather than Homebrew or npm.

  • Prebuilt Go binaries on tencentyun/coscli releases
Utility & Efficiency 12 / 15

Purpose-built for COS multipart transfers, bucket aliases, and large-object checksums.

  • Native COS multipart cp, sync, and bucket alias resolution
Maintenance & Lineage 8 / 10

Official tencentyun/coscli repository maintained by Tencent Cloud under Apache-2.0.

  • Official tencentyun/coscli repo (Apache-2.0)
Docs & Verifiability 7 / 10

Documented in Tencent Cloud COS guides and --help, with primary docs geared toward Chinese users.

  • Official Tencent Cloud COS CLI documentation

Security, Auth & Guardrails

Auth Modes
Config File Service Account
Credential Storage

Stores secretid, secretkey, sessiontoken, and bucket aliases in ~/.cos.yaml (overrideable with -c <path>).

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

CLI is free (Apache-2.0); COS storage, API requests, and traffic incur Tencent Cloud billing.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# coscli Agent Rules
- Always pass `-c <config-path>` explicitly to isolate staging vs. production `~/.cos.yaml` files.
- Run `coscli ls` to verify target prefixes before `coscli cp` or `coscli sync`.
- Require human confirmation before executing `coscli rm` with `-r` or `-f`.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect configured COS buckets and aliases
coscli config show

Displays the active YAML configuration path and configured bucket aliases.

List objects under a bucket prefix
coscli ls cos://mybucket/releases/ -r

Lists matching COS keys recursively for verification before syncing.

Controlled Writes & Previews

Copy a build directory to COS
coscli cp ./dist/ cos://mybucket/dist/ -r -c ~/.cos-staging.yaml

Uploads local files recursively using an explicit staging config file.

Strengths for Agents

  • + Fast single Go binary with resumable multipart COS transfers and bucket aliases.
  • + Explicit -c config selection and CvmRole support simplify environment isolation.
  • + Official Apache-2.0 repository maintained by Tencent Cloud.

Caveats & Pitfalls

  • ! No universal --json output flag on coscli ls or transfer commands.
  • ! Not packaged in Homebrew or npm; requires manual binary download from GitHub Releases.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI

Related CLIs in Cloud & Infra

View category hub →
wrangler 73/100
$ wrangler

Command-line interface for all things Cloudflare Workers

ctop 72/100
$ ctop

Top-like interface for container metrics.

tailcat 73/100
$ tailcat

Tailscale's netcat-like tool over its open-source data plane, without the control plane.

gobuster 72/100
$ gobuster

A tool to brute-force URIs, DNS subdomains or Virtual Host names

$ 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.