用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dvcrn/openclaw-skills-marketplace --skill aliyun-oss命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your agent a soul.
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
基于 SOC 职业分类
正在显示 SKILL.md
| name | aliyun-oss |
| description | 阿里云 OSS 对象存储技能。支持文件上传、下载、列出、删除、获取 URL 等操作。 两层架构:Node.js SDK(优先)→ ossutil CLI。 |
通过 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": "oss-cn-hangzhou",
"domain": "https://cdn.example.com"
}
常用区域:
oss-cn-hangzhou - 华东1(杭州)oss-cn-shanghai - 华东2(上海)oss-cn-beijing - 华北2(北京)oss-cn-shenzhen - 华南1(深圳)| 问题 | 解决 |
|---|---|
Cannot find module 'ali-oss' | npm install ali-oss |
403 Forbidden | 检查 AccessKey 权限 |
连接超时 | 检查区域代码和网络 |
MIT License