Setting the skill. One moment.
Skills
Skill 79 of 95
Apply Gmail labels to matching messages and archive them to keep your inbox clean.
1 minute · 43 words · 2 sections
Install
npx skills add googleworkspace/cli --skill recipe-label-and-archive-emailsnpx skills add googleworkspace/cliThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
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.
95 skills · 108 min
gws gmail users messages list --params '{"userId": "me", "q": "from:notifications@service.com"}' --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"]}'main, last pushed 24 September 2026.SKILL.md, not by matching a directory convention. One layout observed: skills/*/SKILL.md.h1 and no skipped levels:/googleworkspace/cli.md, and each skill at its own .md URL.