drive-file-upload

Upload a local file to a specified Google Drive folder with optional renaming.

15|8|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/AstorYH/PASB --skill drive-file-upload
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drive-file-upload
Source: https://github.com/AstorYH/PASB/tree/main/nanobot/skills/google-drive-file-upload
Command: npx skills add https://github.com/AstorYH/PASB --skill drive-file-upload

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill automates the process of uploading files to a specified Google Drive folder, streamlining cloud storage management.

Core Features & Use Cases

  • File Upload: Uploads any local file to Google Drive.
  • Folder Specificity: Allows targeting a specific folder using its ID.
  • Optional Renaming: Supports providing a custom name for the uploaded file.
  • Use Case: Uploading daily reports, important documents, or generated artifacts directly to a designated cloud storage location without manual intervention.

Quick Start

Upload the file located at /home/user/documents/report.pdf to the Google Drive folder with ID 1abc2def3ghi4jkl5mno, naming it Final_Report.pdf.

Frequently Asked Questions about drive-file-upload

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate file uploads to Google Drive?

You can automate file uploads to Google Drive by using a script that validates file paths, retrieves content, determines MIME types, and sends files to a designated folder via the Google Drive API.

Can I rename a file when uploading it to Google Drive?

Yes, you can rename a file during the Google Drive upload process by providing a custom name parameter, allowing the uploaded file to have a different name than its local source file.

Do I need Google Drive API authentication to upload files to a specific folder?

Yes, uploading files to a specific Google Drive folder via automation requires Google Drive API authentication and appropriate permissions configured for cloud storage operations.

How does the upload process handle different file types?

The upload process handles various file types by automatically determining the correct MIME type for each file, ensuring proper content retrieval and formatting before uploading to Google Drive.

What's the best way to upload daily reports to Google Drive automatically?

The best way to upload daily reports to Google Drive automatically is to use an upload script that targets a specific folder ID, ensuring your generated documents are stored in the correct cloud location without manual intervention.