skills/claude-skills-open/skills/channels/email-send-direct/SKILL.md
--- name: email-send-direct description: Single email: dry-run, reply, attachments --- # Email Send Direct > Send a single email via Gmail API from CLI ## When to use - "write an email to X" - "send email to Y" - "reply to the email" - Any single email sending (not mass campaign) ## IMPORTANT: Confirmation rule **ALWAYS first --dry-run, show preview to the user, and only after "yes" send without --dry-run.** ## Composing Guidelines **Before writing a single word:** 1. **Read the full thr
npx skillsauth add aaaaqwq/agi-super-skills skills/claude-skills-open/skills/channels/email-send-directInstall 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.
Send a single email via Gmail API from CLI
ALWAYS first --dry-run, show preview to the user, and only after "yes" send without --dry-run.
Before writing a single word:
email-read skill to pull last 3-5 days of correspondence with this contact.leads.csv and people.csv for context: deal stage, last activity, relationship notes. The email must reflect where we actually are, not where we were a week ago.Writing rules:
Ivan's voice:
Anti-patterns (never do these):
| Bad | Why | Instead | |-----|-----|---------| | "Please find attached the proposal" | Corporate robot | "Proposal is attached" or "Attached is the proposal we discussed" | | Bullet-point summary of what's attached | They can read it themselves | One sentence saying what it is | | Repeating info they already know | Wastes their time | Reference it briefly, move forward | | "Let me know if you have any questions" | Empty filler | Specific CTA: "Let me know if the terms work" | | Long intro before answering their question | Buries the answer | Answer first, context after |
| What | Path |
|------|------|
| Script | $GOOGLE_TOOLS_PATH/send_email.py |
| Token | $GOOGLE_TOOLS_PATH/token.json |
| venv | $GOOGLE_TOOLS_PATH/.venv/bin/python3 |
cd $GOOGLE_TOOLS_PATH
.venv/bin/python3 send_email.py \
--to [email protected] \
--subject "Subject" \
--body "Message text" \
--dry-run
.venv/bin/python3 send_email.py \
--to [email protected] \
--cc [email protected] \
--cc [email protected] \
--subject "Subject" \
--body "Message" \
--dry-run
.venv/bin/python3 send_email.py \
--to [email protected] \
--subject "NDA attached" \
--body "Please find attached." \
--attach /path/to/file.pdf \
--attach /path/to/another.pdf \
--dry-run
.venv/bin/python3 send_email.py \
--to [email protected] \
--subject "Re: Original Subject" \
--body "Reply text" \
--reply-to 'from:[email protected] subject:"Original Subject"' \
--dry-run
.venv/bin/python3 send_email.py \
--to [email protected] \
--subject "Re: Original Subject" \
--body "Reply text" \
--reply-to-id MESSAGE_ID \
--dry-run
.venv/bin/python3 send_email.py \
--to [email protected] \
--subject "Subject" \
--body-file /path/to/message.txt \
--dry-run
| Parameter | Description | Required |
|-----------|-------------|----------|
| --to EMAIL | Recipient (can specify multiple) | yes |
| --cc EMAIL | CC (can specify multiple) | no |
| --subject TEXT | Email subject | yes |
| --body TEXT | Email body text | yes* |
| --body-file FILE | Body text from file | yes* |
| --attach FILE | Attachment (can specify multiple) | no |
| --reply-to QUERY | Gmail query for thread lookup | no |
| --reply-to-id ID | Gmail message ID for reply | no |
| --dry-run | Preview only, do not send | no |
*Either --body or --body-file is required.
1. Prepare the email text
2. Run with --dry-run
3. Show preview to the user
4. After confirmation -- run WITHOUT --dry-run
5. Script automatically verifies sending (labels, snippet)
============================================================
EMAIL PREVIEW
============================================================
From: Your Name <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: Topic
Thread: abc123 (reply)
Attach: file.pdf (23,794 bytes)
------------------------------------------------------------
Message body here...
============================================================
[DRY RUN] Email not sent.
Sent! Message ID: 19c90af2b9ceaf61
Verify: OK
ID: 19c90af2b9ceaf61
To: [email protected]
Cc: [email protected]
Subject: Re: Topic
Labels: ['SENT']
Snippet: Message body here...
Attach: ['file.pdf']
From: Your Name <[email protected]>
| Problem | Solution |
|---------|----------|
| 401 Unauthorized | Refresh token: google-auth skill |
| Attachment not found | Check file path |
| Thread not found | Check --reply-to query |
| Encoding issues | Body is automatically UTF-8 |
email-send-bulk -- mass sending via Google Sheetsemail-read -- reading emailemail-monitor -- automatic monitoringgoogle-auth -- if authorization issuestesting
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": "景顺长城沪港深精选股票