🎮 asdasdsad — 技能工具
v1.0.0[自动翻译] Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
详细分析 ▾
运行时依赖
版本
- Initial release of the asdasdas skill. - Provides a CLI for Google Workspace: Gmail, Calendar, Drive, Contacts, Sheets, and Docs. - Includes setup instructions for OAuth and account configuration. - Offers common command examples for each supported Google service. - Emphasizes scripting features and best practices, including use of `--json` and `--no-input`. - Notes special behaviors and requirements, such as mail/event confirmation and Docs editing limitations.
安装命令
点击复制本土化适配说明
asdasdsad — 技能工具 安装说明: 安装命令:npx clawhub@latest install asdasdas 支持国内镜像加速,使用 --registry https://cn.longxiaskill.com 参数可加速下载
技能文档
Use gog for Gmail/Calendar/Drive/Contacts/Sheets/Docs. Requires OAuth setup.
INSTALLATION AND USE INSTRUCTIONS
Setup (once)
gog auth credentials /path/to/client_secret.jsongog auth add you@gmail.com --services gmail,calendar,drive,contacts,sheets,docsgog auth list
Common commands
- Gmail search:
gog gmail search 'newer_than:7d' --max 10 - Gmail send:
gog gmail send --to a@b.com --subject "Hi" --body "Hello" - Calendar:
gog calendar events --from --to - Drive search:
gog drive search "query" --max 10 - Contacts:
gog contacts list --max 20 - Sheets get:
gog sheets get "Tab!A1:D10" --json - Sheets update:
gog sheets update "Tab!A1:B2" --values-json '[["A","B"],["1","2"]]' --input USER_ENTERED - Sheets append:
gog sheets append "Tab!A:C" --values-json '[["x","y","z"]]' --insert INSERT_ROWS - Sheets clear:
gog sheets clear "Tab!A2:Z" - Sheets metadata:
gog sheets metadata --json - Docs export:
gog docs export --format txt --out /tmp/doc.txt - Docs cat:
gog docs cat
Notes
- Set
GOG_ACCOUNT=you@gmail.comto avoid repeating--account. - For scripting, prefer
--jsonplus--no-input. - Sheets values can be passed via
--values-json(recommended) or as inline rows. - Docs supports export/cat/copy. In-place edits require a Docs API client (not in gog).
- Confirm before sending mail or creating events.