Automatically label and archive Gmail messages matching custom search criteria.
Automate repetitive workflows and reduce manual effort
Example: Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example: Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example: Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
Time estimate: 15-45 minutes depending on use case complexity
Prerequisites
Submit your Claude Code skill and start earning
epx add googleworkspace/cli --skill recipe-label-and-archive-emailsCompatible with
Supported agents
Requires the gws-gmail skill to execute Gmail API operations
Three-step workflow: search for matching emails using query syntax, apply custom labels, and remove messages from inbox
Supports flexible filtering through Gmail's query language (e.g., sender, subject, date ranges)
Designed as a recipe template for building inbox automation workflows
1d:["$","div",null,{"className":"prose prose-invert max-w-none prose-headings:font-semibold prose-headings:tracking-tight prose-h1:text-4xl prose-h1:mb-2 prose-h2:text-2xl prose-h2:mb-2 prose-h3:text-lg prose-h3:mb-2 prose-p:text-muted-foreground prose-li:text-muted-foreground prose-code:bg-muted prose-code:text-foreground prose-code:px-1 prose-code:py-0.5 prose-code:rounded-sm prose-code:text-sm prose-code:before:content-none prose-code:after:content-none prose-pre:bg-muted prose-pre:text-foreground prose-pre:border prose-pre:border-border prose-pre:rounded-md [&_table]:!border-[color:var(--border)] [&_th]:!border-[color:var(--border)] [&_td]:!border-[color:var(--border)]","dangerouslySetInnerHTML":{"__html":"<h1>Label and Archive Gmail Threads</h1>\n<blockquote>\n<p><strong>PREREQUISITE:</strong> Load the following skills to execute this recipe: <code>gws-gmail</code></p>\n</blockquote>\n<p>Apply Gmail labels to matching messages and archive them to keep your inbox clean.</p>\n<h2>Steps</h2>\n<ol>\n<li>Search for matching emails: <code>gws gmail users messages list --params '{"userId": "me", "q": "from:notifications@service.com"}' --format table</code></li>\n<li>Apply a label: <code>gws gmail users messages modify --params '{"userId": "me", "id": "MESSAGE_ID"}' --json '{"addLabelIds": ["LABEL_ID"]}'</code></li>\n<li>Archive (remove from inbox): <code>gws gmail users messages modify --params '{"userId": "me", "id": "MESSAGE_ID"}' --json '{"removeLabelIds": ["INBOX"]}'</code></li>\n</ol>"}}]
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionrecipe-label-and-archive-emailsExecute the skills CLI command in your project's root directory to begin installation:
epx add googleworkspace/cli --skill recipe-label-and-archive-emailsFetches recipe-label-and-archive-emails from googleworkspace/cli and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
.cursor/skills/recipe-label-and-archive-emails
Restart Cursor to activate recipe-label-and-archive-emails. Access via /recipe-label-and-archive-emailsin your agent's command palette.
Learn more:View source on GitHubSkills CLI docsAbout CursorWhat are agent skills?
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
beautiful-mermaid
intellectronica/agent-skills · AI/ML · same category
domain-hunter
resciencelab/opc-skills · AI/ML · same category
dokie-ai-ppt
myzy-ai/dokie-ai-ppt · AI/ML · same category
blockchain-developer
sickn33/antigravity-awesome-skills · AI/ML · same category
product-brainstorming
anthropics/knowledge-work-plugins · AI/ML · same category
everything-claude-code-harness
aradotso/trending-skills · AI/ML · same category
Useful defaults in recipe-label-and-archive-emails — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
recipe-label-and-archive-emails has been reliable in day-to-day use. Documentation quality is above average for community skills.
recipe-label-and-archive-emails is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
recipe-label-and-archive-emails fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Registry listing for recipe-label-and-archive-emails matched our evaluation — installs cleanly and behaves as described in the markdown.
recipe-label-and-archive-emails reduced setup friction for our internal harness; good balance of opinion and flexibility.
Keeps context tight: recipe-label-and-archive-emails is the kind of skill you can hand to a new teammate without a long onboarding doc.
We added recipe-label-and-archive-emails from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
recipe-label-and-archive-emails fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
recipe-label-and-archive-emails has been reliable in day-to-day use. Documentation quality is above average for community skills.
showing 1-10 of 39