/google-workspace-cli:docsfrom google-workspace-cli
Use this skill when the user asks about creating, reading, or editing Google Docs via the Google Workspace CLI. Trigger on tasks involving document content, formatting, or collaboration on Google Docs.
Ships in google-workspace-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use gws docs to create and manage Google Docs from the command line.
# Create a new document
gws docs create --title "Meeting Notes"
# Create with initial content
gws docs create --title "Project Plan" --body "Initial project outline"
# Get document content
gws docs get <document-id>
# Get as JSON
gws docs get <document-id> --format json
# Get document metadata
gws docs get <document-id> --metadata
# Append text to a document
gws docs update <document-id> --append "New section content"
# Insert text at a specific index
gws docs update <document-id> --insert "Header text" --index 1
The Docs API supports batch updates for complex document modifications:
# Apply batch updates via JSON
gws docs batchUpdate <document-id> --requests '[
{
"insertText": {
"location": {"index": 1},
"text": "New Title\n"
}
},
{
"updateTextStyle": {
"range": {"startIndex": 1, "endIndex": 10},
"textStyle": {"bold": true},
"fields": "bold"
}
}
]'
# Export via Drive API as PDF
gws drive files export <document-id> --mime-type "application/pdf" --output ./doc.pdf
# Export as plain text
gws drive files export <document-id> --mime-type "text/plain" --output ./doc.txt
# Export as DOCX
gws drive files export <document-id> --mime-type "application/vnd.openxmlformats-officedocument.wordprocessingml.document" --output ./doc.docx
Google Docs uses a structured model with:
Use --format json to inspect document structure:
gws docs get <document-id> --format json | jq '.body.content'
docs.google.com/document/d/<DOCUMENT_ID>/editgws drive files list to find documents by namegws drive for file management (move, share, delete)What SKILL.md sets; muted values are Claude Code's defaults
11 skills in this plugin
/adminUse this skill when the user asks about Google Workspace administration tasks like managing users, groups, organizational units, or domain settings via the Google Workspace CLI. Requires admin privileges.
/calendarUse this skill when the user asks about managing Google Calendar events, checking schedules, creating meetings, finding free time, or any calendar-related task via the Google Workspace CLI.
/chatUse this skill when the user asks about Google Chat operations like sending messages, managing spaces, or listing conversations via the Google Workspace CLI.
/contactsUse this skill when the user asks about managing Google Contacts like searching, creating, updating, or organizing contacts via the Google Workspace CLI.
/driveUse this skill when the user asks about Google Drive operations like listing files, uploading, downloading, searching, sharing, or managing files and folders via the Google Workspace CLI.
/gmailUse this skill when the user asks about reading, sending, searching, or managing emails via the Google Workspace CLI. Trigger on Gmail-related tasks like composing emails, searching inbox, managing labels, archiving, or working with drafts.
npx claudepluginhub nsheaps/ai-mktpl --plugin google-workspace-cliOther plugins' skills for the same job