← 返回 Skills 市场
Tencent Cloud Image Hosting (Upload files to get online URLs)
作者
parsonssss
· GitHub ↗
· v1.0.0
331
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install upload-files-to-get-online-url
功能描述
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...
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install upload-files-to-get-online-url - 安装完成后,直接呼叫该 Skill 的名称或使用
/upload-files-to-get-online-url触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 331 次。
如何安装 Tencent Cloud Image Hosting (Upload files to get online URLs)?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install upload-files-to-get-online-url」即可一键安装,无需额外配置。
Tencent Cloud Image Hosting (Upload files to get online URLs) 是免费的吗?
是的,Tencent Cloud Image Hosting (Upload files to get online URLs) 完全免费(开源免费),可自由下载、安装和使用。
Tencent Cloud Image Hosting (Upload files to get online URLs) 支持哪些平台?
Tencent Cloud Image Hosting (Upload files to get online URLs) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Tencent Cloud Image Hosting (Upload files to get online URLs)?
由 parsonssss(@parsonssss)开发并维护,当前版本 v1.0.0。
推荐 Skills