All skills
googleworkspace avatar

/recipe-label-and-archive-emails

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

Apply Gmail labels to matching messages and archive them to keep your inbox clean.

Use this Skill: https://skilld.dev/gh/googleworkspace/cli/recipe-label-and-archive-emails

This session only. Nothing lands on disk.

SKILL.md

≈29 tokens always: the name and description. ≈162 when used: this file.

Label and Archive Gmail Threads

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

Apply Gmail labels to matching messages and archive them to keep your inbox clean.

Steps

  1. Search for matching emails: gws gmail users messages list --params '{"userId": "me", "q": "from:notifications@service.com"}' --format table
  2. Apply a label: gws gmail users messages modify --params '{"userId": "me", "id": "MESSAGE_ID"}' --json '{"addLabelIds": ["LABEL_ID"]}'
  3. Archive (remove from inbox): gws gmail users messages modify --params '{"userId": "me", "id": "MESSAGE_ID"}' --json '{"removeLabelIds": ["INBOX"]}'

Source: SKILL.md on GitHub

2 warnings16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill provides a recipe for managing Gmail emails using the Google Workspace CLI tool (gws). It lists instructions for searching, labeling, and archiving messages. No malicious patterns were identified.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: MEDIUM · 1 issue

  • 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-label-and-archive-emails