initial: 七牛云上传 OpenClaw Skill

功能特性:
- 支持 /upload, /u 命令上传文件到七牛云
- 支持 /qiniu-config 配置管理
- 支持飞书卡片交互
- 支持指定上传路径和存储桶
- 自动刷新 CDN 缓存
- 支持文件覆盖上传

包含组件:
- OpenClaw 处理器 (openclaw-processor.js)
- 独立监听器 (scripts/feishu-listener.js)
- 核心上传脚本 (scripts/upload-to-qiniu.js)
- 部署脚本 (deploy.sh)
- 完整文档

部署方式:
1. 复制 skill 到 ~/.openclaw/workspace/skills/
2. 配置 ~/.openclaw/credentials/qiniu-config.json
3. 重启 OpenClaw Gateway
This commit is contained in:
daoqi
2026-03-07 16:02:18 +08:00
commit 1aeae9cc51
36 changed files with 6826 additions and 0 deletions

17
qiniu-config.example.json Normal file
View File

@@ -0,0 +1,17 @@
{
"buckets": {
"default": {
"accessKey": "YOUR_ACCESS_KEY_HERE",
"secretKey": "YOUR_SECRET_KEY_HERE",
"bucket": "your-bucket-name",
"region": "z0",
"domain": "https://your-cdn-domain.com"
}
},
"_comment": {
"region": "区域代码z0=华东z1=华北z2=华南na0=北美as0=东南亚",
"setup": "1. 获取七牛 AccessKey/SecretKey: https://portal.qiniu.com/user/key",
"setup2": "2. 创建存储桶并配置 CDN 域名",
"setup3": "3. 将此文件保存为 ~/.openclaw/credentials/qiniu-config.json"
}
}