recipe-create-gmail-filter

googleworkspace/cli · updated Apr 8, 2026

$npx skills add https://github.com/googleworkspace/cli --skill recipe-create-gmail-filter
0 commentsdiscussion
summary

Automated Gmail message routing through filters that label, star, or archive incoming mail.

  • Requires the gws-gmail skill and gws binary to execute filter operations
  • Supports filter criteria matching (sender, subject, keywords) with actions including label assignment, removal from inbox, and archiving
  • Includes commands to list existing labels, create new labels, apply filters, and verify filter configuration
skill.md

1d:["$","div",null,{"className":"prose prose-invert max-w-none prose-headings:font-semibold prose-headings:tracking-tight prose-h1:text-4xl prose-h1:mb-2 prose-h2:text-2xl prose-h2:mb-2 prose-h3:text-lg prose-h3:mb-2 prose-p:text-muted-foreground prose-li:text-muted-foreground prose-code:bg-muted prose-code:text-foreground prose-code:px-1 prose-code:py-0.5 prose-code:rounded-sm prose-code:text-sm prose-code:before:content-none prose-code:after:content-none prose-pre:bg-muted prose-pre:text-foreground prose-pre:border prose-pre:border-border prose-pre:rounded-md [&_table]:!border-[color:var(--border)] [&_th]:!border-[color:var(--border)] [&_td]:!border-[color:var(--border)]","dangerouslySetInnerHTML":{"__html":"<h1>Create a Gmail Filter</h1>\n<blockquote>\n<p><strong>PREREQUISITE:</strong> Load the following skills to execute this recipe: <code>gws-gmail</code></p>\n</blockquote>\n<p>Create a Gmail filter to automatically label, star, or categorize incoming messages.</p>\n<h2>Steps</h2>\n<ol>\n<li>List existing labels: <code>gws gmail users labels list --params '{"userId": "me"}' --format table</code></li>\n<li>Create a new label: <code>gws gmail users labels create --params '{"userId": "me"}' --json '{"name": "Receipts"}'</code></li>\n<li>Create a filter: <code>gws gmail users settings filters create --params '{"userId": "me"}' --json '{"criteria": {"from": "receipts@example.com"}, "action": {"addLabelIds": ["LABEL_ID"], "removeLabelIds": ["INBOX"]}}'</code></li>\n<li>Verify filter: <code>gws gmail users settings filters list --params '{"userId": "me"}' --format table</code></li>\n</ol>"}}]

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.754 reviews
  • Kofi Menon· Dec 20, 2024

    recipe-create-gmail-filter fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Kofi Mehta· Dec 20, 2024

    Keeps context tight: recipe-create-gmail-filter is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Isabella Chawla· Dec 16, 2024

    Registry listing for recipe-create-gmail-filter matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Li Abbas· Nov 11, 2024

    Registry listing for recipe-create-gmail-filter matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Chen Martinez· Nov 11, 2024

    recipe-create-gmail-filter is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Amina Johnson· Nov 7, 2024

    recipe-create-gmail-filter fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Amina Garcia· Oct 26, 2024

    recipe-create-gmail-filter is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Li Li· Oct 2, 2024

    Keeps context tight: recipe-create-gmail-filter is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Daniel Verma· Oct 2, 2024

    recipe-create-gmail-filter fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Arya Ndlovu· Sep 21, 2024

    Registry listing for recipe-create-gmail-filter matched our evaluation — installs cleanly and behaves as described in the markdown.

showing 1-10 of 54

1 / 6