Recipe Create Gmail Filter
Create a Gmail filter to automatically label, star, or categorize incoming messages.
Install
npx skills add googleworkspace/cli --skill recipe-create-gmail-filtergit clone --depth 1 https://github.com/googleworkspace/cli.git /tmp/cli
mkdir -p ~/.claude/skills
cp -r /tmp/cli/skills/recipe-create-gmail-filter ~/.claude/skills/recipe-create-gmail-filterPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# 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": "receipts@example.com"}, "action": {"addLabelIds": ["LABEL_ID"], "removeLabelIds": ["INBOX"]}}'`
4. Verify filter: `gws gmail users settings filters list --params '{"userId": "me"}' --format table`Details
- Skill name
recipe-create-gmail-filter- Repository
- googleworkspace/cli
- Path
skills/recipe-create-gmail-filter/SKILL.md- License
- Apache-2.0
- Repo updated
- 3 November 2026
FAQ
What does the Recipe Create Gmail Filter skill do?
Create a Gmail filter to automatically label, star, or categorize incoming messages.
How do I install the Recipe Create Gmail Filter skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add googleworkspace/cli --skill recipe-create-gmail-filter. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Recipe Create Gmail Filter popular?
It lives in googleworkspace/cli, which has 32,385 GitHub stars and 1,999 forks, and is included in 2 curated skill lists.
Related skills
Gws Admin Reports
32kgoogleworkspace/cli
Google Workspace Admin SDK: Audit logs and usage reports.
Gws Classroom
32kgoogleworkspace/cli
Google Classroom: Manage classes, rosters, and coursework.
Gws Drive
32kgoogleworkspace/cli
Google Drive: Manage files, folders, and shared drives.
Recipe Create Meet Space
32kgoogleworkspace/cli
Create a Google Meet meeting space and share the join link.
Recipe Create Feedback Form
32kgoogleworkspace/cli
Create a Google Form for feedback and share it via Gmail.
Recipe Create Task List
32kgoogleworkspace/cli
Set up a new Google Tasks list with initial tasks.
Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.