files

Use this managed skill when the user wants to browse Google Drive files, inspect file metadata, create folders, share a file, or upload file/content into Drive.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "files" with this command: npx skills add tryshift-sh/skills-store/tryshift-sh-skills-store-files

Google Drive Files

Use this managed skill when the user wants to browse Google Drive files, inspect file metadata, create folders, share a file, or upload file/content into Drive.

This skill uses Shift's local Skill Router. Do not ask the user to paste Google credentials into chat.

Invocation

Base URL:

SHIFT_LOCAL_GATEWAY

Endpoint:

POST /skill-router/invoke

Request body to list files:

{ "skillProvider": "google-drive", "skill": "files", "action": "list", "input": { "query": "mimeType = 'application/vnd.google-apps.folder'", "pageSize": 10, "orderBy": "modifiedTime desc" } }

Request body to get file details:

{ "skillProvider": "google-drive", "skill": "files", "action": "get", "input": { "fileId": "1AbCdEfGhIjKlMnOp" } }

Request body to create a folder:

{ "skillProvider": "google-drive", "skill": "files", "action": "create-folder", "input": { "name": "Launch assets", "parentIds": ["1AbCdEfGhIjKlMnOp"] } }

Request body to upload a local file:

{ "skillProvider": "google-drive", "skill": "files", "action": "upload", "input": { "filePath": "/tmp/launch.html", "name": "launch.html", "mimeType": "text/html", "parentIds": ["1AbCdEfGhIjKlMnOp"], "description": "Launch page draft" } }

Precompiled code-skill helper for uploading raw content:

node dist/index.js '{ "operation": "upload-content", "name": "launch.html", "mimeType": "text/html", "content": "<html><body><h1>Launch</h1></body></html>", "parentIds": ["1AbCdEfGhIjKlMnOp"] }'

Precompiled code-skill helper for converting uploaded content into a Google Doc:

node dist/index.js '{ "operation": "upload-content", "name": "launch.html", "mimeType": "text/html", "targetMimeType": "application/vnd.google-apps.document", "content": "<html><body><h1>Launch</h1></body></html>", "parentIds": ["1AbCdEfGhIjKlMnOp"] }'

Request body to share a file:

{ "skillProvider": "google-drive", "skill": "files", "action": "share", "input": { "fileId": "1AbCdEfGhIjKlMnOp", "type": "user", "role": "writer", "emailAddress": "teammate@example.com" } }

Authentication

This skill requires a Google Drive connection configured in Shift.

Agent behavior

  • Use list before get when the user has not provided a file id.

  • Use upload when the user already has a local file path available on the runtime machine.

  • Use node dist/index.js '<json payload>' for direct content uploads or Google Doc conversion.

  • Prefer folders and metadata operations before attempting more complex file editing flows.

  • Use share only when the user clearly names the recipient and required role.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

post

No summary provided by upstream source.

Repository SourceNeeds Review
General

user

No summary provided by upstream source.

Repository SourceNeeds Review
General

like

No summary provided by upstream source.

Repository SourceNeeds Review
General

square-post

No summary provided by upstream source.

Repository SourceNeeds Review