# AWS S3

Adopt this skill: https://proskills.md/skills/other/panthrocorp-limited-openclaw-skills-aws-s3

Page: https://proskills.md/skills/other/panthrocorp-limited-openclaw-skills-aws-s3
This document is the public skill bundle for that page. It contains SKILL.md and every helper file the catalog carries. No login is required.

## File: aws-s3/SKILL.md
size: 2309
upstream: https://github.com/panthrocorp-limited/openclaw-skills/blob/main/aws-s3/SKILL.md

````text
---
name: AWS S3
description: Self-contained AWS S3 SDK bundle for OpenClaw agents
version: 0.2.1 # x-release-please-version
author: panthrocorp
license: MIT-0
metadata:
  openclaw:
    requires:
      npm:
        - "@openclaw/aws-s3"
    emoji: "🪣"
    homepage: https://github.com/PanthroCorp-Limited/openclaw-skills
    os: ["linux"]
---

# AWS S3 Skill

Pre-bundled AWS S3 SDK for use inside the OpenClaw gateway container. All transitive
dependencies are bundled. No internet access required at install time.

## Installation

Install from the release tarball into the gateway container:

```bash
TAG=$(curl -fsSL "https://api.github.com/repos/PanthroCorp-Limited/openclaw-skills/releases" \
  | grep -o '"tag_name":"aws-s3/v[^"]*"' | head -1 | cut -d'"' -f4)
VERSION=${TAG#aws-s3/v}
URL="https://github.com/PanthroCorp-Limited/openclaw-skills/releases/download/${TAG}/openclaw-aws-s3-${VERSION}.tgz"
docker exec openclaw-gateway npm install "$URL" --prefix /home/node/.openclaw/bin/.npm-global
```

Or from a downloaded tarball:

```bash
docker exec openclaw-gateway npm install /path/to/openclaw-aws-s3-0.1.0.tgz \
  --prefix /home/node/.openclaw/bin/.npm-global
```

## Usage

```js
const { S3Client, ListObjectsV2Command, GetObjectCommand } = require("@openclaw/aws-s3");

const client = new S3Client({});

const list = await client.send(new ListObjectsV2Command({
  Bucket: process.env.EMAIL_BUCKET_NAME,
  Prefix: `parsed/${agentName}/`,
}));

const obj = await client.send(new GetObjectCommand({
  Bucket: process.env.EMAIL_BUCKET_NAME,
  Key: "parsed/agent/email.json",
}));
const body = await obj.Body.transformToString();
```

## Authentication

Credentials resolve via the AWS SDK default credential provider chain. In an EC2/ECS
environment this uses IMDS (Instance Metadata Service) automatically. Ensure the IMDS
hop limit is set to 2 or higher when running inside Docker.

No environment variables are required for authentication. `AWS_REGION` should be set
if the region cannot be inferred from instance metadata.

## Important

- This package bundles `@aws-sdk/client-s3` with all transitive dependencies.
- No network access is needed at install time.
- The gateway container must have Node.js available.
- All S3 commands from the SDK are available, not just the ones shown above.
````

## File: README.md
upstream: https://github.com/panthrocorp-limited/openclaw-skills/blob/main/README.md

````text
# openclaw-skills

![Language](https://img.shields.io/badge/language-Go-00ADD8?logo=go&logoColor=white)
![Language](https://img.shields.io/badge/language-Node.js-5FA04E?logo=nodedotjs&logoColor=white)
![License](https://img.shields.io/badge/license-MIT--0-green)
![Platform](https://img.shields.io/badge/platform-OpenClaw-blueviolet)

Custom skills for [OpenClaw](https://openclaw.ai) agents, published to the [Claw Skills](https://clawskills.sh) registry.

## Skills

| Skill | Description | Status |
|-------|-------------|--------|
| [google-workspace](./google-workspace/) | Gmail, Calendar, Contacts, Drive (with comments), Docs, and Sheets | Published (`panthrocorp-google-workspace`) |
| [zoho-mail](./zoho-mail/) | Full read/write Zoho Mail access (EU data centre) | Published (`panthrocorp-zoho-mail`) |
| [aws-s3](./aws-s3/) | Self-contained AWS S3 SDK bundle for gateway containers | Published (`panthrocorp-aws-s3`) |
| [aws-cli](./aws-cli/) | AWS CLI v2 repackaged for gateway containers | Pre-release (`panthrocorp-aws-cli`) |

## Installation

Install any skill via clawhub:

```bash
clawhub install panthrocorp-google-workspace
clawhub install panthrocorp-zoho-mail
clawhub install panthrocorp-aws-s3
clawhub install panthrocorp-aws-cli
```

## Security

Every skill in this repository is designed with a hostile-instance threat model in mind:

- OAuth tokens are encrypted at rest using AES-256-GCM with HKDF-SHA256 key derivation. No unencrypted fallback exists.
- Gmail and Contacts access is strictly read-only with no write code paths.
- Calendar, Drive (comments), Docs, and Sheets write operations are opt-in and gated at both config and runtime level.
- Zoho Mail provides full read/write access, scoped to a dedicated agent mailbox.
- AWS S3 skill uses the default credential provider chain (IMDS). No static credentials are stored.
- Google Cloud and Zoho API projects are scoped to only the required APIs.

See each skill's README and [SECURITY.md](./SECURITY.md) for the full security policy.

## Contributing

See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines on branching, commits, and adding new skills.

## Licence

This repository is released under the [MIT No Attribution](./LICENSE) licence.
````
