Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

s3cmd

$ s3cmd Community Med Risk
s3tools · Cloud & Infra · GPL-2.0 · macos / linux / windows

s3cmd is a long-standing Python command-line client for Amazon S3 and S3-compatible object storage providers. It handles bucket lifecycle ops, s3cmd sync with --dry-run, and ACL management, though it lacks native JSON output.

FCRS-1.0 Score
68 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
brew install s3cmd
CLI vs MCP Decision CLI Only

Object storage transfers and s3cmd sync belong in local CLI tools (s5cmd or s3cmd), not MCP servers.

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 13 / 25

Supports --dry-run and non-interactive subcommands once ~/.s3cfg is configured, but lacks --json output and prints free-form text.

  • No --json output flag across ls, info, or sync
  • s3cmd --configure is an interactive wizard
Trust & Safety 18 / 25

Offers --dry-run (-n) for transfer commands, though ~/.s3cfg stores plaintext access keys and sync --delete-removed / del --recursive can wipe buckets.

  • Supports --dry-run before sync or put
  • ~/.s3cfg stores unencrypted static credentials
Setup & Portability 12 / 15

Available via Homebrew and pip install s3cmd, though it requires a Python 3 runtime and slower startup than Go binaries.

  • Python package distributed via PyPI and Homebrew
Utility & Efficiency 10 / 15

Broad support for legacy S3-compatible providers, but slower single/low-concurrency execution than s5cmd or mc.

  • Mature S3 and custom-endpoint support, slower than Go tools
Maintenance & Lineage 7 / 10

Established community project (s3tools/s3cmd) under GPL-2.0 with slower release cadence.

  • Maintained at s3tools/s3cmd under GPL-2.0
Docs & Verifiability 8 / 10

Well-documented man pages and usage guides at s3tools.org.

  • Detailed CLI usage docs at s3tools.org/usage

Security, Auth & Guardrails

Auth Modes
Config File Env API Key
Credential Storage

Reads INI credentials from ~/.s3cfg (created via s3cmd --configure) or --access_key / --secret_key / AWS_ACCESS_KEY_ID.

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

GPL-2.0 open-source CLI; standard S3 storage and request fees apply.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# s3cmd Agent Rules
- Always run `s3cmd sync --dry-run` before any `sync` command.
- Never pass `--delete-removed`, `s3cmd del --recursive`, or `s3cmd rb --force` without explicit user approval.
- Avoid `s3cmd --configure` in headless sessions; ensure `~/.s3cfg` exists beforehand.

Agent-Ready Command Recipes

Safe Read-Only Queries

List objects in an S3 bucket
s3cmd ls s3://my-bucket/

Lists bucket prefixes and object timestamps/sizes in plain text.

Preview a sync operation with --dry-run
s3cmd sync --dry-run ./dist/ s3://my-bucket/site/

Prints planned upload/delete actions without transferring or modifying objects.

Controlled Writes & Previews

Upload a single artifact without deleting remote files
s3cmd put ./build.tar.gz s3://my-bucket/releases/build.tar.gz

Uploads a known file path deterministically without --delete-removed.

Strengths for Agents

  • + Supports --dry-run on sync, put, and get to preview changes safely.
  • + Wide compatibility with S3-compatible providers via custom ~/.s3cfg host configs.
  • + Familiar UNIX-like ls, put, get, du, and mb verbs.

Caveats & Pitfalls

  • ! No --json output format—agents must parse human-formatted stdout lines.
  • ! Stores plaintext credentials in ~/.s3cfg and is much slower than s5cmd on large buckets.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI