Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/idea2realclaw/myagent/gmailnpx skills add idea2realClaw/myAgent --skill gmailgit clone --depth 1 https://github.com/idea2realClaw/myAgentWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00078 | $0.00671 |
| Opus 5 | $0.00039 | $0.00336 |
| Sonnet 5 | $0.00016 | $0.00134 |
| Haiku 4.5 | $0.00008 | $0.00067 |
Grade A, and why
gmail scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Gmail 邮件工具
概述
通过 Gmail SMTP 和 IMAP 协议,在命令行中收发邮件。无需浏览器,支持附件。
前置要求
生成 Gmail 应用专用密码
- 访问 https://myaccount.google.com/apppasswords
- 登录 Google 账号
- 应用选择「邮件」,设备选择「其他」,输入名称(如 WorkBuddy)
- 点击「生成」,复制 16 位密码(去掉空格)
首次配置
GMAIL="python3 ~/.workbuddy/skills/gmail/scripts/gmail_tool.py"
$GMAIL config set email [email protected]
$GMAIL config set app_password xxxx xxxx xxxx xxxx
配置文件保存在 ~/.workbuddy/gmail.conf,权限设为 600(仅用户可读)。
命令参考
脚本路径:~/.workbuddy/skills/gmail/scripts/gmail_tool.py
发送邮件
# 基本发送
python3 gmail_tool.py send <收件人> <主题> <正文>
# 正文来自文件
python3 gmail_tool.py send [email protected] "汇报" /path/to/content.txt
# 带附件
python3 gmail_tool.py send [email protected] "资料" "请查收附件" /path/to/file.pdf /path/to/image.png
查看收件箱
# 查看最新 10 封(默认)
python3 gmail_tool.py inbox
# 查看最新 20 封
python3 gmail_tool.py inbox 20
阅读邮件
# 先从 inbox 命令获取邮件 ID,然后:
python3 gmail_tool.py read <邮件ID>
搜索邮件
# 按关键词搜索(搜索主题和发件人)
python3 gmail_tool.py search <关键词>
python3 gmail_tool.py search "龙族" 20
回复邮件
# 回复指定邮件
python3 gmail_tool.py reply <邮件ID> <回复内容>
# 回复内容来自文件
python3 gmail_tool.py reply <邮件ID> /path/to/reply.txt
查看配置
python3 gmail_tool.py config
注意事项
- 仅支持 Gmail 邮箱
- 必须使用应用专用密码,不支持普通登录密码
- Google 账号需开启两步验证才能生成应用专用密码
- 附件支持任意文件类型
- 邮件正文超过 3000 字符时会自动截断显示
- 配置文件
~/.workbuddy/gmail.conf权限为 600,保护密码安全
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 103 lines · 78 tokens per session scan A cf9fc1d90870
gmail is a skill published in the GitHub repository idea2realClaw/myAgent (2 stars, last pushed 13d ago), licensed MIT. It adds 78 tokens to every session and 671 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
hr-onboarding
A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".
lark-im
飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
reflect
Review recent work, find repeated workflow patterns, and suggest reusable skills, agents, commands, config changes, or playbooks. Use when the user asks to learn from past sessions, improve recurring workflows, or identify what should be turned into reusable agent instructions.
mochi-remind
Handle due reminders — notify the user with natural language and mark them done.
organize-threads
猫猫辅助整理未分类 thread,分析标题和元数据,建议合适的标签。 Use when: 用户说"帮我整理"、"分类 thread"、点击整理按钮。 Not for: 删除/编辑标签本身。 Output: 按 thread 的标签建议列表。.