# Send Pywayne Aliyun Oss 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-2",
    "name": "Pywayne Aliyun Oss",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/wangyendt/aliyun-oss-2",
    "canonicalUrl": "https://clawhub.ai/wangyendt/aliyun-oss-2",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/aliyun-oss-2",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=aliyun-oss-2",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-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-2"
    },
    "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-2",
    "downloadUrl": "https://openagent3.xyz/downloads/aliyun-oss-2",
    "agentUrl": "https://openagent3.xyz/skills/aliyun-oss-2/agent",
    "manifestUrl": "https://openagent3.xyz/skills/aliyun-oss-2/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/aliyun-oss-2/agent.md"
  }
}
```
## Documentation

### Pywayne Aliyun OSS

pywayne.aliyun_oss.OssManager provides a comprehensive toolkit for managing Aliyun OSS (Object Storage Service) buckets.

### Quick Start

from pywayne.aliyun_oss import OssManager

# Initialize with write permissions
oss = OssManager(
    endpoint="https://oss-cn-xxx.aliyuncs.com",
    bucket_name="my-bucket",
    api_key="your_api_key",
    api_secret="your_api_secret"
)

# Initialize with read-only (anonymous) access
oss = OssManager(
    endpoint="https://oss-cn-xxx.aliyuncs.com",
    bucket_name="my-bucket",
    verbose=False  # Disable verbose output
)

### Upload a local file

oss.upload_file(key="data/sample.txt", file_path="./sample.txt")

### Upload text content

oss.upload_text(key="config/settings.json", text='{"key": "value"}')

### Upload an image (numpy array)

import cv2
image = cv2.imread("photo.jpg")
oss.upload_image(key="photos/photo.jpg", image=image)

### Upload entire directory

oss.upload_directory(local_path="./local_folder", prefix="remote_folder/")

### Download a single file

# Preserve directory structure: downloads/data/sample.txt
oss.download_file(key="data/sample.txt", root_dir="./downloads")

# Use only basename: downloads/sample.txt
oss.download_file(key="data/sample.txt", root_dir="./downloads", use_basename=True)

### Download files with prefix

oss.download_files_with_prefix(prefix="photos/", root_dir="./downloads")

### Download entire directory

oss.download_directory(prefix="photos/", local_path="./downloads")

### List all keys in bucket

keys = oss.list_all_keys()  # Returns sorted list

### List keys with prefix

keys = oss.list_keys_with_prefix(prefix="data/")

### List directory contents (first level only)

contents = oss.list_directory_contents(prefix="data/")
# Returns: [("file1.txt", False), ("subdir", True), ...]

### Read file content as string

content = oss.read_file_content(key="config/settings.json")

### Check if file exists

if oss.key_exists("data/sample.txt"):
    print("File exists")

### Get file metadata

metadata = oss.get_file_metadata("data/sample.txt")
# Returns: {'content_length': 1234, 'last_modified': ..., 'etag': ..., 'content_type': ...}

### Delete a single file

oss.delete_file(key="data/sample.txt")

### Delete files with prefix

oss.delete_files_with_prefix(prefix="temp/")

### Copy object within bucket

oss.copy_object(source_key="data/original.txt", target_key="backup/original.txt")

### Move object within bucket

oss.move_object(source_key="data/temp.txt", target_key="archive/temp.txt")

### Important Notes

Write permissions: Upload, delete, copy, and move operations require api_key and api_secret
Anonymous access: Omit api_key and api_secret for read-only access
Directory handling: OSS doesn't have real directories - use prefixes (keys ending with /)
Natural sorting: list_all_keys() and list_keys_with_prefix() use natural sorting by default
Verbose output: All methods print status messages when verbose=True (default)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: wangyendt
- Version: 0.1.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-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/aliyun-oss-2)
- [Send to Agent page](https://openagent3.xyz/skills/aliyun-oss-2/agent)
- [JSON manifest](https://openagent3.xyz/skills/aliyun-oss-2/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/aliyun-oss-2/agent.md)
- [Download page](https://openagent3.xyz/downloads/aliyun-oss-2)