# Manage Google Drive with GWS

Google Drive administration often requires many separate API operations. This skill guides Claude and Codex through supported gws commands for files, sharing, comments, revisions, and notifications.

## Install

```bash
npx skillstore add googleworkspace/gws-drive
```

## Metadata

- Status: approved
- Slug: googleworkspace-gws-drive
- Version: 0.23.0
- Author version: 0.23.0
- Skillstore revision: r2
- Version status: regressed
- Tree hash: 71ebeb163f29ccb8fc4f96e322e7d5432f7340056c161352caf3c635f41ca072
- Author: googleworkspace
- GitHub username: googleworkspace
- License: MIT
- Repository: https://github.com/googleworkspace/cli/tree/main/skills/gws-drive/
- Ref: 286d37c9c189ddd1aafd3548415fb031d1df79d5
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network, filesystem
- Quality score: 73
- Public page: https://skillstore.pages.dev/skills/googleworkspace-gws-drive
- Manifest: https://skillstore.pages.dev/api/skills/googleworkspace-gws-drive/manifest

## Capabilities

- List, inspect, copy, create, update, download, and export Drive files.
- Create, inspect, hide, restore, and update shared drives.
- Create, list, update, and delete comments and replies.
- Create, inspect, update, and delete file or shared drive permissions.
- Inspect file revisions and delete eligible binary file revisions.
- Watch file or Drive changes and stop notification channels.

## Use Cases

- Organize Team Files: Find files, inspect metadata, create folders, and update selected items in a team workspace.
- Review Sharing Access: List permissions and pending access proposals before applying approved sharing changes.
- Automate Content Workflows: Monitor Drive changes, export documents, and manage comments for connected business processes.

## Prompt Templates

### Find Recent Files

```
List non-trashed files modified after [date]. Return each name, type, owner, modified time, and file ID.
```

### Inspect a Shared Drive

```
Inspect shared drive [drive ID]. Summarize its metadata and list matching files using query [query]. Do not change anything.
```

### Prepare Permission Changes

```
Review permissions for [file ID]. Propose changes for [people or groups], explain access impact, and wait for confirmation before applying them.
```

### Build a Change Monitor

```
Inspect the Drive change methods, obtain the required page token, and plan notifications for [scope]. Confirm channel settings before creating the watch.
```

## Limitations

- Requires an authenticated gws CLI with suitable Google Workspace scopes.
- Google account permissions and administrator policies limit every operation.
- Workspace exports are limited to 10 MB, and other Drive API limits still apply.
- Authentication guidance and upload behavior are delegated to sibling skills.

## Best Practices

- Inspect each method schema before building parameters or request data.
- Use narrow fields and search queries to reduce returned Drive data.
- Preview consequential changes and obtain explicit confirmation before execution.

## Anti Patterns

- Do not list every file when a narrow query can answer the request.
- Do not delete revisions, comments, permissions, or files without explicit confirmation.
- Do not assume the authenticated account can access every shared drive.

## Security Audit

- Audited at: 2026-08-05T10:55:05.197\+00:00
- Summary: All 111 static findings are false positives caused by Markdown formatting, documentation links, relative sibling references, and Drive API method descriptions. No prompt injection or malicious behavior appears, but consequential Drive mutations need explicit confirmation.

## Stats

- Views: 96
- Downloads: 8
- Favorites: 0
- Popularity score: 0
