← Back to Skills Marketplace
parsonssss

Tencent Cloud Image Hosting (Upload files to get online URLs)

by parsonssss · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
331
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install upload-files-to-get-online-url
Description
Upload files to Tencent Cloud COS (Cloud Object Storage). Use when the user needs to upload images, documents, or any files to Tencent Cloud COS. Supports en...
Usage Guidance
This skill appears to do what it claims (upload files to Tencent COS) but has two practical red flags: (1) the registry metadata does not declare the required Tencent credentials even though SKILL.md and the script require them, and (2) there is no install spec for the npm dependency 'cos-nodejs-sdk-v5'. Before installing or running: 1) Review the included script (you already have it) and confirm it only uploads the file you expect. 2) Do not provide your long-lived root credentials—create a Tencent Cloud key with minimal COS permissions scoped to the specific bucket and actions needed. 3) Install the COS SDK from the official npm registry (npmjs.com) or run in an isolated environment/container. 4) Avoid uploading sensitive files unless you control the target bucket and understand its access policy. 5) If you plan to rely on this as an automated skill, request that the publisher update the registry metadata to declare required env vars and add an explicit install section so you can audit dependency sources.
Capability Analysis
Type: OpenClaw Skill Name: upload-files-to-get-online-url Version: 1.0.0 The skill is a legitimate utility for uploading files to Tencent Cloud COS (Cloud Object Storage) using the official 'cos-nodejs-sdk-v5' library. The script (scripts/cos-upload.js) correctly handles credentials via environment variables or CLI arguments and performs file uploads as described in SKILL.md without any evidence of data exfiltration, obfuscation, or malicious intent.
Capability Assessment
Purpose & Capability
The skill's name/description and the included script align: it uploads a user-specified file to Tencent Cloud COS and generates direct and pre-signed URLs. However, the registry metadata lists no required environment variables or primary credential, while SKILL.md and the script require TENCENT_SECRET_ID, TENCENT_SECRET_KEY, TENCENT_COS_BUCKET, and TENCENT_COS_REGION. That metadata omission is an incoherence that could mislead users about needed secrets.
Instruction Scope
SKILL.md and scripts/cos-upload.js restrict actions to reading the specified local file, using provided Tencent credentials, and calling the official COS SDK to upload and generate URLs. The instructions do not instruct the agent to read unrelated files or send data to unexpected third-party endpoints. The script does not contain obfuscated or hidden network endpoints.
Install Mechanism
There is no install specification. The script requires the npm package 'cos-nodejs-sdk-v5' (require call present), but the skill does not declare or install that dependency. This is an operational mismatch (may fail at runtime) rather than an obvious malicious install mechanism, but you should ensure dependencies are installed from official registries before running.
Credentials
The credentials requested by the SKILL.md/script (Tencent SecretId/SecretKey, bucket, region) are proportionate to uploading objects to COS. The concern is that the skill registry metadata does not declare these required environment variables or a primary credential; that inconsistency can cause users to overlook that they must provide sensitive secrets to the skill.
Persistence & Privilege
The skill is user-invocable, always:false, and does not request persistent or elevated platform privileges. The script does not modify other skill configs or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install upload-files-to-get-online-url
  3. After installation, invoke the skill by name or use /upload-files-to-get-online-url
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
This skill uploads files (images, documents, videos, etc.) to Tencent Cloud COS (Cloud Object Storage). It supports configuration via environment variables or command‑line arguments, generates a unique object key automatically, and returns both a direct URL and a signed URL (24‑hour expiry) for private buckets. Ideal for building simple image hosting or file sharing workflows. Primary use cases - Upload images and get shareable URLs - Host documents/videos on Tencent COS - Generate signed URLs for private buckets - Automate asset hosting in scripts or pipelines Inputs - File path to upload - Tencent Cloud Secret ID / Secret Key - COS bucket name - COS region - Optional upload path prefix Outputs - Direct URL: https://{bucket}.cos.{region}.myqcloud.com/{key} - Signed URL (24‑hour expiration) - COS object key Requirements - Tencent Cloud COS credentials - Node.js runtime - Access to target bucket and region
Metadata
Slug upload-files-to-get-online-url
Version 1.0.0
License
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Tencent Cloud Image Hosting (Upload files to get online URLs)?

Upload files to Tencent Cloud COS (Cloud Object Storage). Use when the user needs to upload images, documents, or any files to Tencent Cloud COS. Supports en... It is an AI Agent Skill for Claude Code / OpenClaw, with 331 downloads so far.

How do I install Tencent Cloud Image Hosting (Upload files to get online URLs)?

Run "/install upload-files-to-get-online-url" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Tencent Cloud Image Hosting (Upload files to get online URLs) free?

Yes, Tencent Cloud Image Hosting (Upload files to get online URLs) is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Tencent Cloud Image Hosting (Upload files to get online URLs) support?

Tencent Cloud Image Hosting (Upload files to get online URLs) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Tencent Cloud Image Hosting (Upload files to get online URLs)?

It is built and maintained by parsonssss (@parsonssss); the current version is v1.0.0.

💬 Comments