Directory Compare FCRS-1.0 About /llms.txt

Alibaba Cloud ossutil

$ ossutil Official High Risk
Alibaba Cloud · Cloud & Infra · MIT · macos / linux / windows · Reviewed:

Alibaba Cloud ossutil is the official high-performance Go CLI for Object Storage Service (OSS). It handles bucket and object management (ossutil ls, ossutil cp, ossutil sync), named --profile switching, --dry-run transfer simulation, and structured --output-format json with --output-query projection in ossutil v2.

FCRS-1.0 Score
84 /100
Good
Medium Confidence
Zero-Friction Install
brew install ossutil
CLI vs MCP Decision CLI Preferred vs MCP

Direct multipart uploads, syncs, and --dry-run simulations belong in ossutil rather than passing large binary objects through MCP.

At a Glance

Command
$ ossutil
FCRS-1.0 Score
84/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 21 / 25

Version 2 adds --output-format json and --output-query filtering alongside clean non-interactive execution for scripting.

  • Supports --output-format json and --output-query in ossutil 2.0
Trust & Safety 21 / 25

First-class --dry-run simulation on cp/rm/sync plus --profile isolation and RAM/STS support strongly protect against destructive object mistakes.

  • Supports --dry-run preview mode and named --profile configs
Setup & Portability 13 / 15

Single static Go binary available via Homebrew (brew install ossutil) and official Alibaba Cloud/GitHub binary downloads.

  • Single Go binary across macOS, Linux, and Windows
Utility & Efficiency 13 / 15

High-concurrency multipart transfer, resumable sync, and bucket lifecycle commands far outperform generic HTTP tools on OSS.

  • Parallel multipart ossutil cp and sync engine
Maintenance & Lineage 8 / 10

Official Alibaba Cloud tool under MIT (aliyun/ossutil), though v2 binary releases are also distributed via Alibaba Cloud docs.

  • Official aliyun/ossutil repository under MIT
Docs & Verifiability 8 / 10

Detailed Alibaba Cloud OSS documentation and built-in subcommand --help pages.

  • Comprehensive Alibaba Cloud ossutil 2.0 command reference

Security, Auth & Guardrails

Auth Modes
Config File Env API Key Service Account
Credential Storage

Stores named profiles in ~/.ossutilconfig, or reads OSS_ACCESS_KEY_ID, OSS_ACCESS_KEY_SECRET, and ALICLOUD_ACCESS_KEY_ID.

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

CLI is free (MIT); OSS storage, requests, and outbound data transfer incur Alibaba Cloud charges.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# ossutil Agent Rules
- Always run `ossutil cp` or `ossutil rm` with `--dry-run` first to inspect affected object keys.
- Pass `--profile` explicitly and restrict agents to bucket-scoped RAM policies.
- Never pass `-f` (`--force`) on `ossutil rm` without explicit user approval.

Agent-Ready Command Recipes

Safe Read-Only Queries

List OSS buckets or objects in JSON
ossutil ls oss://my-bucket/ --output-format json

Lists bucket objects and metadata as structured JSON.

Preview a recursive upload with --dry-run
ossutil cp ./dist/ oss://my-bucket/dist/ -r --dry-run

Simulates file copies and prints planned actions without modifying remote objects.

Controlled Writes & Previews

Copy artifacts to OSS under an explicit profile
ossutil cp ./dist/ oss://my-bucket/dist/ -r --profile staging

Uploads local build artifacts using the isolated staging credential profile.

Strengths for Agents

  • + Supports --dry-run before recursive cp, rm, or sync operations.
  • + ossutil 2.0 provides --output-format json, --output-query, and --profile switching.
  • + Fast Go binary with high-throughput multipart transfers.

Caveats & Pitfalls

  • ! Flag syntax differs between legacy ossutil 1.x and ossutil 2.0 (--output-format is v2+).
  • ! GitHub repo aliyun/ossutil reflects v1 history while v2 builds are primarily published via Alibaba Cloud portals.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI

Related CLIs in Cloud & Infra

View category hub →
apko 84/100
$ apko

Chainguard declarative APK-to-OCI builder generating reproducible distroless images and JSON SBOMs.

$ cdk

AWS Cloud Development Kit CLI with local `cdk synth`, `cdk diff`, and `--require-approval` gates.

$ terramate

IaC stack orchestrator with git change detection and `--dry-run` across Terraform/OpenTofu.

$ aws-iam-authenticator

Kubernetes `client-go` exec credential plugin generating AWS IAM STS `ExecCredential` JSON tokens.

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