Automatically label and archive Gmail messages matching custom search criteria.
Works with
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
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:
Fetches 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:
Restart Cursor to activate recipe-label-and-archive-emails. Access via /recipe-label-and-archive-emails in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
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
0
total installs
0
this week
23.9K
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
23.9K
stars
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:[email protected]"}' --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>"}}]
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
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.
davila7/claude-code-templates
intellectronica/agent-skills
am-will/codex-skills
sickn33/antigravity-awesome-skills
myzy-ai/dokie-ai-ppt
sickn33/antigravity-awesome-skills
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