Get the FREE Ultimate OpenClaw Setup Guide →

cloud-aliyun-oss

npx machina-cli add skill partme-ai/full-stack-skills/cloud-aliyun-oss --openclaw
Files (1)
SKILL.md
687 B

When to use this skill

Use this skill whenever the user wants to:

  • [待完善:根据具体工具添加使用场景]

How to use this skill

[待完善:根据具体工具添加使用指南]

Best Practices

[待完善:根据具体工具添加最佳实践]

Keywords

[待完善:根据具体工具添加关键词]

Source

git clone https://github.com/partme-ai/full-stack-skills/blob/main/skills/cloud-aliyun-oss/SKILL.mdView on GitHub

Overview

This skill provides guidance for using Alibaba Cloud Object Storage Service (OSS). It covers creating buckets, storing and retrieving objects, configuring access control, and managing OSS resources. It helps developers integrate OSS into apps, enforce secure access, and optimize storage workflows.

How This Skill Works

OSS uses buckets in specific regions to store objects. You upload, download, and manage objects via REST API or SDKs, and control access with bucket policies, ACLs, or RAM-based permissions. Lifecycle rules and event notifications automate maintenance and integration with other services like CDN and analytics.

When to Use It

  • You need to store files (images, backups, documents) in Alibaba Cloud OSS.
  • You want to create and configure OSS buckets (region, naming, policies) for your app.
  • You must manage access with ACLs, bucket policies, or RAM roles to control who can access data.
  • You’re integrating OSS storage into an application, website, or CI/CD workflow.
  • You need storage automation like lifecycle rules, versioning, or cross-region data management.

Quick Start

  1. Step 1: Create a bucket in your preferred OSS region via the console or CLI.
  2. Step 2: Upload your first object using PutObject (SDK/CLI) and verify retrieval.
  3. Step 3: Configure access control (ACL or bucket policy) and test access with a signed URL or RAM role.

Best Practices

  • Choose an OSS region close to your users to minimize latency and costs.
  • Use consistent naming conventions for buckets and objects, and apply least-privilege RAM policies.
  • Enable object versioning and lifecycle rules to protect data and reduce costs.
  • Serve content securely with HTTPS and use signed URLs or temporary credentials for access.
  • Combine OSS with CDN for scalable delivery and monitor usage with OSS metrics and alerts.

Example Use Cases

  • Host static website assets (images, scripts, styles) in an OSS bucket with a custom domain and CDN.
  • Archive daily backups to OSS with lifecycle rules that move older data to cheaper storage or delete after retention.
  • Store user-generated content for a mobile app and use signed URLs for secure, time-limited access.
  • Deliver media assets (videos, audio) at scale by integrating OSS with a CDN and access controls.
  • Implement cross-region replication for disaster recovery and data sovereignty compliance.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers