tencentcloud-cos

Manage Tencent Cloud COS buckets and objects via CLI commands.

13|1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/AceDataCloud/Skills --skill tencentcloud-cos-acedatacloud
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tencentcloud-cos
Source: https://github.com/AceDataCloud/Skills/tree/main/skills/tencentcloud-cos
Command: npx skills add https://github.com/AceDataCloud/Skills --skill tencentcloud-cos-acedatacloud

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cos-python-sdk-v5, and includes scripts (resource) components.

What problem does it solve?

This Skill solves the problem of manually managing Tencent Cloud COS buckets and objects by providing a consistent interface for listing, uploading, downloading, deleting, and working with pre-signed URLs.

Core Features & Use Cases

  • Bucket management: List all COS buckets across your account to find the correct storage location.
  • Object operations: List objects by prefix (including delimiter-style directory browsing), upload/download files, and fetch object metadata.
  • Safe bulk actions: Delete objects by prefix in batches with a dry-run option and an explicit confirmation step before deletion.
  • Sharing and maintenance: Generate pre-signed download URLs, calculate storage usage by prefix (du-style), and copy objects between keys within the same bucket.
  • Common use case: Keep a project’s logs folder tidy by listing current log objects, calculating total size, and deleting only those under a specific prefix once they exceed retention rules.

Quick Start

Use the tencentcloud-cos skill to list objects under a prefix in your bucket by telling the AI: “List the objects in bucket mydata-1250000000 with prefix images/.”

Frequently Asked Questions about tencentcloud-cos

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I list objects in a Tencent COS bucket by prefix?

To list Tencent COS objects by prefix, this Skill uses official SDK-backed operations to filter and view specific object subsets. It supports delimiter-style directory browsing to help you navigate cloud storage workflows efficiently.

Can I generate a pre-signed URL for downloading objects from Tencent Cloud COS?

Yes, you can generate pre-signed download URLs for Tencent Cloud COS objects. This Skill creates secure, time-limited links for sharing files directly from your bucket without exposing permanent credentials.

What is the safest way to batch delete objects in a COS bucket by prefix?

The safest way to batch delete COS objects by prefix is using a dry-run option with an explicit confirmation step. This Skill verifies targeted objects before execution to prevent accidental data loss in your cloud storage.

Do I need cos-python-sdk-v5 to manage Tencent Cloud COS buckets?

Yes, you need cos-python-sdk-v5 installed to manage Tencent Cloud COS buckets. This Skill requires the official SDK along with Tencent credentials and region variables configured in your environment.

How do I calculate storage usage by prefix in Tencent COS?

You calculate storage usage by prefix in Tencent COS using a du-style calculation command. This Skill aggregates the total size of objects under specific prefixes to help manage retention rules and monitor storage costs.

How does copying objects between keys within the same Tencent COS bucket work?

Copying objects between keys within the same Tencent COS bucket works through SDK-backed operations. This Skill duplicates object data to a new key directly within cloud storage, avoiding manual download and upload cycles.