Back to skills
SkillHub ClubShip Full StackFull Stack

recipe-create-gmail-filter

Create a Gmail filter to automatically label, star, or categorize incoming messages.

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
21,510
Hot score
99
Updated
March 20, 2026
Overall rating
C4.0
Composite score
4.0
Best-practice grade
B84.0

Install command

npx @skill-hub/cli install googleworkspace-cli-recipe-create-gmail-filter

Repository

googleworkspace/cli

Skill path: skills/recipe-create-gmail-filter

Create a Gmail filter to automatically label, star, or categorize incoming messages.

Open repository

Best for

Primary workflow: Ship Full Stack.

Technical facets: Full Stack.

Target audience: everyone.

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: googleworkspace.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install recipe-create-gmail-filter into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/googleworkspace/cli before adding recipe-create-gmail-filter to shared team environments
  • Use recipe-create-gmail-filter for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

Original source / Raw SKILL.md

---
name: recipe-create-gmail-filter
version: 1.0.0
description: "Create a Gmail filter to automatically label, star, or categorize incoming messages."
metadata:
  openclaw:
    category: "recipe"
    domain: "productivity"
    requires:
      bins: ["gws"]
      skills: ["gws-gmail"]
---

# Create a Gmail Filter

> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-gmail`

Create a Gmail filter to automatically label, star, or categorize incoming messages.

## Steps

1. List existing labels: `gws gmail users labels list --params '{"userId": "me"}' --format table`
2. Create a new label: `gws gmail users labels create --params '{"userId": "me"}' --json '{"name": "Receipts"}'`
3. Create a filter: `gws gmail users settings filters create --params '{"userId": "me"}' --json '{"criteria": {"from": "[email protected]"}, "action": {"addLabelIds": ["LABEL_ID"], "removeLabelIds": ["INBOX"]}}'`
4. Verify filter: `gws gmail users settings filters list --params '{"userId": "me"}' --format table`

recipe-create-gmail-filter | SkillHub