# Upload Drive

> Upload files to Google Drive. Useful for exporting final tailored resumes or saving logs to a cloud destination.

- Skill: `majiayu000/upload-drive` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/upload-drive`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/upload-drive/raw
- Safety review: pending (external: skill-scanner PASS, skillspector CAUTION)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/upload-drive

---


# Upload to Google Drive

## Overview

This skill allows uploading files to a specified Google Drive folder. It handles authentication using a `credentials.json` file (OAuth 2.0).

## Prerequisites

Requires Google Client libraries:

```bash
pip install google-api-python-client google-auth-httplib2 google-auth-oauthlib
```

You must provide a `credentials.json` file from the Google Cloud Console.

## Usage

### Upload Script

**Syntax:**

```bash
python3 .agent/skills/upload-drive/scripts/upload_drive.py <file_path> [--folder_id <id>] [--credentials <path>]
```

**Arguments:**
*   `file_path`: Path of file to upload.
*   `--folder_id`: (Optional) ID of the destination Google Drive folder.
*   `--credentials`: (Optional) Path to `credentials.json`. Defaults to `credentials.json` in current dir.
*   `--token`: (Optional) Path to `token.json` to store session. Defaults to `token.json`.

**Example:**

```bash
# Upload resume to specific folder
python3 .agent/skills/upload-drive/scripts/upload_drive.py tailored_resume.pdf --folder_id 1A2B3C... --credentials ~/.secrets/credentials.json
```

