humanpages
Search and hire real humans for tasks — photography, delivery, research, and more
阿里云 OSS 对象存储技能。支持文件上传、下载、列出、删除、获取 URL 等操作。 两层架构:Node.js SDK(优先)→ ossutil CLI。
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install aohoyo/aliyun-oss-skillInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
通过 Node.js SDK / ossutil CLI 管理阿里云对象存储。
| 优先级 | 工具 | 使用场景 |
|---|---|---|
| 1 | Node.js SDK (ali-oss) |
优先使用 |
| 2 | ossutil CLI | 备选 |
# 进入技能目录
cd ~/.openclaw/workspace/skills/aliyun-oss-skill
# 运行自动安装
bash scripts/setup.sh
bash scripts/setup.sh \
--access-key-id "YOUR_ACCESS_KEY_ID" \
--access-key-secret "YOUR_ACCESS_KEY_SECRET" \
--region "oss-cn-hangzhou" \
--bucket "mybucket"
node scripts/oss_node.mjs test-connection
node scripts/oss_node.mjs upload \
--local "/path/to/file.txt" \
--key "uploads/file.txt"
node scripts/oss_node.mjs list --prefix "uploads/" --limit 100
node scripts/oss_node.mjs download \
--key "uploads/file.txt" \
--local "/path/to/save.txt"
node scripts/oss_node.mjs delete --key "uploads/file.txt" --force
# 公开空间
node scripts/oss_node.mjs url --key "uploads/file.txt"
# 私有空间(1小时有效)
node scripts/oss_node.mjs url --key "uploads/file.txt" --private --expires 3600
| 命令 | 说明 |
|---|---|
upload --local <path> --key <key> |
上传文件 |
download --key <key> --local <path> |
下载文件 |
list [--prefix <p>] [--limit <n>] |
列出文件 |
delete --key <key> [--force] |
删除文件 |
url --key <key> [--private] [--expires <s>] |
获取 URL |
stat --key <key> |
文件信息 |
move --src-key <a> --dest-key <b> |
移动文件 |
copy --src-key <a> --dest-key <b> |
复制文件 |
test-connection |
测试连接 |
config/oss-config.json
{
"accessKeyId": "YOUR_ACCESS_KEY_ID",
"accessKeySecret": "YOUR_ACCESS_KEY_SECRET",
"bucket": "mybucket",
"region": "o...
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
OpenClaw 技能,用于管理阿里云对象存储(OSS)。
# 安装依赖
npm install
# 配置凭证
bash scripts/setup.sh --access-key-id "xxx" --access-key-secret "xxx" --region "oss-cn-hangzhou" --bucket "mybucket"
# 测试连接
node scripts/oss_node.mjs test-connection
# 上传
node scripts/oss_node.mjs upload --local file.txt --key uploads/file.txt
# 列出
node scripts/oss_node.mjs list --prefix uploads/
# 下载
node scripts/oss_node.mjs download --key uploads/file.txt --local file.txt
# 删除
node scripts/oss_node.mjs delete --key uploads/file.txt --force
# 获取 URL
node scripts/oss_node.mjs url --key uploads/file.txt
两层降级策略:
ali-oss) - 优先使用MIT
# ☁️ 阿里云 OSS 技能
通过 **Node.js SDK** / **ossutil CLI** 管理阿里云对象存储。
---
## 🎯 执行策略(两层降级)
| 优先级 | 工具 | 使用场景 |
|--------|------|----------|
| **1** | Node.js SDK (`ali-oss`) | 优先使用 |
| **2** | ossutil CLI | 备选 |
---
## 🚀 快速开始
### 1. 安装依赖
```bash
# 进入技能目录
cd ~/.openclaw/workspace/skills/aliyun-oss-skill
# 运行自动安装
bash scripts/setup.sh
```
### 2. 配置凭证
```bash
bash scripts/setup.sh \
--access-key-id "YOUR_ACCESS_KEY_ID" \
--access-key-secret "YOUR_ACCESS_KEY_SECRET" \
--region "oss-cn-hangzhou" \
--bucket "mybucket"
```
### 3. 测试连接
```bash
node scripts/oss_node.mjs test-connection
```
---
## 📋 使用示例
### 上传文件
```bash
node scripts/oss_node.mjs upload \
--local "/path/to/file.txt" \
--key "uploads/file.txt"
```
### 列出文件
```bash
node scripts/oss_node.mjs list --prefix "uploads/" --limit 100
```
### 下载文件
```bash
node scripts/oss_node.mjs download \
--key "uploads/file.txt" \
--local "/path/to/save.txt"
```
### 删除文件
```bash
node scripts/oss_node.mjs delete --key "uploads/file.txt" --force
```
### 获取文件 URL
```bash
# 公开空间
node scripts/oss_node.mjs url --key "uploads/file.txt"
# 私有空间(1小时有效)
node scripts/oss_node.mjs url --key "uploads/file.txt" --private --expires 3600
```
---
## 🔧 Node.js SDK API
| 命令 | 说明 |
|------|------|
| `upload --local <path> --key <key>` | 上传文件 |
| `download --key <key> --local <path>` | 下载文件 |
| `list [--prefix <p>] [--limit <n>]` | 列出文件 |
| `delete --key <key> [--force]` | 删除文件 |
| `url --key <key> [--private] [--expires <s>]` | 获取 URL |
| `stat --key <key>` | 文件信息 |
| `move --src-key <a> --dest-key <b>` | 移动文件 |
| `copy --src-key <a> --dest-key <b>` | 复制文件 |
| `test-connection` | 测试连接 |
---
## ⚙️ 配置文件
**config/oss-config.json**
```json
{
"accessKeyId": "YOUR_ACCESS_KEY_ID",
"accessKeySecret": "YOUR_ACCESS_KEY_SECRET",
"bucket": "mybucket",
"region": "o...# ☁️ 阿里云 OSS 技能 OpenClaw 技能,用于管理阿里云对象存储(OSS)。 ## ✨ 功能 - 📤 上传文件 - 📥 下载文件 - 📋 列出文件 - 🗑️ 删除文件 - 🔗 获取文件 URL(支持私有空间签名) - 📊 查看文件信息 - 📁 移动/复制文件 ## 🚀 快速开始 ```bash # 安装依赖 npm install # 配置凭证 bash scripts/setup.sh --access-key-id "xxx" --access-key-secret "xxx" --region "oss-cn-hangzhou" --bucket "mybucket" # 测试连接 node scripts/oss_node.mjs test-connection ``` ## 📖 使用示例 ```bash # 上传 node scripts/oss_node.mjs upload --local file.txt --key uploads/file.txt # 列出 node scripts/oss_node.mjs list --prefix uploads/ # 下载 node scripts/oss_node.mjs download --key uploads/file.txt --local file.txt # 删除 node scripts/oss_node.mjs delete --key uploads/file.txt --force # 获取 URL node scripts/oss_node.mjs url --key uploads/file.txt ``` ## 🔧 架构 两层降级策略: 1. **Node.js SDK** (`ali-oss`) - 优先使用 2. **ossutil CLI** - 备选 ## 📄 许可证 MIT
Search and hire real humans for tasks — photography, delivery, research, and more
Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.
Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user...
Install, configure, and manage 1-SEC — an open-source, all-in-one cybersecurity platform (16 modules, single binary) on Linux servers and VPS instances. Use when the user asks to secure a server, install securi...