{"id":"637d5b56-d595-4a68-ae45-2957035164f4","shortId":"EMFHzC","kind":"skill","title":"recipe-create-gmail-filter","tagline":"Create a Gmail filter to automatically label, star, or categorize incoming messages.","description":"# Create a Gmail Filter\n\n> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-gmail`\n\nCreate a Gmail filter to automatically label, star, or categorize incoming messages.\n\n## Steps\n\n1. List existing labels: `gws gmail users labels list --params '{\"userId\": \"me\"}' --format table`\n2. Create a new label: `gws gmail users labels create --params '{\"userId\": \"me\"}' --json '{\"name\": \"Receipts\"}'`\n3. Create a filter: `gws gmail users settings filters create --params '{\"userId\": \"me\"}' --json '{\"criteria\": {\"from\": \"receipts@example.com\"}, \"action\": {\"addLabelIds\": [\"LABEL_ID\"], \"removeLabelIds\": [\"INBOX\"]}}'`\n4. Verify filter: `gws gmail users settings filters list --params '{\"userId\": \"me\"}' --format table`","tags":["recipe","create","gmail","filter","cli","googleworkspace","agent-skills","ai-agent","automation","discovery-api","gemini-cli-extension","google-admin"],"capabilities":["skill","source-googleworkspace","skill-recipe-create-gmail-filter","topic-agent-skills","topic-ai-agent","topic-automation","topic-cli","topic-discovery-api","topic-gemini-cli-extension","topic-google-admin","topic-google-api","topic-google-calendar","topic-google-chat","topic-google-docs","topic-google-drive"],"categories":["cli"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/googleworkspace/cli/recipe-create-gmail-filter","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add googleworkspace/cli","source_repo":"https://github.com/googleworkspace/cli","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 25185 github stars · SKILL.md body (731 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T06:52:39.389Z","embedding":null,"createdAt":"2026-04-18T20:25:04.563Z","updatedAt":"2026-04-22T06:52:39.389Z","lastSeenAt":"2026-04-22T06:52:39.389Z","tsv":"'1':47 '2':61 '3':77 '4':100 'action':94 'addlabelid':95 'automat':11,39 'categor':15,43 'creat':3,6,18,34,62,70,78,86 'criteria':91 'execut':28 'exist':49 'filter':5,9,21,37,80,85,102,107 'follow':25 'format':59,112 'gmail':4,8,20,33,36,52,67,82,104 'gws':32,51,66,81,103 'gws-gmail':31 'id':97 'inbox':99 'incom':16,44 'json':74,90 'label':12,40,50,54,65,69,96 'list':48,55,108 'load':23 'messag':17,45 'name':75 'new':64 'param':56,71,87,109 'prerequisit':22 'receipt':76 'receipts@example.com':93 'recip':2,30 'recipe-create-gmail-filt':1 'removelabelid':98 'set':84,106 'skill':26 'skill-recipe-create-gmail-filter' 'source-googleworkspace' 'star':13,41 'step':46 'tabl':60,113 'topic-agent-skills' 'topic-ai-agent' 'topic-automation' 'topic-cli' 'topic-discovery-api' 'topic-gemini-cli-extension' 'topic-google-admin' 'topic-google-api' 'topic-google-calendar' 'topic-google-chat' 'topic-google-docs' 'topic-google-drive' 'user':53,68,83,105 'userid':57,72,88,110 'verifi':101","prices":[{"id":"6e16aa0f-bfb3-4da0-a409-9ce3d5ad0726","listingId":"637d5b56-d595-4a68-ae45-2957035164f4","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"googleworkspace","category":"cli","install_from":"skills.sh"},"createdAt":"2026-04-18T20:25:04.563Z"}],"sources":[{"listingId":"637d5b56-d595-4a68-ae45-2957035164f4","source":"github","sourceId":"googleworkspace/cli/recipe-create-gmail-filter","sourceUrl":"https://github.com/googleworkspace/cli/tree/main/skills/recipe-create-gmail-filter","isPrimary":false,"firstSeenAt":"2026-04-18T21:52:28.073Z","lastSeenAt":"2026-04-22T06:52:39.389Z"},{"listingId":"637d5b56-d595-4a68-ae45-2957035164f4","source":"skills_sh","sourceId":"googleworkspace/cli/recipe-create-gmail-filter","sourceUrl":"https://skills.sh/googleworkspace/cli/recipe-create-gmail-filter","isPrimary":true,"firstSeenAt":"2026-04-18T20:25:04.563Z","lastSeenAt":"2026-04-22T06:40:13.020Z"}],"details":{"listingId":"637d5b56-d595-4a68-ae45-2957035164f4","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"googleworkspace","slug":"recipe-create-gmail-filter","github":{"repo":"googleworkspace/cli","stars":25185,"topics":["agent-skills","ai-agent","automation","cli","discovery-api","gemini-cli-extension","google-admin","google-api","google-calendar","google-chat","google-docs","google-drive","google-sheets","google-workspace","oauth2","rust"],"license":"apache-2.0","html_url":"https://github.com/googleworkspace/cli","pushed_at":"2026-04-22T06:40:36Z","description":"Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.","skill_md_sha":"32e8560604e263151c14e35e02b65a43e276be4c","skill_md_path":"skills/recipe-create-gmail-filter/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/googleworkspace/cli/tree/main/skills/recipe-create-gmail-filter"},"layout":"multi","source":"github","category":"cli","frontmatter":{"name":"recipe-create-gmail-filter","description":"Create a Gmail filter to automatically label, star, or categorize incoming messages."},"skills_sh_url":"https://skills.sh/googleworkspace/cli/recipe-create-gmail-filter"},"updatedAt":"2026-04-22T06:52:39.389Z"}}