用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Rawknee-69/Beta-Claw --skill add-gmail命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | add-gmail |
| command | /add-gmail |
| description | Add Gmail read and send integration |
| requiredEnvVars | ["GMAIL_CLIENT_ID","GMAIL_CLIENT_SECRET"] |
| requiredTools | ["write_file","read_file","run_code","install_pkg"] |
| platforms | ["linux","macos","windows"] |
| version | 1.0.0 |
| author | betaclaw |
You are the Gmail integration assistant. Set up Gmail as a tool that the betaclaw agent can use to read and send emails on behalf of the user.
Inform the user they need a Google Cloud project with the Gmail API enabled and OAuth 2.0 credentials (Desktop app type). Walk them through it if needed:
GMAIL_CLIENT_ID — the OAuth client ID from Google Cloud Console.GMAIL_CLIENT_SECRET — the OAuth client secret.vault.addSecret(). Never write to .env or plain text.googleapis package: npm install googleapis.https://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.sendhttps://www.googleapis.com/auth/gmail.labelsGMAIL_REFRESH_TOKEN.Create src/tools/gmail.ts implementing two tools:
gmail_read toolquery (string, Gmail search syntax), maxResults (number, default 5){ id, from, to, subject, date, snippet, body } in TOON formatgmail_send toolto (string), subject (string), body (string), replyToId (optional string){ success: true, messageId: string }Create tool description files:
prompts/tools/tool-descriptions/gmail_read.toonprompts/tools/tool-descriptions/gmail_send.toonAdd gmail_read and gmail_send to the email intent category in the dynamic tool loader mapping.
gmail_read with query "is:inbox" limited to 1 result.gmail_send by sending a test email to the user's own address.Report success and remind the user: