# Send Gmail Label Manager to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "gmail-label-manager",
    "name": "Gmail Label Manager",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/Coenenp/gmail-label-manager",
    "canonicalUrl": "https://clawhub.ai/Coenenp/gmail-label-manager",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/gmail-label-manager",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=gmail-label-manager",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "script.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "gmail-label-manager",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T00:44:16.642Z",
      "expiresAt": "2026-05-07T00:44:16.642Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=gmail-label-manager",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=gmail-label-manager",
        "contentDisposition": "attachment; filename=\"gmail-label-manager-1.0.3.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "gmail-label-manager"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/gmail-label-manager"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/gmail-label-manager",
    "downloadUrl": "https://openagent3.xyz/downloads/gmail-label-manager",
    "agentUrl": "https://openagent3.xyz/skills/gmail-label-manager/agent",
    "manifestUrl": "https://openagent3.xyz/skills/gmail-label-manager/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/gmail-label-manager/agent.md"
  }
}
```
## Documentation

### Gmail Label Manager Skill

This skill automates the organization of unread Gmail messages by applying labels, removing unnecessary labels, and archiving emails, based on predefined patterns from archived emails.

### Features

Automated Workflow Steps:

Finds the first unread email.
Identifies the appropriate label using:

Dynamic analysis of labels on archived emails from the same sender.
Ignores labels from emails still in the inbox.


Adds the determined label(s) to the unread email.
Removes irrelevant label(s) from the email. Also remove irrelevant CATEGORY labels (CATEGORY_PERSONAL, CATEGORY_PROMOTIONS, CATEGORY_UPDATES, UNREAD, etc.).
Archives the email by removing the INBOX label.
Verifies the operation to ensure all changes are applied correctly.



Customizable Patterns:

Dynamically learns from archived emails—no static cache required.
Reduces dependency on external configurations.

### Requirements:

Install the gog CLI and authenticate it for Gmail API access.

### Skill Setup:

Place the skill files inside your OpenClaw workspace.
Modify paths within the script for your local setup if required.

### Testing the Workflow

Run the script.sh manually or as part of a larger pipeline to confirm functionality before deploying automatic runs.
Test with a mix of labeled archived emails and unlabeled inbox emails to ensure accuracy.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Coenenp
- Version: 1.0.3
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T00:44:16.642Z
- Expires at: 2026-05-07T00:44:16.642Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/gmail-label-manager)
- [Send to Agent page](https://openagent3.xyz/skills/gmail-label-manager/agent)
- [JSON manifest](https://openagent3.xyz/skills/gmail-label-manager/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/gmail-label-manager/agent.md)
- [Download page](https://openagent3.xyz/downloads/gmail-label-manager)