Alibaba Cloud OSS CLI (ossutil 2.0) skill. Install, configure, and operate OSS from the command line based on the official ossutil overview.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install alicloud-storage-oss-ossutil或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install alicloud-storage-oss-ossutil⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/alicloud-storage-oss-ossutil/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: alicloud-storage-oss-ossutil description: Alibaba Cloud OSS CLI (ossutil 2.0) skill. Install, configure, and operate OSS from the command line based on the official ossutil overview. version: 1.0.0 ---
Category: tool
python skills/storage/oss/alicloud-storage-oss-ossutil/scripts/check_ossutil.py --output output/alicloud-storage-oss-ossutil/validate.txt
Pass criteria: command exits 0 and output/alicloud-storage-oss-ossutil/validate.txt is generated.
output/alicloud-storage-oss-ossutil/.ossutil config or config file).ossutil ls to list buckets, then list objects using the bucket region.references/install.md for platform-specific install steps.ossutil config
- Linux/macOS:~/.ossutilconfig - Windows:C:\Users\issuser\.ossutilconfig
Main configuration fields include:
AccessKey IDAccessKey SecretRegion(example default cn-hangzhou; ask the user if the best region is unclear)Endpoint(optional; auto-derived from region if omitted)Use RAM users/roles with least privilege and avoid passing AK in plain text on command line.
Recommended method (environment variables):
export ALICLOUD_ACCESS_KEY_ID="<your-ak>"
export ALICLOUD_ACCESS_KEY_SECRET="<your-sk>"
export ALICLOUD_REGION_ID="cn-beijing"
ALICLOUD_REGION_ID can be used as default region; if unset choose the most reasonable region, ask user if unclear.
Or use the standard shared credentials file:
~/.alibabacloud/credentials
[default]
type = access_key
access_key_id = <your-ak>
access_key_secret = <your-sk>
ossutil configossutil api put-bucket-aclossutil ls
ossutil ls oss://your-bucket -r --short-format --region cn-shanghai -e https://oss-cn-shanghai.aliyuncs.com
ossutil cp ./local.txt oss://your-bucket/path/local.txt
ossutil cp oss://your-bucket/path/remote.txt ./remote.txt
ossutil sync ./local-dir oss://your-bucket/path/ --delete
1) List all buckets
ossutil ls
2) Get target bucket region from output (e.g. oss-cn-shanghai) and convert it to --region format (cn-shanghai).
3) When listing objects, explicitly set --region and -e to avoid cross-region signature/endpoint errors.
ossutil ls oss://your-bucket \
-r --short-format \
--region cn-shanghai \
-e https://oss-cn-shanghai.aliyuncs.com
4) For very large buckets, limit output size first.
ossutil ls oss://your-bucket --limited-num 100
ossutil ls oss://your-bucket/some-prefix/ -r --short-format --region cn-shanghai -e https://oss-cn-shanghai.aliyuncs.com
Error: region must be set in sign version 4. - Cause: missing region configuration. - Fix: add region in config file, or pass --region cn-xxx.
The bucket you are attempting to access must be addressed using the specified endpoint - Cause: request endpoint does not match bucket region. - Fix: use endpoint of the bucket region, e.g. -e https://oss-cn-hongkong.aliyuncs.com.
Invalid signing region in Authorization header - Cause: signature region does not match bucket region. - Fix: correct both --region and -e; both must match bucket region.
- https://help.aliyun.com/zh/oss/developer-reference/ossutil-overview
references/sources.mdALICLOUD_ACCESS_KEY_ID, ALICLOUD_ACCESS_KEY_SECRET, optional ALICLOUD_REGION_ID.1) Confirm user intent, region, identifiers, and whether the operation is read-only or mutating. 2) Run one minimal read-only query first to verify connectivity and permissions. 3) Execute the target operation with explicit parameters and bounded scope. 4) Verify results and save output/evidence files.
安装 Alicloud Storage Oss Ossutil 后,可以对 AI 说这些话来触发它
Help me get started with Alicloud Storage Oss Ossutil
Explains what Alicloud Storage Oss Ossutil does, walks through the setup, and runs a quick demo based on your current project
Use Alicloud Storage Oss Ossutil to alibaba Cloud OSS CLI (ossutil 2
Invokes Alicloud Storage Oss Ossutil with the right parameters and returns the result directly in the conversation
What can I do with Alicloud Storage Oss Ossutil in my developer & devops workflow?
Lists the top use cases for Alicloud Storage Oss Ossutil, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/alicloud-storage-oss-ossutil/ 目录(个人级,所有项目可用),或 .claude/skills/alicloud-storage-oss-ossutil/(项目级)。重启 AI 客户端后,用 /alicloud-storage-oss-ossutil 主动调用,或让 AI 根据上下文自动发现并使用。
Alicloud Storage Oss Ossutil 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Alicloud Storage Oss Ossutil 可免费安装使用。请查阅仓库了解许可证信息。
Alibaba Cloud OSS CLI (ossutil 2.0) skill. Install, configure, and operate OSS from the command line based on the official ossutil overview.
Alicloud Storage Oss Ossutil 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Alicloud Storage Oss Ossutil
Identifies repetitive steps in your workflow and sets up Alicloud Storage Oss Ossutil to handle them automatically