본문으로 건너뛰기
cccskills
무료GitHub에 공개

gog-save-attachments

Find Gmail messages with attachments, check file names and sizes, and download the selected files through gog. Then archive them in a confirmed Google Drive folder and verify the uploaded files.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Gmail attachment download and Google Drive archival with gog.

연동 도구GmailGoogle Drive
설치 방법 보기

이럴 때 유용합니다

  • Finding emails with attachments from the past 30 days
  • Checking attachment names and sizes
  • Archiving selected attachments in Google Drive
  • Verifying uploads and cleaning up temporary files

포함된 파일(2)

  • SKILL.md1.3 KB
  • agents/openai.yaml219 B

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:

    gog --account user@example.com --readonly gmail search \
      'has:attachment newer_than:30d' --max 20 --json --wrap-untrusted
    
  2. Inspect attachment names and sizes before downloading:

    gog --account user@example.com --readonly gmail thread attachments THREAD_ID --json --wrap-untrusted
    
  3. Download into a new task-specific temporary directory:

    attachment_dir="$(mktemp -d "${TMPDIR:-/tmp}/gog-attachments.XXXXXX")"
    gog --account user@example.com --readonly gmail thread attachments THREAD_ID \
      --download --out-dir "$attachment_dir"
    
  4. 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:

    gog --account user@example.com drive upload "$attachment_dir/FILE" --parent FOLDER_ID --json
    
  5. 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.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

crabbox

무료

Run OpenClaw tests and reproduce bugs on remote machines through Crabbox. Choose a suitable execution provider, verify realistic user workflows, and report the actual provider, environment ID, logs, and timing.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Run broad OpenClaw tests in a remote CI environment
  • Reproduce installation or Docker bugs
  • Verify behavior on macOS, Windows, or WSL2
openclaw/gogcli8.5천2026년 10월 19일 업데이트

gog

무료

Automate Google Workspace tasks through a command-line tool: read email, calendars, files, documents, and spreadsheet data, or make requested updates. Inspect authentication, return structured JSON data, and restrict allowed operations for agent workflows.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Retrieve email, calendar, and file information
  • Update Google Docs and Google Sheets
  • Check authentication and diagnose access problems
openclaw/gogcli8.5천2026년 10월 19일 업데이트

gog-admin

무료

Manage Workspace users, groups, and organizational units through gog. The skill guides account selection and command checking, with confirmation of the target and intended change before writes or deletions, plus preview checks for supported writes.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Managing Workspace users
  • Managing Workspace groups
  • Managing Workspace organizational units
openclaw/gogcli8.5천2026년 10월 19일 업데이트

Use gog to inspect Google AdSense accounts, ad units, sites, payments, alerts, and policy issues. Generate AdSense reports and retrieve details about ad clients and channels to review advertising operations.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Generating AdSense reports
  • Reviewing account payments
  • Checking alerts and policy issues
openclaw/gogcli8.5천2026년 10월 19일 업데이트

Use gog to list Google Analytics 4 account summaries and run reports through the Analytics Data API. Explicit account selection and read-only options help agents retrieve information from the intended account.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Check available GA4 accounts
  • Retrieve a GA4 report
  • Read Analytics data without making changes
openclaw/gogcli8.5천2026년 10월 19일 업데이트

Manage Apps Script projects through gog: inspect code and metadata, list versions and deployments, download projects locally, create new projects, and run deployed functions with explicit account selection and checks before changes.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Inspect Apps Script project code and metadata
  • Download a project to a local directory
  • Check project versions and deployments
openclaw/gogcli8.5천2026년 10월 19일 업데이트

openclaw의 스킬 모두 보기

이 스킬의 문제 신고