AGENT SKILL

oce-google

Use the managed Google Workspace CLI on the dedicated worker.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 469
Forks
117

01 前言 Front Matter

name
oce-google
description
Use the managed Google Workspace CLI on the dedicated worker.

03 SKILL.md 正文

Google Workspace CLI

Run gog on the dedicated worker. Use gog schema <command> to inspect a command’s arguments, and --json --no-input for scriptable output.

For a Gmail account authorized to list message references, use this command.

gog --json --no-input api call gmail v1 gmail.users.messages.list --params '{"userId":"me","maxResults":10}'

An empty list means Google found no matching messages. Commands such as gog gmail messages search may also need permission to read labels and message metadata. Request message bodies only when the task needs them.

OCE supplies the selected account to the worker. If a request is denied, report the operation to the user so they can check the account’s allowed API destination and OAuth scopes in OCE.

04 同仓库更多 Skills