manage

A command for managing Amazon S3 buckets, files, and access settings. A bucket is a named container for files in S3.

In plain words
What is it for?
Listing buckets and files, copying or moving objects, deleting files, changing permissions, configuring cross-origin access, and managing file lifecycles.
Why use it?
It makes common storage tasks easier to carry out and provides examples for controlling who can access files.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/cyperx84/claude-code-plugin-examples/manage
Clone the repo
git clone --depth 1 https://github.com/cyperx84/claude-code-plugin-examples
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 899 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00009 $0.00899
Opus 5 $0.00005 $0.00449
Sonnet 5 $0.00002 $0.00180
Haiku 4.5 $0.00001 $0.00090

Measured yesterday against content hash ed624ddeec0b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

manage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/04-real-world/cloud-storage-plugin/commands/manage.md · 161 lines

How it starts

The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Manage Cloud Storage

Manage: $ARGUMENTS (operation and parameters)

Using AWS S3 MCP for storage management

Management Operations

1. List Operations

# List buckets
aws s3 ls

# List files in bucket
aws s3 ls s3://my-bucket/

# Recursive list
aws s3 ls s3://my-bucket/ --recursive

# With file sizes
aws s3 ls s3://my-bucket/ --human-readable --summarize

2. File Operations

# Copy within S3
aws s3 cp s3://bucket1/file.txt s3://bucket2/file.txt

# Move file
aws s3 mv s3://bucket/old-path/file.txt s3://bucket/new-path/file.txt

# Delete file
aws s3 rm s3://bucket/file.txt

# Delete directory
aws s3 rm s3://bucket/directory/ --recursive

3. Permissions Management

# Make public
aws s3api put-object-acl --bucket my-bucket --key file.txt --acl public-read

# Make private
aws s3api put-object-acl --bucket my-bucket --key file.txt --acl private

# Bucket policy
aws s3api put-bucket-policy --bucket my-bucket --policy file://policy.json

# CORS configuration
aws s3api put-bucket-cors --bucket my-bucket --cors-configuration file://cors.json

4. Lifecycle Management

// Auto-delete old files
const lifecycleConfig = {
  Rules: [
    {
      Id: 'Delete old logs',
      Status: 'Enabled',
      Prefix: 'logs/',
      Expiration: { Days: 30 }
    },
    {
      Id: 'Archive old backups',
      Status: 'Enabled',
      Prefix: 'backups/',
      Transitions: [
        { Days: 30, StorageClass: 'GLACIER' }
      ]
    }
  ]
};

await s3.putBucketLifecycleConfiguration({
  Bucket: 'my-bucket',
  LifecycleConfiguration: lifecycleConfig
});

5. Versioning

# Enable versioning
aws s3api put-bucket-versioning \
  --bucket my-bucket \
  --versioning-configuration Status=Enabled

# List versions
aws s3api list-object-versions --bucket my-bucket --prefix file.txt

# Restore previous version
aws s3api copy-object \
  --bucket my-bucket \
  --copy-source my-bucket/file.txt?versionId=VERSION_ID \
  --key file.txt

Read the full file on GitHub · 161 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 161 lines · 9 tokens per session scan A ed624ddeec0b

Subscribe to this mod's changes

manage is a command published in the GitHub repository cyperx84/claude-code-plugin-examples (2 stars, last pushed 10mo ago), licensed MIT. It adds 9 tokens to every session and 899 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.