From google-workspace-cli
Applies Gmail labels to messages matching a search query and archives them by removing INBOX label using gws CLI commands. Useful for inbox cleanup automation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/google-workspace-cli:recipe-label-and-archive-emailsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-gmail`
PREREQUISITE: Load the following skills to execute this recipe:
gws-gmail
Apply Gmail labels to matching messages and archive them to keep your inbox clean.
gws gmail users messages list --params '{"userId": "me", "q": "from:[email protected]"}' --format tablegws gmail users messages modify --params '{"userId": "me", "id": "MESSAGE_ID"}' --json '{"addLabelIds": ["LABEL_ID"]}'gws gmail users messages modify --params '{"userId": "me", "id": "MESSAGE_ID"}' --json '{"removeLabelIds": ["INBOX"]}'npx claudepluginhub pleaseai/claude-code-plugins --plugin google-workspaceApply labels to matching Gmail messages and archive them using gws-gmail CLI commands to keep inbox clean. Prerequisite: gws-gmail skill.
Automates Gmail operations like searching, reading, sending emails, managing drafts/labels via Python CLI scripts with standalone OAuth. Requires Google Workspace.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.