[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77R8XENQ8F899EA2EP9V8WB":3,"skill-same:01M77R8XENQ8F899EA2EP9V8WB":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":42,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M77R8XENQ8F899EA2EP9V8WB","gog",null,"Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.","hao-ai-lab\u002Fhawky","hao-ai-lab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F149045815?v=4","01M77R84J08EF4S0F8PR8CM7Y3","Hao AI Lab","01M77R84JS1XG4SDF3RMGFB1TG",33,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhao-ai-lab\u002Fhawky\u002Fblob\u002Fmain\u002Fsrc\u002Fskill-templates\u002Fgog\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: gog\ndescription: Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.\nhomepage: https:\u002F\u002Fgogcli.sh\nmetadata:\n  {\n    \"hawky\":\n      {\n        \"emoji\": \"🎮\",\n        \"requires\": { \"bins\": [\"gog\"] },\n        \"install\":\n          [\n            {\n              \"id\": \"brew\",\n              \"kind\": \"brew\",\n              \"formula\": \"steipete\u002Ftap\u002Fgogcli\",\n              \"bins\": [\"gog\"],\n              \"label\": \"Install gog (brew)\",\n            },\n          ],\n      },\n  }\n---\n\n# gog\n\nUse `gog` for Gmail\u002FCalendar\u002FDrive\u002FContacts\u002FSheets\u002FDocs. Requires OAuth setup.\n\nSetup (once)\n\n1. Import OAuth client credentials:\n   `gog auth credentials \u002Fpath\u002Fto\u002Fclient_secret.json`\n\n2. Add each account (use `--manual` flag on headless servers with no local browser):\n   `gog auth add you@gmail.com --services gmail,calendar,drive,contacts,docs,sheets --manual`\n   (The `--manual` flag prints a URL to open in any browser. After authorizing, paste the redirect URL back.)\n\n3. Verify: `gog auth list`\n\n### Keyring password (headless \u002F server environments)\n\n`gog` stores OAuth tokens encrypted in a file-based keyring. On headless servers (no desktop keyring like macOS Keychain or GNOME Keyring), gog uses a file keyring that requires a password via `GOG_KEYRING_PASSWORD`.\n\n**You must set this env var for every gog command** on headless systems, or gog will hang waiting for interactive input:\n\n```bash\nGOG_KEYRING_PASSWORD=gog gog gmail search 'newer_than:1d' --account you@gmail.com\n```\n\nChoose any password when first running `gog auth add` — just be consistent. If running inside Hawky, save the password to MEMORY.md so the agent can use it in future sessions.\n\nIf you see `failed to unlock keyring` errors, the password doesn't match what was used during initial auth. Re-run `gog auth add` with the correct `GOG_KEYRING_PASSWORD` set.\n\nCommon commands\n\n- Gmail search: `gog gmail search 'newer_than:7d' --max 10`\n- Gmail messages search (per email, ignores threading): `gog gmail messages search \"in:inbox from:ryanair.com\" --max 20 --account you@example.com`\n- Gmail send (plain): `gog gmail send --to a@b.com --subject \"Hi\" --body \"Hello\"`\n- Gmail send (multi-line): `gog gmail send --to a@b.com --subject \"Hi\" --body-file .\u002Fmessage.txt`\n- Gmail send (stdin): `gog gmail send --to a@b.com --subject \"Hi\" --body-file -`\n- Gmail send (HTML): `gog gmail send --to a@b.com --subject \"Hi\" --body-html \"\u003Cp>Hello\u003C\u002Fp>\"`\n- Gmail draft: `gog gmail drafts create --to a@b.com --subject \"Hi\" --body-file .\u002Fmessage.txt`\n- Gmail send draft: `gog gmail drafts send \u003CdraftId>`\n- Gmail reply: `gog gmail send --to a@b.com --subject \"Re: Hi\" --body \"Reply\" --reply-to-message-id \u003CmsgId>`\n- Calendar list events: `gog calendar events [\u003CcalendarId>] --from \u003Ciso> --to \u003Ciso>` (calendarId defaults to primary; omit for default calendar)\n- Calendar list all calendars: `gog calendar calendars`\n- Calendar create event: `gog calendar create \u003CcalendarId> --summary \"Title\" --from \u003Ciso> --to \u003Ciso>`\n- Calendar create with color: `gog calendar create \u003CcalendarId> --summary \"Title\" --from \u003Ciso> --to \u003Ciso> --event-color 7`\n- Calendar update event: `gog calendar update \u003CcalendarId> \u003CeventId> --summary \"New Title\" --event-color 4`\n- Calendar show colors: `gog calendar colors`\n- Drive list files: `gog drive ls --max 10`\n- Drive search: `gog drive search \"query\" --max 10`\n- Contacts: `gog contacts list --max 20`\n- Sheets get: `gog sheets get \u003CsheetId> \"Tab!A1:D10\" --json`\n- Sheets update: `gog sheets update \u003CsheetId> \"Tab!A1:B2\" --values-json '[[\"A\",\"B\"],[\"1\",\"2\"]]' --input USER_ENTERED`\n- Sheets append: `gog sheets append \u003CsheetId> \"Tab!A:C\" --values-json '[[\"x\",\"y\",\"z\"]]' --insert INSERT_ROWS`\n- Sheets clear: `gog sheets clear \u003CsheetId> \"Tab!A2:Z\"`\n- Sheets metadata: `gog sheets metadata \u003CsheetId> --json`\n- Docs export: `gog docs export \u003CdocId> --format txt --out \u002Ftmp\u002Fdoc.txt`\n- Docs cat: `gog docs cat \u003CdocId>`\n\nCalendar Colors\n\n- Use `gog calendar colors` to see all available event colors (IDs 1-11)\n- Add colors to events with `--event-color \u003Cid>` flag\n- Event color IDs (from `gog calendar colors` output):\n  - 1: #a4bdfc\n  - 2: #7ae7bf\n  - 3: #dbadff\n  - 4: #ff887c\n  - 5: #fbd75b\n  - 6: #ffb878\n  - 7: #46d6db\n  - 8: #e1e1e1\n  - 9: #5484ed\n  - 10: #51b749\n  - 11: #dc2127\n\nEmail Formatting\n\n- Prefer plain text. Use `--body-file` for multi-paragraph messages (or `--body-file -` for stdin).\n- Same `--body-file` pattern works for drafts and replies.\n- `--body` does not unescape `\\n`. If you need inline newlines, use a heredoc or `$'Line 1\\n\\nLine 2'`.\n- Use `--body-html` only when you need rich formatting.\n- HTML tags: `\u003Cp>` for paragraphs, `\u003Cbr>` for line breaks, `\u003Cstrong>` for bold, `\u003Cem>` for italic, `\u003Ca href=\"url\">` for links, `\u003Cul>`\u002F`\u003Cli>` for lists.\n- Example (plain text via stdin):\n\n  ```bash\n  gog gmail send --to recipient@example.com \\\n    --subject \"Meeting Follow-up\" \\\n    --body-file - \u003C\u003C'EOF'\n  Hi Name,\n\n  Thanks for meeting today. Next steps:\n  - Item one\n  - Item two\n\n  Best regards,\n  Your Name\n  EOF\n  ```\n\n- Example (HTML list):\n  ```bash\n  gog gmail send --to recipient@example.com \\\n    --subject \"Meeting Follow-up\" \\\n    --body-html \"\u003Cp>Hi Name,\u003C\u002Fp>\u003Cp>Thanks for meeting today. Here are the next steps:\u003C\u002Fp>\u003Cul>\u003Cli>Item one\u003C\u002Fli>\u003Cli>Item two\u003C\u002Fli>\u003C\u002Ful>\u003Cp>Best regards,\u003Cbr>Your Name\u003C\u002Fp>\"\n  ```\n\nNotes\n\n- **Always prefix commands with `GOG_KEYRING_PASSWORD=\u003Cpassword>`** when running in non-interactive\u002Fheadless contexts (file keyring backend requires it). Check MEMORY.md for the password.\n- Set `GOG_ACCOUNT=you@gmail.com` to avoid repeating `--account`.\n- For scripting, prefer `--json` plus `--no-input`.\n- Sheets values can be passed via `--values-json` (recommended) or as inline rows.\n- Docs supports export\u002Fcat\u002Fcopy. In-place edits require a Docs API client (not in gog).\n- Confirm before sending mail or creating events.\n- `gog gmail search` returns one row per thread; use `gog gmail messages search` when you need every individual email returned separately.\n- Calendar `events` without a calendarId lists from primary calendar. Use `gog calendar calendars` to discover calendar IDs.\n","# gog\n\nUse `gog` for Gmail\u002FCalendar\u002FDrive\u002FContacts\u002FSheets\u002FDocs. Requires OAuth setup.\n\nSetup (once)\n\n1. Import OAuth client credentials:\n   `gog auth credentials \u002Fpath\u002Fto\u002Fclient_secret.json`\n\n2. Add each account (use `--manual` flag on headless servers with no local browser):\n   `gog auth add you@gmail.com --services gmail,calendar,drive,contacts,docs,sheets --manual`\n   (The `--manual` flag prints a URL to open in any browser. After authorizing, paste the redirect URL back.)\n\n3. Verify: `gog auth list`\n\n### Keyring password (headless \u002F server environments)\n\n`gog` stores OAuth tokens encrypted in a file-based keyring. On headless servers (no desktop keyring like macOS Keychain or GNOME Keyring), gog uses a file keyring that requires a password via `GOG_KEYRING_PASSWORD`.\n\n**You must set this env var for every gog command** on headless systems, or gog will hang waiting for interactive input:\n\n```bash\nGOG_KEYRING_PASSWORD=gog gog gmail search 'newer_than:1d' --account you@gmail.com\n```\n\nChoose any password when first running `gog auth add` — just be consistent. If running inside Hawky, save the password to MEMORY.md so the agent can use it in future sessions.\n\nIf you see `failed to unlock keyring` errors, the password doesn't match what was used during initial auth. Re-run `gog auth add` with the correct `GOG_KEYRING_PASSWORD` set.\n\nCommon commands\n\n- Gmail search: `gog gmail search 'newer_than:7d' --max 10`\n- Gmail messages search (per email, ignores threading): `gog gmail messages search \"in:inbox from:ryanair.com\" --max 20 --account you@example.com`\n- Gmail send (plain): `gog gmail send --to a@b.com --subject \"Hi\" --body \"Hello\"`\n- Gmail send (multi-line): `gog gmail send --to a@b.com --subject \"Hi\" --body-file .\u002Fmessage.txt`\n- Gmail send (stdin): `gog gmail send --to a@b.com --subject \"Hi\" --body-file -`\n- Gmail send (HTML): `gog gmail send --to a@b.com --subject \"Hi\" --body-html \"\u003Cp>Hello\u003C\u002Fp>\"`\n- Gmail draft: `gog gmail drafts create --to a@b.com --subject \"Hi\" --body-file .\u002Fmessage.txt`\n- Gmail send draft: `gog gmail drafts send \u003CdraftId>`\n- Gmail reply: `gog gmail send --to a@b.com --subject \"Re: Hi\" --body \"Reply\" --reply-to-message-id \u003CmsgId>`\n- Calendar list events: `gog calendar events [\u003CcalendarId>] --from \u003Ciso> --to \u003Ciso>` (calendarId defaults to primary; omit for default calendar)\n- Calendar list all calendars: `gog calendar calendars`\n- Calendar create event: `gog calendar create \u003CcalendarId> --summary \"Title\" --from \u003Ciso> --to \u003Ciso>`\n- Calendar create with color: `gog calendar create \u003CcalendarId> --summary \"Title\" --from \u003Ciso> --to \u003Ciso> --event-color 7`\n- Calendar update event: `gog calendar update \u003CcalendarId> \u003CeventId> --summary \"New Title\" --event-color 4`\n- Calendar show colors: `gog calendar colors`\n- Drive list files: `gog drive ls --max 10`\n- Drive search: `gog drive search \"query\" --max 10`\n- Contacts: `gog contacts list --max 20`\n- Sheets get: `gog sheets get \u003CsheetId> \"Tab!A1:D10\" --json`\n- Sheets update: `gog sheets update \u003CsheetId> \"Tab!A1:B2\" --values-json '[[\"A\",\"B\"],[\"1\",\"2\"]]' --input USER_ENTERED`\n- Sheets append: `gog sheets append \u003CsheetId> \"Tab!A:C\" --values-json '[[\"x\",\"y\",\"z\"]]' --insert INSERT_ROWS`\n- Sheets clear: `gog sheets clear \u003CsheetId> \"Tab!A2:Z\"`\n- Sheets metadata: `gog sheets metadata \u003CsheetId> --json`\n- Docs export: `gog docs export \u003CdocId> --format txt --out \u002Ftmp\u002Fdoc.txt`\n- Docs cat: `gog docs cat \u003CdocId>`\n\nCalendar Colors\n\n- Use `gog calendar colors` to see all available event colors (IDs 1-11)\n- Add colors to events with `--event-color \u003Cid>` flag\n- Event color IDs (from `gog calendar colors` output):\n  - 1: #a4bdfc\n  - 2: #7ae7bf\n  - 3: #dbadff\n  - 4: #ff887c\n  - 5: #fbd75b\n  - 6: #ffb878\n  - 7: #46d6db\n  - 8: #e1e1e1\n  - 9: #5484ed\n  - 10: #51b749\n  - 11: #dc2127\n\nEmail Formatting\n\n- Prefer plain text. Use `--body-file` for multi-paragraph messages (or `--body-file -` for stdin).\n- Same `--body-file` pattern works for drafts and replies.\n- `--body` does not unescape `\\n`. If you need inline newlines, use a heredoc or `$'Line 1\\n\\nLine 2'`.\n- Use `--body-html` only when you need rich formatting.\n- HTML tags: `\u003Cp>` for paragraphs, `\u003Cbr>` for line breaks, `\u003Cstrong>` for bold, `\u003Cem>` for italic, `\u003Ca href=\"url\">` for links, `\u003Cul>`\u002F`\u003Cli>` for lists.\n- Example (plain text via stdin):\n\n  ```bash\n  gog gmail send --to recipient@example.com \\\n    --subject \"Meeting Follow-up\" \\\n    --body-file - \u003C\u003C'EOF'\n  Hi Name,\n\n  Thanks for meeting today. Next steps:\n  - Item one\n  - Item two\n\n  Best regards,\n  Your Name\n  EOF\n  ```\n\n- Example (HTML list):\n  ```bash\n  gog gmail send --to recipient@example.com \\\n    --subject \"Meeting Follow-up\" \\\n    --body-html \"\u003Cp>Hi Name,\u003C\u002Fp>\u003Cp>Thanks for meeting today. Here are the next steps:\u003C\u002Fp>\u003Cul>\u003Cli>Item one\u003C\u002Fli>\u003Cli>Item two\u003C\u002Fli>\u003C\u002Ful>\u003Cp>Best regards,\u003Cbr>Your Name\u003C\u002Fp>\"\n  ```\n\nNotes\n\n- **Always prefix commands with `GOG_KEYRING_PASSWORD=\u003Cpassword>`** when running in non-interactive\u002Fheadless contexts (file keyring backend requires it). Check MEMORY.md for the password.\n- Set `GOG_ACCOUNT=you@gmail.com` to avoid repeating `--account`.\n- For scripting, prefer `--json` plus `--no-input`.\n- Sheets values can be passed via `--values-json` (recommended) or as inline rows.\n- Docs supports export\u002Fcat\u002Fcopy. In-place edits require a Docs API client (not in gog).\n- Confirm before sending mail or creating events.\n- `gog gmail search` returns one row per thread; use `gog gmail messages search` when you need every individual email returned separately.\n- Calendar `events` without a calendarId lists from primary calendar. Use `gog calendar calendars` to discover calendar IDs.\n",{"name":5,"homepage":24,"metadata":25,"description":7},"https:\u002F\u002Fgogcli.sh",{"hawky":26},{"emoji":27,"install":28,"requires":34},"🎮",[29],{"id":30,"bins":31,"kind":30,"label":32,"formula":33},"brew",[5],"Install gog (brew)","steipete\u002Ftap\u002Fgogcli",{"bins":35},[5],"main","67bb3667be325ce6adacf945aa1234824caeb03b","src\u002Fskill-templates\u002Fgog",3,"https:\u002F\u002Fgithub.com\u002Fhao-ai-lab\u002Fhawky","https:\u002F\u002Fgithub.com\u002Fhao-ai-lab","https:\u002F\u002Fhao-ai-lab.github.io","2026-10-01 15:34:56",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add hao-ai-lab\u002Fhawky --skill gog",{"tool":50,"command":51},"bunx","bunx skills add hao-ai-lab\u002Fhawky --skill gog",{"tool":53,"command":54},"pnpm","pnpm dlx skills add hao-ai-lab\u002Fhawky --skill gog","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhao-ai-lab\u002Fhawky\u002Fblob\u002Fmain\u002Fsrc\u002Fskill-templates\u002Fgog\u002FSKILL.md",true,[],[59,66,73,80,87,94],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M77R9GJMZGKNXG4GGD8KS8J6","summarize","Summarize or extract text\u002Ftranscripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube\u002Fvideo”).","https:\u002F\u002Fgithub.com\u002Fhao-ai-lab\u002Fhawky\u002Fblob\u002Fmain\u002Fsrc\u002Fskill-templates\u002Fsummarize\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M77R9C6Y2PE363J3ZQRH2VFM","slack","Use when the user asks you to read, search, send, or react in Slack — including reading channel history, DMs, searching messages, or posting as the user. Covers \"check my Slack\", \"reply to Alice\", \"what's happening in","https:\u002F\u002Fgithub.com\u002Fhao-ai-lab\u002Fhawky\u002Fblob\u002Fmain\u002Fsrc\u002Fskill-templates\u002Fslack\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M77R99M7P6MGP6PE2EAZDY5P","peekaboo","Capture and automate macOS UI with the Peekaboo CLI.","https:\u002F\u002Fgithub.com\u002Fhao-ai-lab\u002Fhawky\u002Fblob\u002Fmain\u002Fsrc\u002Fskill-templates\u002Fpeekaboo\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M77R96Q4YAZ19ZTHZC2251NQ","paper-search","Search academic papers on arXiv, Semantic Scholar, and DBLP","https:\u002F\u002Fgithub.com\u002Fhao-ai-lab\u002Fhawky\u002Fblob\u002Fmain\u002Fsrc\u002Fskill-templates\u002Fpaper-search\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M77R93715SNT4FE2N5WHRNJ3","import-history","Import chat history from ChatGPT, Claude.ai, iMessage, Slack, WeChat, Telegram, Discord, or WhatsApp into Hawky memory","https:\u002F\u002Fgithub.com\u002Fhao-ai-lab\u002Fhawky\u002Fblob\u002Fmain\u002Fsrc\u002Fskill-templates\u002Fimport-history\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M77R8ZJMA0QY235PVPQY07PE","himalaya","CLI to manage emails via IMAP\u002FSMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).","https:\u002F\u002Fgithub.com\u002Fhao-ai-lab\u002Fhawky\u002Fblob\u002Fmain\u002Fsrc\u002Fskill-templates\u002Fhimalaya\u002FSKILL.md",[],[]]