A powerful Python-based automation tool for bulk cleaning, organizing, and managing multiple Gmail accounts using the Gmail API.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install gmail-cleaner
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install gmail-cleaner using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Gmail Cleaner is a comprehensive solution within the Openclaw Skills ecosystem designed for users and developers who need to reclaim control over cluttered inboxes. It leverages the official Gmail API to perform high-volume operations—processing up to 1000 messages per call—allowing for rapid scanning, trashing, and permanent deletion of unwanted emails.
Beyond simple deletion, this skill empowers users to establish sophisticated organization systems. It can automatically apply labels, create filters, and execute deep cleaning cycles that archive old messages or purge categories like promotions and social updates. Whether managing a single personal account or orchestrating multiple professional identities, this tool provides the technical infrastructure to maintain a zero-inbox state programmatically.
First, ensure you have your OAuth credentials JSON from the Google Cloud Console (Desktop app type). Install the required Python packages and authenticate your account using this Openclaw Skills utility:
# Authenticate and generate a token
python scripts/auth.py --credentials /path/to/credentials.json --token ~/.openclaw/workspace/gmail_token.pkl --scopes settings
Once authenticated, you can scan your inbox to analyze the current state:
# Scan the last 500 messages
python scripts/scan.py --token ~/.openclaw/workspace/gmail_token.pkl --sample 500
The skill manages account data and automation rules using the following file formats:
| File Type | Purpose | Format |
|---|---|---|
| Credentials | OAuth client ID and secret from Google Cloud | .json |
| Token | Encrypted session data for specific Gmail accounts | .pkl |
| Config | Definitions for bulk cleanup and labeling rules | .json |
| Scan Report | Console output of sender frequency and category counts | CLI Output |
Example Senders Config:
[
{"query": "from:[email protected]", "label": "Newsletters"},
{"query": "category:promotions older_than:30d", "label": "Expired Promos"}
]
Loading
An advanced execution skill that enables AI agents to run OpenAI Codex CLI commands for automated code generation, refactoring, and debugging.

A comprehensive CLI tool designed for AI agents to automate web browsing, interactive testing, and data extraction via Chromium.

A professional-grade integration for the Openclaw Skills ecosystem that enables programmatic SMS sending and retrieval via the VoIP.ms API.

A high-performance automated data extraction tool for harvesting structured YouTube channel information via the BrowserAct API.

A command-line interface for querying real-time odds, event probabilities, and market data from Polymarket.

OrionAds is an agent-centric protocol for searching physical hardware and developer tools using structured JSON data.








































