sync from WSL host: latest openclaw config update

This commit is contained in:
2026-07-14 16:58:43 +08:00
parent 4ca178cb25
commit 8865fb5aa7
339 changed files with 80661 additions and 21261 deletions
@@ -0,0 +1,103 @@
---
name: "weekly-report-g5"
description: "维云智造G5周报生成:整理每日工作→多段邮件(纯文本+HTML含签名图)→存入钉邮草稿箱"
---
# weekly-report-g5 — 维云智造 G5 周报生成技能
## 适用场景
用户提供了周一至周五的每日工作内容,需要生成 G5 周报并存入钉邮草稿箱。
## 工作流程
### 1. 收集每日工作内容
- 周一(本周首日)至周五
- 如果用户分多次给出,先等待所有日期内容收齐再生成
### 2. 邮件格式规范
**主题**`G5开发周报 (YYYY-MM-DD ~ YYYY-MM-DD)`
**收件人**liuqiang@witsoft.cn
**抄送**wurd@witsoft.cn, chenm@witsoft.cn, zengli@witsoft.cn
**发送人**:杨轩 \<yangxuan@witsoft.cn\>
**正文(纯文本版)**
```
项目名称: 维云智造G5
主要任务: <本周主要任务>
本周工作内容
周一(YYYY-MM-DD
- ...
周二(YYYY-MM-DD
- ...
周三(YYYY-MM-DD
- ...
周四(YYYY-MM-DD
- ...
周五(YYYY-MM-DD
- ...
存在问题
<内容或"无">
```
**签名格式(纯文本)**
```
Best regards,
杨轩
https://minio.climbcube.cn/img/202606260843249.jpg
地址:中国·南京云密城L栋5/10楼
手机:18726128489
邮箱:yangxuan@witsoft.cn
```
### 3. 发送方式
使用 Python 构造**多段邮件**(同时含纯文本和 HTML),然后通过 himalaya 存入草稿箱。
HTML 版签名区应该包含 `<img>` 标签嵌入签名图片:
```html
<img src="https://minio.climbcube.cn/img/202606260843249.jpg" alt="签名" style="max-width:200px; height:auto;">
```
**生成命令模板**
```bash
python3 << 'PYEOF'
import email
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email.header import Header
plain_body = """..."""
html_text = """..."""
msg = MIMEMultipart('related')
msg['From'] = Header('杨轩', 'utf-8').encode() + ' <yangxuan@witsoft.cn>'
msg['To'] = Header('刘强', 'utf-8').encode() + ' <liuqiang@witsoft.cn>'
msg['Cc'] = Header('吴睿东', 'utf-8').encode() + ' <wurd@witsoft.cn>, ' + Header('陈明', 'utf-8').encode() + ' <chenm@witsoft.cn>, ' + Header('曾莉', 'utf-8').encode() + ' <zengli@witsoft.cn>'
msg['Subject'] = Header('G5开发周报 (...)', 'utf-8').encode()
alt = MIMEMultipart('alternative')
alt.attach(MIMEText(plain_body, 'plain', 'utf-8'))
alt.attach(MIMEText(html_text, 'html', 'utf-8'))
msg.attach(alt)
with open('/tmp/weekly-report-YYYY-MM-DD.eml', 'w') as f:
f.write(msg.as_string())
PYEOF
himalaya message save --folder "草稿" < /tmp/weekly-report-YYYY-MM-DD.eml
```
### 4. 最后通知
通知用户去钉钉邮箱草稿箱确认并发送。
## 注意事项
- 纯文本版签名包含图片 URL 链接
- HTML 版使用 `<img>` 标签嵌入签名图片
- 如用户不提供签名信息,使用 MEMORY.md 中的默认签名:姓名、地址、手机、邮箱
- 所有交互使用中文