alicloud-storage-oss-ossutil-test

cinience/alicloud-skills · updated Apr 8, 2026

$npx skills add https://github.com/cinience/alicloud-skills --skill alicloud-storage-oss-ossutil-test
0 commentsdiscussion
summary

Category: test

skill.md

Category: test

OSSUTIL 2.0 Minimal Viable Test

Goals

  • 验证 AK/Region 配置正确。
  • 验证 OSS 访问(列桶、上传、下载)。

Prerequisites

  • 已配置 AK(推荐环境变量或 ~/.alibabacloud/credentials)。
  • 已准备一个可读写的 OSS Bucket。

Test Steps (Minimal)

  1. 查看配置
ossutil config get region
  1. 列出 Bucket
ossutil ls
  1. 选择一个 bucket,按该 bucket 地域列对象(显式 region + endpoint)
# 示例(按实际 bucket 地域替换)
ossutil ls oss://<bucket> -r --short-format --region cn-shanghai -e https://oss-cn-shanghai.aliyuncs.com --limited-num 20
  1. 上传小文件
echo "ossutil-test" > /tmp/ossutil-test.txt
ossutil cp /tmp/ossutil-test.txt oss://<bucket>/tests/ossutil-test.txt --region cn-shanghai -e https://oss-cn-shanghai.aliyuncs.com
  1. 下载并校验
ossutil cp oss://<bucket>/tests/ossutil-test.txt /tmp/ossutil-test-down.txt --region cn-shanghai -e https://oss-cn-shanghai.aliyuncs.com
cat /tmp/ossutil-test-down.txt

Expected Results

  • ossutil ls 能返回至少一个 bucket 或无权限说明。
  • 指定 --region + -e 后,列对象可正常返回。
  • 上传/下载成功,文件内容一致。

常见失败

  • Region 不匹配:确认 ALIBABACLOUD_REGION_ID 或配置文件中的 region。
  • AK 无权限:确认 RAM 策略允许 oss:* 或最小读写权限。

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.656 reviews
  • Nia Brown· Dec 28, 2024

    I recommend alicloud-storage-oss-ossutil-test for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Harper Jain· Dec 12, 2024

    alicloud-storage-oss-ossutil-test has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Chen Sharma· Dec 8, 2024

    alicloud-storage-oss-ossutil-test is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Aditi Lopez· Dec 8, 2024

    Useful defaults in alicloud-storage-oss-ossutil-test — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Ganesh Mohane· Dec 4, 2024

    Solid pick for teams standardizing on skills: alicloud-storage-oss-ossutil-test is focused, and the summary matches what you get after install.

  • Aditi Sharma· Nov 27, 2024

    Registry listing for alicloud-storage-oss-ossutil-test matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Rahul Santra· Nov 23, 2024

    We added alicloud-storage-oss-ossutil-test from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Daniel Kim· Nov 19, 2024

    alicloud-storage-oss-ossutil-test reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Carlos Lopez· Nov 3, 2024

    alicloud-storage-oss-ossutil-test fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Zaid Dixit· Oct 22, 2024

    We added alicloud-storage-oss-ossutil-test from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

showing 1-10 of 56

1 / 6