Logo Google Workspace
Infra, Ops & WorkflowSûr100100/100

Gws Drive Upload

Google Drive: Upload a file with automatic metadata.

ou envoie-le directement à ton agent.

Installer dans ton projet

$ npx arboris-cli@latest install gws-drive-upload
Logo Google Workspace
Google Workspace
affaan-m/ECC
Contenu à copier
---
name: gws-drive-upload
description: "Google Drive: Upload a file with automatic metadata."
metadata:
  origin: Google Workspace
  version: 0.22.5
  openclaw:
    category: "productivity"
    requires:
      bins:
        - gws
    cliHelp: "gws drive +upload --help"
---

# drive +upload

> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.

Upload a file with automatic metadata

## Usage

```bash
gws drive +upload <file>
```

## Flags

| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| `<file>` | ✓ | — | Path to file to upload |
| `--parent` | — | — | Parent folder ID |
| `--name` | — | — | Target filename (defaults to source filename) |

## Examples

```bash
gws drive +upload ./report.pdf
gws drive +upload ./report.pdf --parent FOLDER_ID
gws drive +upload ./data.csv --name 'Sales Data.csv'
```

## Tips

- MIME type is detected automatically.
- Filename is inferred from the local path unless --name is given.

> [!CAUTION]
> This is a **write** command — confirm with the user before executing.

## See Also

- [gws-shared](../gws-shared/SKILL.md) — Global flags and auth
- [gws-drive](../gws-drive/SKILL.md) — All manage files, folders, and shared drives commands
Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.

Ce que fait Gws Drive Upload

MIME type is detected automatically.
Filename is inferred from the local path unless --name is given.
[gws-shared](../gws-shared/SKILL.md) — Global flags and auth
[gws-drive](../gws-drive/SKILL.md) — All manage files, folders, and shared drives commands

Comment utiliser Gws Drive Upload

1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.

Déclencheurs pour Gws Drive Upload

Dis simplement à ton agent quelque chose comme :

Applique le skill gws-drive-upload à cette tâche
Utilise gws-drive-upload pour améliorer cette implémentation
Passe en revue ce sujet avec gws-drive-upload

Skills liés à Gws Drive Upload