Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Google Drive Upload

Skill Aktiv

Upload files directly to Google Drive via a deployed Google Apps Script web app. Trigger on: upload to Drive, save to Drive, send to Drive, put this in Drive. Also Hebrew: "תעלה לדרייב", "שמור בדרייב", "העלה לגוגל דרייב". Use proactively when a workflow produces a file the user might want in Drive.

Zweck

To seamlessly upload files to Google Drive from Claude, triggered by user requests or workflow outputs.

Funktionen

  • Uploads files directly to Google Drive
  • Uses a deployed Google Apps Script web app
  • Supports proactive use when workflows produce files
  • Handles Hebrew language triggers
  • Returns Google Drive file URL upon successful upload

Anwendungsfälle

  • When a user asks to upload, save, or send a file to Google Drive.
  • When a workflow produces a file that should be stored in Google Drive.
  • When users mention Google Drive in English or Hebrew.

Nicht-Ziele

  • Managing Google Drive files beyond uploading (e.g., deleting, editing, organizing folders extensively).
  • Handling files larger than Google Apps Script limits (~50MB).

Documentation

  • warning:Configuration & parameter referenceThe prerequisites mention a config file (`~/.cowork-gdrive-config.json`) with script URL and API key, but the exact format, default values, or precedence order are not documented.

Security

  • warning:Secret ManagementThe skill reads API keys and script URLs from a local config file (`~/.cowork-gdrive-config.json`), but the configuration file format and security implications are not fully documented.

Execution

  • warning:ValidationWhile the script uses `curl` to send data, there is no explicit validation schema mentioned for inputs like the configuration file or the file to be uploaded, nor for the output from the script.

Code Execution

  • warning:Error HandlingThe provided bash script has basic error handling for `cat` and `base64` (`|| true`), but lacks robust error reporting or retry mechanisms for the `curl` command or potential issues with the Google Apps Script endpoint.
  • info:LoggingThe script uses `echo` for outputting the file URL and basic error messages, but there is no dedicated audit log file for actions performed.

Install

  • warning:Installation instructionInstallation requires manual deployment of a Google Apps Script and creation of a configuration file, but the exact format of the config file and the steps for verifying the script deployment are not fully detailed.

Errors

  • warning:Actionable error messagesError messages from the script are minimal (e.g., success message) and do not provide specific details or remediation steps for potential `curl` or script execution failures.

Protocol

  • warning:Idempotent retry & timeoutsThe `curl` command has a default timeout, but the script does not explicitly handle retries for non-idempotent operations, and there are no documented hard timeouts for the entire process.

Practical Utility

  • warning:Edge casesThe SKILL.md mentions a max file size and Hebrew filename support but does not detail other failure modes or recovery steps for common issues like network errors, invalid API keys, or file access problems.

Safety

  • warning:Halt on unexpected stateThe script uses `|| true` which can mask errors, and there is no explicit instruction to halt on unexpected pre-state like a missing config file or invalid API key.

Installation

Zuerst Marketplace hinzufügen

/plugin marketplace add davepoon/buildwithclaude
/plugin install all-skills@buildwithclaude

Qualitätspunktzahl

72 /100
Analysiert 1 day ago

Vertrauenssignale

Letzter Commit5 days ago
Sterne2.9k
LizenzMIT
Status
Quellcode ansehen