All skills
googleworkspace avatar

/recipe-create-gmail-filter

@705fb0e
by Google Workspacegoogleworkspace/cli31k stars
1,856

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

Use this Skill: https://skilld.dev/gh/googleworkspace/cli/recipe-create-gmail-filter

This session only. Nothing lands on disk.

SKILL.md

≈28 tokens always: the name and description. ≈183 when used: this file.

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

Source: SKILL.md on GitHub

No alerts16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill provides a standard recipe for creating Gmail filters using the Google Workspace (gws) CLI. It facilitates listing labels, creating a label, and setting up a filter. All operations are standard administrative tasks for the Gmail service and no security risks were identified.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer6mo

    1/1 file flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 705fb0e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Activeupdated 6 months ago
Other metadata
metadata
{
  "version": "0.22.5",
  "openclaw": {
    "category": "recipe",
    "domain": "productivity",
    "requires": {
      "bins": [
        "gws"
      ],
      "skills": [
        "gws-gmail"
      ]
    }
  }
}

README badge

README badge for googleworkspace/cli/recipe-create-gmail-filter