# Send aliyun-oss-upload to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "aliyun-oss-upload",
    "name": "aliyun-oss-upload",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/chengjiaxiongkf/aliyun-oss-upload",
    "canonicalUrl": "https://clawhub.ai/chengjiaxiongkf/aliyun-oss-upload",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/aliyun-oss-upload",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=aliyun-oss-upload",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/oss-upload.py",
      "references/config.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/aliyun-oss-upload"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/aliyun-oss-upload",
    "downloadUrl": "https://openagent3.xyz/downloads/aliyun-oss-upload",
    "agentUrl": "https://openagent3.xyz/skills/aliyun-oss-upload/agent",
    "manifestUrl": "https://openagent3.xyz/skills/aliyun-oss-upload/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/aliyun-oss-upload/agent.md"
  }
}
```
## Documentation

### 阿里云 OSS 文件上传

这个技能提供阿里云 OSS（对象存储服务）的文件上传功能，支持生成带签名的临时访问链接。

### 1. 配置环境变量

使用前必须配置以下环境变量（详见 references/config.md）：

export ALIYUN_OSS_ACCESS_KEY_ID="your-access-key-id"
export ALIYUN_OSS_ACCESS_KEY_SECRET="your-access-key-secret"
export ALIYUN_OSS_ENDPOINT="https://oss-cn-hangzhou.aliyuncs.com"
export ALIYUN_OSS_BUCKET="your-bucket-name"

### 2. 安装依赖

pip install oss2

### 上传文件

python scripts/oss-upload.py upload --file /path/to/local/file.txt

可选参数：

--key：指定 OSS 中的文件名（默认使用本地文件名）
--expire：链接有效期（秒，默认 3600）

示例：

# 上传到指定路径
python scripts/oss-upload.py upload --file photo.jpg --key images/photo.jpg --expire 7200

### 生成临时访问链接

python scripts/oss-upload.py url --key images/photo.jpg --expire 3600

### 工作流程

用户请求上传文件时：

确认本地文件路径
运行上传脚本
返回上传结果和临时访问链接



用户已有 OSS 文件需要访问链接时：

运行 url 命令生成签名链接
返回临时访问 URL

### 注意事项

临时链接有效期默认 1 小时，可根据需求调整
Bucket 建议设置为私有，通过签名链接安全访问
上传大文件时脚本会自动处理，无需额外配置
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: chengjiaxiongkf
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-05-07T17:22:31.273Z
- Expires at: 2026-05-14T17:22:31.273Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/aliyun-oss-upload)
- [Send to Agent page](https://openagent3.xyz/skills/aliyun-oss-upload/agent)
- [JSON manifest](https://openagent3.xyz/skills/aliyun-oss-upload/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/aliyun-oss-upload/agent.md)
- [Download page](https://openagent3.xyz/downloads/aliyun-oss-upload)