From gmail-analyzer
Analyze and auto-tag Gmail emails with labels. Use when user asks to tag emails, auto-label, categorize inbox, apply labels automatically, classify and tag mail, or organize inbox with labels.
How this skill is triggered — by the user, by Claude, or both
Slash command
/gmail-analyzer:auto-tag [query][query]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Analyze emails and apply label recommendations with user confirmation.
Analyze emails and apply label recommendations with user confirmation.
$ARGUMENTS — optional Gmail search query. If empty, use recent INBOX messages.
gmail_search_messages to fetch emails (use query from $ARGUMENTS or in:inbox, limit 10-20)gmail_list_labels to get available user labelsgmail_read_message to get full content and current labelsFor each email, classify into one of 5 categories:
For each email provide:
Create a summary table of proposed changes:
Ask the user to confirm: "Apply these tags? (y/n)"
Do NOT proceed without explicit user confirmation.
After user confirms, construct JSON and pipe to the apply script:
echo '{"actions": [{"message_id": "MSG_ID", "add": ["Label_ID"]}]}' | python3 ~/.claude/scripts/gmail-analyzer/modify_labels.py
Report results: how many emails were tagged successfully.
If user declines, report "Cancelled." and do not apply.
Respond in the user's language.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub axisrow/claude_code_gmail_plugin