TopRank Skills

Home / Claw Skills / E-mail / gmail-label-routing
Official OpenClaw rules 36%

gmail-label-routing

Configurar en Gmail el enrutamiento por remitente hacia etiquetas usando el workflow local `scripts/gws_gmail_label_workflow.py`, incluyendo crear/usar etiqueta, crear filtro, aplicar retroactivo y opcionalmente sacar de INBOX. Usar cuando el usuario pida cosas como “manda este remitente a esta etiqueta”, “hazlo para varios remitentes”, “aplícalo a correos existentes”, “sácalos de INBOX”, o “limpia/reemplaza filtros duplicados para ese remitente”.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 gmail-label-routing 技能。 若已安装,则直接安装 gmail-label-routing 技能。

Overview

Skill Key
1u1s4/gmail-label-routing
Author
1u1s4
Source Repo
openclaw/skills
Version
-
Source Path
skills/1u1s4/gmail-label-routing
Latest Commit SHA
c434d87c95728e11c6b46dad866c87e0747d852c

Extracted Content

SKILL.md excerpt

# Gmail Label Routing

## Overview

Estandarizar cambios de etiquetas por remitente en Gmail con un flujo único y consistente.
Priorizar el script local para evitar inconsistencias manuales entre filtro, retroaplicación y estado de INBOX.

## Workflow

1. Confirmar intención del usuario:
- Etiqueta destino
- Uno o varios remitentes
- Si debe salir de INBOX (default: sí)
- Si debe reemplazar filtros existentes del remitente (solo cuando lo pida o haya conflictos)

2. Ejecutar el workflow:

```bash
python3 scripts/gws_gmail_label_workflow.py \
  --label "<Etiqueta>" \
  --sender "correo1@dominio.com" \
  --sender "correo2@dominio.com"
```

> `scripts/gws_gmail_label_workflow.py` es ruta relativa al directorio de esta skill.

3. Variantes comunes:
- Mantener en INBOX: `--keep-inbox`
- Reemplazar filtros del remitente: `--replace-sender-filters`
- Simular sin cambios: `--dry-run`

4. Confirmar resultado con el JSON final del script:
- `createdFilterId`
- `retroApplied`
- `withLabelCount`
- `inboxCount`

## Rules

- Repetir `--sender` por cada remitente.
- Mantener comillas en etiqueta y remitentes para evitar errores de parsing.
- Usar `--replace-sender-filters` cuando haya mezcla por reglas duplicadas para el mismo remitente.
- Si el usuario dice “haz lo mismo”, repetir el mismo patrón usado: etiqueta + filtro + retroactivo + manejo de INBOX.
- Si hay fallo de scopes en `gws` para filtros, usar el fallback ya implementado dentro del workflow (credenciales OAuth locales).

## Reference

- Ver ejemplos listos en `references/commands.md`.

Related Claw Skills

rxhxm

sixtyfour-skill

★ 1

Agent Skill (SKILL.md) for Sixtyfour AI — People & company intelligence API. Enrich leads, find emails/phones, qualify prospects, search people. For Claude Code, Codex, OpenClaw, Cursor.

chadholdorf

jetlag-planner

★ 0

Scans your Google Calendar for upcoming flights and writes a personalized circadian adjustment plan back to your calendar. Trigger with phrases like "check my flights", "run jetlag planner", "plan my trip adjustment", or "am I ready for my upcoming flight".

chang-tong

139mail

★ 0

139邮箱邮件收发 Skill - 支持 IMAP/SMTP 协议,兼容139/QQ/163/Gmail等主流邮箱 功能: 1. 发送邮件(SMTP) 2. 接收邮件(IMAP) 3. 查看收件箱列表 4. 查看未读邮件 当用户提到 "发邮件"、"收邮件"、"查看邮件"、"邮箱" 或 "email" 时激活此 skill。

chao-nj-cn

qq-email

★ 0

Send and receive emails via QQ Mail SMTP/IMAP. Use when: user wants to send/receive emails, check inbox, read messages, or share documents via email. Requires QQ email authorization code configured in TOOLS.md.

cettoana

gog-restricted

★ 0

Google Workspace CLI for Gmail, Calendar, and Auth (restricted via security wrapper).

byungkyu

monday

★ 0

Monday.com API integration with managed OAuth. Manage boards, items, columns, groups, and workspaces using GraphQL. Use this skill when users want to create, update, or query Monday.com boards and items, manage tasks, or automate workflows. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.