skillZs
LIVE SKILL TAGS
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
REAL INSTALL DATA
← back to all skills
googleworkspace/cli21k installs

recipe-label-and-archive-emails

Apply Gmail labels to matching messages and archive them to keep your inbox clean.

How do I install this agent skill?

npx skills add https://github.com/googleworkspace/cli --skill recipe-label-and-archive-emails
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill is a recipe for managing Gmail emails using the googleworkspace 'gws' tool. It includes instructions for listing, labeling, and archiving messages. No security issues were detected.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerwarn

    1/1 file flagged

  • ZeroLeakspass

    Score: 93/100 · 2 sections analyzed

What does this agent skill do?

Label and Archive Gmail Threads

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.

Steps

  1. Search for matching emails: gws gmail users messages list --params '{"userId": "me", "q": "from:notifications@service.com"}' --format table
  2. Apply a label: gws gmail users messages modify --params '{"userId": "me", "id": "MESSAGE_ID"}' --json '{"addLabelIds": ["LABEL_ID"]}'
  3. Archive (remove from inbox): gws gmail users messages modify --params '{"userId": "me", "id": "MESSAGE_ID"}' --json '{"removeLabelIds": ["INBOX"]}'

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/googleworkspace/cli/recipe-label-and-archive-emails">View recipe-label-and-archive-emails on skillZs</a>