skills/claude-skills-open/skills/channels/email-monitor/SKILL.md
AI inbox classification + Telegram notification
npx skillsauth add aaaaqwq/agi-super-skills email-monitorInstall 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.
Automatic pipeline: Gmail -> AI classification -> CRM activities -> PM tasks -> draft replies -> Telegram
email_monitor.py → Gmail API, extracts full body
↓ JSON (stdout)
email_agent.py → AI classification (claude CLI haiku)
↓ actionable emails JSON (stdin)
email_action_agent.py → CRM + PM + drafts + git commit + Telegram
| What | Path |
|------|------|
| Monitor tool | $GOOGLE_TOOLS_PATH/email_monitor.py |
| Classify agent | $GOOGLE_TOOLS_PATH/email_agent.py |
| Action agent | $GOOGLE_TOOLS_PATH/email_action_agent.py |
| State | $GOOGLE_TOOLS_PATH/data/email_monitor_state.json |
| Summaries | $GOOGLE_TOOLS_PATH/data/email_summaries/ |
| Drafts | $GOOGLE_TOOLS_PATH/data/email_drafts/ |
| Agent log | $GOOGLE_TOOLS_PATH/data/email_agent_log.json |
| LaunchAgent | ~/Library/LaunchAgents/com.yourcompany.email-monitor.plist |
# Everything automatic: check → classify → CRM → tasks → drafts → notify
$GOOGLE_TOOLS_PATH/.venv/bin/python3 $GOOGLE_TOOLS_PATH/email_agent.py
# Dry-run (classification without writing records or notifications)
$GOOGLE_TOOLS_PATH/.venv/bin/python3 $GOOGLE_TOOLS_PATH/email_agent.py --dry-run
# Without AI (rule-based classification)
$GOOGLE_TOOLS_PATH/.venv/bin/python3 $GOOGLE_TOOLS_PATH/email_agent.py --no-ai
# JSON with full body of each email
$GOOGLE_TOOLS_PATH/.venv/bin/python3 $GOOGLE_TOOLS_PATH/email_monitor.py
# Human-readable
$GOOGLE_TOOLS_PATH/.venv/bin/python3 $GOOGLE_TOOLS_PATH/email_monitor.py --pretty
# Reset state (reprocess last 20)
rm $GOOGLE_TOOLS_PATH/data/email_monitor_state.json
# Emails from the last N hours
$GOOGLE_TOOLS_PATH/.venv/bin/python3 $GOOGLE_TOOLS_PATH/email_monitor.py --since 2h
# From file
$GOOGLE_TOOLS_PATH/.venv/bin/python3 $GOOGLE_TOOLS_PATH/email_action_agent.py --file input.json
# Dry-run (shows what it will do, without writing records)
echo '<json>' | $GOOGLE_TOOLS_PATH/.venv/bin/python3 $GOOGLE_TOOLS_PATH/email_action_agent.py --dry-run
# Without drafts
echo '<json>' | $GOOGLE_TOOLS_PATH/.venv/bin/python3 $GOOGLE_TOOLS_PATH/email_action_agent.py --no-draft
# Summary for today
cat $GOOGLE_TOOLS_PATH/data/email_summaries/$(date +%Y-%m-%d).md
# Draft replies
ls $GOOGLE_TOOLS_PATH/data/email_drafts/
cat $GOOGLE_TOOLS_PATH/data/email_drafts/2026-02-09_task-055.txt
# launchd status
launchctl list | grep email-monitor
| Category | Action Agent action | |----------|---------------------| | URGENT | Activity + draft | | REPLY_NEEDED | Activity + draft | | INFO | Activity only | | SPAM | Skipped |
Note (2026-03-02): Task creation is DISABLED. Sales follow-ups are tracked in
leads.csvvianext_action. pm_tasks is for dev/project tasks only. To re-enable task creation, uncomment the block inemail_action_agent.pyaround line 420.
people.csv (email), fallback by domain in companies.csvactivities.csv (type: email, direction: inbound)pm_tasks_master.csvclaude -p --model haiku, saves to data/email_drafts/Unknown contacts are tagged with unknown-contact -- need to be added to CRM.
$CRM_PATH/contacts/people.csv$CRM_PATH/contacts/companies.csv$CRM_PATH/activities.csvemail-send-direct -- single emailemail-send-bulk -- mass email sendingdaily-briefing -- morning overview (reads email summaries)log-activity -- manual activity loggingtelegram-session -- if Telegram notifications are not workingtesting
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": "景顺长城沪港深精选股票