tencentcloud-cos-skill腾讯云对象存储(COS)和数据万象(CI)集成技能。当用户需要上传、下载、管理云存储文件, 或需要进行图片处理(质量评估、超分辨率、抠图、二维码识别、水印)、智能图片搜索、 文档转PDF、视频智能封面生成等操作时使用此技能。
Install via ClawdBot CLI:
clawdbot install ShawnMinh/tencentcloud-cos-skill基于腾讯云官方 cos-mcp MCP服务器的Clawdbot技能,提供完整的腾讯云对象存储(COS)和数据万象(CI)能力。
# 安装腾讯云COS MCP服务器
npm install -g cos-mcp@latest
# 设置腾讯云COS认证信息
export TENCENT_COS_SECRET_ID="AKIDxxxxxxxxxxxxxxxxxxxxxxxx"
export TENCENT_COS_SECRET_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
export TENCENT_COS_REGION="ap-guangzhou"
export TENCENT_COS_BUCKET="your-bucket-name-123456"
在 ~/.openclaw/openclaw.json 中添加:
{
"skills": {
"entries": {
"tencent-cos": {
"enabled": true,
"env": {
"TENCENT_COS_SECRET_ID": "AKIDxxxxxxxxxxxxxxxxxxxxxxxx",
"TENCENT_COS_SECRET_KEY": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"TENCENT_COS_REGION": "ap-guangzhou",
"TENCENT_COS_BUCKET": "your-bucket-name-123456"
}
}
}
}
}
# 上传文件到COS
上传文件到腾讯云COS: /path/to/local/file.jpg
# 从COS下载文件
从腾讯云COS下载文件: cos-file-key.jpg
# 列出COS文件
列出腾讯云COS存储桶中的文件
# 获取文件信息
获取COS文件信息: file-key.jpg
# 评估图片质量
评估图片质量: image.jpg
# 提升图片分辨率
提升图片分辨率: low-res-image.jpg
# 去除图片背景
去除图片背景: portrait.jpg
# 识别二维码
识别二维码图片: qrcode.jpg
# 添加文字水印
添加水印到图片: original.jpg 文字: "公司机密"
# 文本搜索图片
搜索相关图片: 风景照片
# 图片搜索相似图片
搜索相似图片: reference.jpg
# 文档转PDF
转换文档为PDF: document.docx
# 生成视频封面
生成视频封面: video.mp4
| 工具名 | 描述 | 参数示例 |
|--------|------|----------|
| cos_upload | 上传文件到COS | local_path, cos_key |
| cos_download | 从COS下载文件 | cos_key, local_path |
| cos_list | 列出COS文件 | prefix, max_keys |
| cos_delete | 删除COS文件 | cos_key |
| cos_get_url | 获取文件URL | cos_key, expires |
| 工具名 | 描述 | 参数示例 |
|--------|------|----------|
| cos_image_info | 获取图片信息 | cos_key |
| cos_assess_quality | 评估图片质量 | cos_key |
| cos_super_resolution | 超分辨率处理 | cos_key |
| cos_remove_background | 去除背景 | cos_key |
| cos_detect_qrcode | 识别二维码 | cos_key |
| cos_add_watermark | 添加文字水印 | cos_key, text |
| 工具名 | 描述 | 参数示例 |
|--------|------|----------|
| cos_search_by_image | 以图搜图 | cos_key |
| cos_search_by_text | 文本搜图 | text |
| 工具名 | 描述 | 参数示例 |
|--------|------|----------|
| cos_convert_to_pdf | 文档转PDF | cos_key |
| cos_generate_video_cover | 生成视频封面 | cos_key |
1. 上传图片文件夹到COS
2. 对每张图片进行质量评估
3. 自动优化低质量图片
4. 添加统一水印
5. 生成处理报告
1. 上传新图片到COS
2. 自动提取图片特征
3. 建立智能索引
4. 支持自然语言搜索
5. 按需生成不同尺寸
1. 接收各种格式文档
2. 统一转换为PDF
3. 存储到COS指定目录
4. 生成访问链接
5. 发送处理通知
{
"tencent_cos": {
"mcp_server": {
"command": "npx",
"args": [
"cos-mcp",
"--Region=${TENCENT_COS_REGION}",
"--Bucket=${TENCENT_COS_BUCKET}",
"--SecretId=${TENCENT_COS_SECRET_ID}",
"--SecretKey=${TENCENT_COS_SECRET_KEY}",
"--connectType=stdio"
]
},
"timeout": 30000,
"retry_attempts": 3
}
}
# 开发环境
export TENCENT_COS_ENV="development"
export TENCENT_COS_BUCKET="dev-bucket-123456"
# 生产环境
export TENCENT_COS_ENV="production"
export TENCENT_COS_BUCKET="prod-bucket-123456"
# 启用详细日志
export TENCENT_COS_DEBUG="true"
# 查看MCP服务器日志
cos-mcp --Region=ap-guangzhou --Bucket=test --SecretId=test --SecretKey=test --connectType=sse --port=3001
欢迎提交Pull Request改进这个技能:
本技能基于腾讯云cos-mcp项目,遵循BSD-3许可证。
最后更新: 2026-02-02
版本: 1.0.0
AI Usage Analysis
Analysis is being generated… refresh in a few seconds.
Automate Xiaohongshu (RedNote) content operations using a Python client for the xiaohongshu-mcp server. Use for: (1) Publishing image, text, and video content, (2) Searching for notes and trends, (3) Analyzing post details and comments, (4) Managing user profiles and content feeds. Triggers: xiaohongshu automation, rednote content, publish to xiaohongshu, xiaohongshu search, social media management.
Feishu-integrated wrapper for the capability-evolver. Manages the evolution loop lifecycle (start/stop/ensure), sends rich Feishu card reports, and provides...
The Baidu Baike Component is a knowledge service tool designed to query authoritative encyclopedia explanations for various nouns. Its core function is given a specific "noun" (object, person, location, concept, event, etc.) provided by the user, it returns a standardized, detailed entry explanation sourced from Baidu Baike.
Draft and publish posts to 小红书 (Xiaohongshu/RED). Use when creating content for 小红书, drafting posts, generating cover images, or publishing via browser automation. Covers the full workflow from content creation to browser-based publishing, including cover image generation with Pillow.
AI-assisted creation, rendering, and automated publishing of Xiaohongshu-style content with support for Markdown to image cards and data tracking.
小红书全能助手 — 文案生成、封面制作、内容发布与管理。当用户要求写小红书笔记、生成小红书文案/标题/封面、发小红书、搜索小红书、评论点赞收藏等任何小红书相关操作时使用。支持一站式从文案创作到自动发布的完整流程。封面AI生图需配置可选环境变量(GEMINI_API_KEY 或 IMG_API_KEY 或 HUNY...