skills/email-manager/SKILL.md
多邮箱统一管理与智能助手。支持 Gmail、QQ邮箱等 IMAP 邮箱,定时查看邮件,AI 生成摘要和回复草稿,发送前需用户确认。
npx skillsauth add aaaaqwq/agi-super-skills email-managerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
pass 安全存储凭据config/accounts.json# Gmail(需先开启 IMAP 并生成应用专用密码)
pass insert email/gmail/[email protected]
pass insert email/gmail/[email protected]
# QQ 邮箱(需先开启 IMAP 服务并获取授权码)
pass insert email/qq/[email protected]
pass insert email/qq/[email protected]
编辑 config/accounts.json:
{
"accounts": [
{
"name": "Gmail 主邮箱",
"email": "[email protected]",
"provider": "gmail",
"imap_server": "imap.gmail.com",
"imap_port": 993,
"smtp_server": "smtp.gmail.com",
"smtp_port": 587,
"enabled": true
},
{
"name": "QQ 邮箱",
"email": "[email protected]",
"provider": "qq",
"imap_server": "imap.qq.com",
"imap_port": 993,
"smtp_server": "smtp.qq.com",
"smtp_port": 587,
"enabled": true
}
]
}
使用 OpenClaw cron:
# 8:00 检查邮件
openclaw cron add --name "早间邮件检查" --schedule "0 8 * * *" --script "~/clawd/skills/email-manager/scripts/check_email.py"
# 17:00 检查邮件
openclaw cron add --name "晚间邮件检查" --schedule "0 17 * * *" --script "~/clawd/skills/email-manager/scripts/check_email.py"
| 操作 | 权限级别 | |------|----------| | 读取邮件列表 | 🟢 自动 | | 读取邮件内容 | 🟢 自动 | | 生成摘要 | 🟢 自动 | | 创建回复草稿 | 🟢 自动 | | 发送邮件 | 🟡 需确认 | | 删除邮件 | 🔴 禁止 |
scripts/check_email.py - 邮件检查与摘要scripts/send_email.py - 发送邮件(需确认)scripts/reply_draft.py - 生成回复草稿config/accounts.json - 账号配置config/providers.json - 邮件服务商配置| 邮箱 | IMAP 服务器 | 端口 | |------|-------------|------| | Gmail | imap.gmail.com | 993 | | QQ 邮箱 | imap.qq.com | 993 | | Outlook | outlook.office365.com | 993 | | 163 邮箱 | imap.163.com | 993 | | 126 邮箱 | imap.126.com | 993 |
用户: 查看邮件
AI: [读取所有配置邮箱,生成摘要]
📧 今日邮件摘要 (2026-02-19 08:00)
Gmail 主邮箱 (3 封未读):
1. [重要] 项目进度更新 - 张三
2. 会议邀请:周五例会 - 李四
3. 订单发货通知 - 淘宝
QQ 邮箱 (1 封未读):
1. 验证码通知 - 某服务
用户: 回复第1封邮件,告诉他项目进度正常
AI: [生成回复草稿]
📝 回复草稿:
收件人: 张三 <[email protected]>
主题: Re: 项目进度更新
内容:
---
张三,你好!
感谢你的关注。项目进度一切正常,目前按计划推进中。
如有其他问题,随时联系。
祝好,
Daniel
---
确认发送吗?(回复"确认"发送,"修改"调整,"取消"放弃)
Connection reset by peer, SSL: UNEXPECTED_EOF_WHILE_READINGMerge.yaml 添加 DOMAIN-SUFFIX,imap.gmail.com,DIRECTLookupError: unknown encoding: unknown-8bit_parse_email 已添加 try/except 兜底用 utf-8 解码check_email.py 被 SIGKILLtest_connection、limit 降到 10、使用 headers_only=True创建日期: 2026-02-19 更新日期: 2026-02-24 版本: 1.1.0
testing
AI驱动的智能浏览器自动化工具。使用LLM理解页面并自动执行任务,比传统Playwright更智能、更省token。适用于复杂交互、动态页面、需要智能决策的浏览器操作。Chrome浏览器优先。
tools
网页登录态管理。使用 fast-browser-use (fbu) 管理各平台登录状态,定期检查可用性,新平台授权时自动保存 profile。
development
Monitor and report on API provider quotas, balances, and usage. Query official providers (Moonshot, DeepSeek, xAI, Google AI Studio) and relay/proxy providers (Xingjiabiapi, Aixn, WoW) via their billing APIs. Also checks subscription services (Brave Search, OpenRouter). Generates quota reports. Triggers on "查额度", "API余额", "quota check", "billing report", "api balance", "供应商额度", "中转站余额", "费用报告", "check balance", "how much credit".
development
# A股基金监控 Skill A股基金净值监控,支持实时估值和盘后净值,自动判断交易日/节假日。 ## 用法 ### 快速监控(命令行) ```bash # 默认配置,输出到控制台 bash ~/clawd/skills/a-fund-monitor/scripts/monitor.sh # 推送到群(使用--push参数) bash ~/clawd/skills/a-fund-monitor/scripts/monitor.sh --push # 监控指定基金 bash ~/clawd/skills/a-fund-monitor/scripts/monitor.sh --codes "000979 002943" ``` ### Agent调用 ``` 执行A股基金监控任务。 1. 读取配置文件: ~/clawd/skills/a-fund-monitor/config.json 2. 获取实时净值数据 3. 非交易日自动切换为简短报告 配置文件格式: { "funds": [ {"code": "000979", "name": "景顺长城沪港深精选股票