Xpersona
G

Google Drive

CLAWHUB · Unverified

Access and manage Google Drive files, folders, metadata, uploads, downloads, and sharing via the Google Drive API with OAuth authentication.

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17an9k73kt1d0ehh9b9vce7qs83k0b7:googledrive-maton
  1. Install using `clawhub skill install s17an9k73kt1d0ehh9b9vce7qs83k0b7:googledrive-maton` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/otman-ai/googledrive-maton before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-otman-ai-googledrive-maton/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

9,704 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

Skill.md

# Google Drive (Maton Gateway) – cURL Guide

Access the Google Drive API with managed OAuth authentication using cURL.

---

## 🔹 Base URL

https://gateway.maton.ai/google-drive/{native-api-path}


---

## 🔹 Authentication

All requests require your API key:

```bash
export MATON_API_KEY="YOUR_API_KEY"
Header:

Authorization: Bearer $MATON_API_KEY
🚀 Quick Start
List Files
curl -X GET "https://gateway.maton.ai/google-drive/drive/v3/files?pageSize=10" \
  -H "Authorization: Bearer $MATON_API_KEY"
🔗 Connection Management
List Connections
curl -X GET "https://ctrl.maton.ai/connections?app=google-drive&status=ACTIVE" \
  -H "Authorization: Bearer $MATON_API_KEY"
Create Connection
curl -X POST "https://ctrl.maton.ai/connections" \
  -H "Authorization: Bearer $MATON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"app": "google-drive"}'
Get Connection
curl -X GET "https://ctrl.maton.ai/connections/{connection_id}" \
  -H "Authorization: Bearer $MATON_API_KEY"
Delete Connection
curl -X DELETE "https://ctrl.maton.ai/connections/{connection_id}" \
  -H "Authorization: Bearer $MATON_API_KEY"
Specify Connection
curl -X GET "https://gateway.maton.ai/google-drive/drive/v3/files?pageSize=10" \
  -H "Authorization: Bearer $MATON_API_KEY" \
  -H "Maton-Connection: CONNECTION_ID"
📁 File Operations
List Files
curl -X GET "https://gateway.maton.ai/google-drive/drive/v3/files?pageSize=10" \
  -H "Authorization: Bearer $MATON_API_KEY"
Search Files
curl -G "https://gateway.maton.ai/google-drive/drive/v3/files" \
  -H "Authorization: Bearer $MATON_API_KEY" \
  --data-urlencode "q=name contains 'report'" \
  --data-urlencode "pageSize=10"
Only Folders
curl -G "https://gateway.maton.ai/google-drive/drive/v3/files" \
  -H "Authorization: Bearer $MATON_API_KEY" \
  --data-urlencode "q=mimeType='application/vnd.google-apps.folder'"
Files in Folder
curl -G "https://gateway.maton.ai/google-drive/drive/v3/files" \
  -H "Authorization: Bearer $MATON_API_KEY" \
  --data-urlencode "q='FOLDER_ID' in parents"
Select Fields
curl -g "https://gateway.maton.ai/google-drive/drive/v3/files?fields=files(id,name,mimeType,createdTime,modifiedTime,size)" \
  -H "Authorization: Bearer $MATON_API_KEY"
Get File Metadata
curl -X GET "https://gateway.maton.ai/google-drive/drive/v3/files/{fileId}?fields=id,name,mimeType,size,createdTime" \
  -H "Authorization: Bearer $MATON_API_KEY"
Download File
curl -X GET "https://gateway.maton.ai/google-drive/drive/v3/files/{fileId}?alt=media" \
  -H "Authorization: Bearer $MATON_API_KEY" \
  -o file.bin
Export Google Docs (PDF)
curl -X GET "https://gateway.maton.ai/google-drive/drive/v3/files/{fileId}/export?mimeType=application/pdf" \
  -H "Authorization: Bearer $MATON_API_KEY" \
  -o file.pdf
✏️ Create & Update
Create File
curl -X POST "https://gateway.maton.ai/google-drive/drive/v3/files" \
  -H "Authorization: Bearer $MATON_API_KEY" \
  -H "Content-Type: applicat

_meta.json

{
  "ownerId": "kn78dzkmxgy980f8qdsyxbk1hd8137zs",
  "slug": "googledrive-maton",
  "version": "1.0.0",
  "publishedAt": 1775562462009
}

skill-card.md

## Description:

Access and manage Google Drive files, folders, metadata, uploads, downloads, and sharing through Maton Gateway with OAuth-backed API access.

This skill is ready for commercial/non-commercial use.

## Publisher:

[otman-ai](https://clawhub.ai/user/otman-ai)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and operators use this skill as a cURL reference for connecting agent workflows to Google Drive through Maton Gateway. It covers connection management, file listing and search, uploads, downloads, metadata updates, sharing permissions, and troubleshooting.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: High-impact Google Drive operations can delete files, upload or overwrite content, and change sharing permissions.

Mitigation: Use a narrowly scoped Maton API key and Google Drive connection, confirm exact file or folder IDs, and test read-only operations before running write, delete, upload, or sharing commands.

Risk: Printing the Maton API key can expose credentials in terminal history, logs, or shared screens.

Mitigation: Check only whether MATON_API_KEY is set and avoid echoing or logging secret values.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/otman-ai/skills/googledrive-maton)
- [Skill source artifact](artifact/Skill.md)

## Skill Output:

**Output Type(s):** [Text, Markdown, Shell commands, Configuration, Guidance]

**Output Format:** [Markdown with cURL command examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Includes API-key, connection, file, upload, sharing, and troubleshooting examples.]

## Skill Version(s):

1.0.0 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Google Drive and adjacent AI workflows.