Agent skill
google-drive
Manage Google Drive files and folders. Upload, download, share, and organize files via Drive API.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/google-drive-swiffc-pv-bot
Metadata
Additional technical details for this skill
- clawdbot
-
{ "emoji": "\ud83d\udcc1", "requires": { "env": [ "GOOGLE_ACCESS_TOKEN" ] } }
SKILL.md
Google Drive
Cloud file storage and sharing.
Environment
export GOOGLE_ACCESS_TOKEN="ya29.xxxxxxxxxx"
List Files
curl "https://www.googleapis.com/drive/v3/files?pageSize=20" \
-H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN"
Search Files
curl "https://www.googleapis.com/drive/v3/files?q=name%20contains%20'report'" \
-H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN"
Get File Metadata
curl "https://www.googleapis.com/drive/v3/files/{fileId}?fields=*" \
-H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN"
Download File
curl "https://www.googleapis.com/drive/v3/files/{fileId}?alt=media" \
-H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN" \
-o downloaded_file.pdf
Upload File
curl -X POST "https://www.googleapis.com/upload/drive/v3/files?uploadType=multipart" \
-H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN" \
-F "metadata={\"name\": \"myfile.txt\"};type=application/json" \
-F "[email protected]"
Create Folder
curl -X POST "https://www.googleapis.com/drive/v3/files" \
-H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "New Folder", "mimeType": "application/vnd.google-apps.folder"}'
Share File
curl -X POST "https://www.googleapis.com/drive/v3/files/{fileId}/permissions" \
-H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"role": "reader", "type": "user", "emailAddress": "[email protected]"}'
Links
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?