Skill
Read and write files on Yossef’s Google Drive via rclone (remote “gdrive”). Use when asked to fetch a document from Drive, save a deliverable/report/image to Drive, or list Drive folders.
Playbook (mirrored from disk)
Google Drive (rclone)
Connected remote: gdrive: (OAuth with auto-refresh; config at ~/.config/rclone/rclone.conf).
Everything is plain CLI — works from any agent with exec.
Common operations
rclone lsd gdrive: # list folders in Drive root
rclone ls gdrive:FAQ # list files in a folder (recursive)
rclone lsf gdrive:InstagramPosts --max-depth 1 # flat listing
rclone copy "gdrive:path/file.pdf" /tmp/ # download a file
rclone copy /path/local.png "gdrive:AgentOutputs/" # upload (creates folder if needed)
rclone cat "gdrive:path/notes.txt" # print a text file
rclone copyto local.md "gdrive:Reports/report-2026-06-12.md" # upload with renameGoogle Docs/Sheets
Native Google formats export automatically on download:
rclone copy "gdrive:My Doc" /tmp/ --drive-export-formats docx # or: txt, pdf, xlsxConventions
- Agent deliverables go under
gdrive:AgentOutputs/<agent-name>/— keep Drive tidy. - Hebrew file/folder names work — quote every path.
- Big transfers: add
--transfers 2 --bwlimit 10M(don’t choke the VPS).
Red lines
- NEVER
rclone delete/purge/syncagainst Drive paths you didn’t create — sync can
mass-delete. Downloads and uploads only, unless Yossef explicitly asks for deletion. - Don’t upload secrets (tokens, .env, keys) to Drive — it’s external storage.