From deploy-gdrive
Package static website project into a zip and upload to Google Drive, returning a share link. Use when the user mentions "deploy", "上傳 Google Drive", "打包上傳", "gdrive deploy", "交付", "打包交付", "上傳到雲端硬碟", or wants to package and deliver project files via Google Drive.
How this skill is triggered — by the user, by Claude, or both
Slash command
/deploy-gdrive:deploy-gdriveThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Package a static website project and upload it to Google Drive with a shareable link.
Package a static website project and upload it to Google Drive with a shareable link.
gdrive CLI v3 (brew install gdrive)gdrive authenticated (gdrive account add)gdrive version and gdrive account listindex.html (the deployable static site){project_name}_{YYYYMMDD}_{serial}.zip.vscode, node_modules, .DS_Store, .git){project_name} prefix) in the parent folder to an old subfolder (auto-created if needed)gdrive files upload → gdrive permissions sharepackage.json → name fieldindex.html → <title> tag contentREADME.md / README → first headingmy_landing_page, cool_widget)YYYYMMDDLocate the bundled scripts relative to this SKILL.md file under scripts/:
# Resolve the skill's script directory
SKILL_DIR="<directory containing this SKILL.md>"
bash "$SKILL_DIR/scripts/deploy.sh" "<source_folder>" "<project_name>" [parent_folder_id]
Or follow the step-by-step commands in references/references.md.
All config lives in ~/.config/gdrive-deploy/:
| File | Purpose |
|---|---|
config.json | {"default_parent_folder_id": "FOLDER_ID"} — default upload destination |
serial.json | Auto-managed serial number tracking per project+date |
Create config if needed:
mkdir -p ~/.config/gdrive-deploy
echo '{"default_parent_folder_id": "YOUR_FOLDER_ID"}' > ~/.config/gdrive-deploy/config.json
✅ 部署完成!
📦 檔案名稱: {filename}.zip
📁 來源資料夾: {source_folder}
🔗 Google Drive 連結: https://drive.google.com/file/d/{file_id}/view?usp=sharing
🔢 序列號: {serial}
📋 連結已複製到剪貼簿
npx claudepluginhub tim80411/ai-agent-extension --plugin deploy-gdriveUploads files to Google Drive via Google Apps Script web app using base64 and curl. Triggers on 'upload/save to Drive' phrases (English/Hebrew) or proactively for workflow outputs. Supports folders.
Automates Google Drive file and folder operations via Python CLI scripts: search, list, upload, download, create, move, rename, trash. Standalone OAuth for Workspace accounts, no MCP server needed.
Deploys a single HTML file to FluidDocs hosting. Handles browser sign-in and opens the live URL. Triggered by words like 'deploy', 'publish', 'ship it'.