Drive upload

From senda-labs/DQIII8 · View interactive version

Drive upload is an AI agent skill from the GitHub repository senda-labs/DQIII8. Upload DOCX files from intl-reports to Google Drive Carpeta 3 using rclone. Zero reasoning — action only.

How to use this skill

Skill file

SKILL: drive-upload

INVARIANTS (NEVER BREAK)

UPLOAD PROTOCOL

DOCXs van SOLO en Borradores. La carpeta padre numerada es para entregas finales — NO tocar.

For each company (slug + numbered_folder_id):

SLUG="{slug}"
FOLDER_ID="{numbered_folder_id}"
DRAFTS="/root/dqiii8/my-projects/intl-reports/companies/$SLUG/drafts"

# 1. Create Borradores if not exists (rclone handles idempotently — no duplicate if already exists)
/usr/bin/rclone mkdir "gdrive:Borradores" --drive-root-folder-id "$FOLDER_ID" 2>/dev/null

# 2. Upload both DOCXs to Borradores ONLY (overwrite if local is newer)
/usr/bin/rclone copy "$DRAFTS/" "gdrive:Borradores" \
  --drive-root-folder-id "$FOLDER_ID" \
  --include "*.docx" --update --no-traverse 2>/dev/null

RESPONSE FORMAT

OK: {slug}

or

FAIL: {slug} — {one-line reason}
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.