Gmail Label Routing
/install gmail-label-routing
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
- 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)
- Ejecutar el workflow:
python3 scripts/gws_gmail_label_workflow.py \
--label "\x3CEtiqueta>" \
--sender "[email protected]" \
--sender "[email protected]"
scripts/gws_gmail_label_workflow.pyes ruta relativa al directorio de esta skill.
- Variantes comunes:
- Mantener en INBOX:
--keep-inbox - Reemplazar filtros del remitente:
--replace-sender-filters - Simular sin cambios:
--dry-run
- Confirmar resultado con el JSON final del script:
createdFilterIdretroAppliedwithLabelCountinboxCount
Rules
- Repetir
--senderpor cada remitente. - Mantener comillas en etiqueta y remitentes para evitar errores de parsing.
- Usar
--replace-sender-filterscuando 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
gwspara filtros, usar el fallback ya implementado dentro del workflow (credenciales OAuth locales).
Reference
- Ver ejemplos listos en
references/commands.md.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install gmail-label-routing - After installation, invoke the skill by name or use
/gmail-label-routing - Provide required inputs per the skill's parameter spec and get structured output
What is 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 etiqu... It is an AI Agent Skill for Claude Code / OpenClaw, with 329 downloads so far.
How do I install Gmail Label Routing?
Run "/install gmail-label-routing" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Gmail Label Routing free?
Yes, Gmail Label Routing is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Gmail Label Routing support?
Gmail Label Routing is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Gmail Label Routing?
It is built and maintained by Luis Alvarado (@1u1s4); the current version is v1.0.0.