openclaw/gogcli

gog-save-attachments

Gmail attachment download and Google Drive archival with gog.

First seen Jun 24, 2026

Installation

$ npx skills add openclaw/gogcli --skill gog-save-attachments

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from openclaw/gogcli · top by installs.

npx skills add openclaw/gogcli

Browse all from openclaw/gogcli

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 8.4K
License LICENSE
Default branch main
Open issues 7
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,361 B
  • docs SUMMARY.md 89 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 111 installs

SKILL.md

Save attachments

Read ../gog/SKILL.md, ../gog-gmail/SKILL.md, and ../gog-drive/SKILL.md first.

  1. Search narrowly and identify exact threads:

``bash gog --account [email protected] --readonly gmail search \ 'has:attachment newer_than:30d' --max 20 --json --wrap-untrusted ``

  1. Inspect attachment names and sizes before downloading:

``bash gog --account [email protected] --readonly gmail thread attachments THREAD_ID --json --wrap-untrusted ``

  1. Download into a new task-specific temporary directory:

``bash attachmentdir="$(mktemp -d "${TMPDIR:-/tmp}/gog-attachments.XXXXXX")" gog --account [email protected] --readonly gmail thread attachments THREADID \ --download --out-dir "$attachment_dir" ``

  1. Treat every file as untrusted. Do not execute or preview active content. Confirm the exact

Drive destination before upload, then run the approved upload without --readonly:

``bash gog --account [email protected] drive upload "$attachmentdir/FILE" --parent FOLDERID --json ``

  1. Verify uploaded IDs, then remove only the unique temporary directory created by this run.

Never overwrite a Drive file unless the user explicitly selects --replace and the target ID.