搜索

PythonReactSEOPDF
OpenClaw

volcengine-storage-tos

Object storage operations for Volcengine TOS (Tinder Object Storage). Use when users need bucket management, object upload/download, listing, deletion, presigned URLs, or storage troubleshooting.

day2530 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install day253/day253-volcengine-storage-tos

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Category: provider

Volcengine TOS 对象存储

Validation

mkdir -p output/volcengine-storage-tos
python -m py_compile skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py && echo "py_compile_ok" > output/volcengine-storage-tos/validate.txt

Pass criteria: command exits 0 and output/volcengine-storage-tos/validate.txt is generated.

Output And Evidence

  • Save operation results, manifests, and logs to output/volcengine-storage-tos/.
  • Keep one validation log per execution.

Prerequisites

  • Python 3.8+
  • Install TOS SDK: pip install tos
  • Set environment variables:
    • VOLCENGINE_ACCESS_KEY — AK(AccessKey ID)
    • VOLCENGINE_SECRET_KEY — SK(SecretKey)
    • VOLCENGINE_TOS_ENDPOINT — TOS 服务端点,如 tos-cn-beijing.volces.com
    • VOLCENGINE_TOS_REGION — 地域,如 cn-beijing

Optional: use .env in repo root; script will auto-load.

Normalized interface

Subcommands
Subcommand Description
list-buckets 列举所有桶
create-bucket 创建桶
delete-bucket 删除桶(需为空桶)
list-objects 列举桶内对象(支持 prefix/max-keys)
upload 上传本地文件到桶
download 下载对象到本地文件
delete 删除对象
head 获取对象元数据(大小、类型、ETag)
presign 生成预签名 URL
copy 复制对象
Common flags
  • --bucket — 桶名
  • --key — 对象键
  • --file — 本地文件路径(上传/下载用)
  • --prefix — 列举前缀
  • --max-keys — 列举数量上限,默认 100
  • --expires — 预签名有效期(秒),默认 3600
  • --print-json — 输出 JSON 格式

Quick start

# 列举所有桶
python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py list-buckets

# 列举桶内对象
python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py list-objects \
  --bucket my-bucket --prefix images/ --max-keys 50

# 上传文件
python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py upload \
  --bucket my-bucket --key data/report.pdf...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/day253/day253-volcengine-storage-tos
Version
—
Commit
7e8e157cf887dc1c7db95cc12ca185d3cef2940f
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
Category: provider

# Volcengine TOS 对象存储

## Validation

```bash
mkdir -p output/volcengine-storage-tos
python -m py_compile skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py && echo "py_compile_ok" > output/volcengine-storage-tos/validate.txt
```

Pass criteria: command exits 0 and `output/volcengine-storage-tos/validate.txt` is generated.

## Output And Evidence

- Save operation results, manifests, and logs to `output/volcengine-storage-tos/`.
- Keep one validation log per execution.

## Prerequisites

- Python 3.8+
- Install TOS SDK: `pip install tos`
- Set environment variables:
  - `VOLCENGINE_ACCESS_KEY` — AK(AccessKey ID)
  - `VOLCENGINE_SECRET_KEY` — SK(SecretKey)
  - `VOLCENGINE_TOS_ENDPOINT` — TOS 服务端点,如 `tos-cn-beijing.volces.com`
  - `VOLCENGINE_TOS_REGION` — 地域,如 `cn-beijing`

Optional: use `.env` in repo root; script will auto-load.

## Normalized interface

### Subcommands

| Subcommand | Description |
|------------|-------------|
| `list-buckets` | 列举所有桶 |
| `create-bucket` | 创建桶 |
| `delete-bucket` | 删除桶(需为空桶) |
| `list-objects` | 列举桶内对象(支持 prefix/max-keys) |
| `upload` | 上传本地文件到桶 |
| `download` | 下载对象到本地文件 |
| `delete` | 删除对象 |
| `head` | 获取对象元数据(大小、类型、ETag) |
| `presign` | 生成预签名 URL |
| `copy` | 复制对象 |

### Common flags
- `--bucket` — 桶名
- `--key` — 对象键
- `--file` — 本地文件路径(上传/下载用)
- `--prefix` — 列举前缀
- `--max-keys` — 列举数量上限,默认 100
- `--expires` — 预签名有效期(秒),默认 3600
- `--print-json` — 输出 JSON 格式

## Quick start

```bash
# 列举所有桶
python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py list-buckets

# 列举桶内对象
python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py list-objects \
  --bucket my-bucket --prefix images/ --max-keys 50

# 上传文件
python skills/storage/tos/volcengine-storage-tos/scripts/tos_manage.py upload \
  --bucket my-bucket --key data/report.pdf...

相关技能

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance