Apply Gmail labels to matching messages and archive them to keep your inbox clean.
Install with Tessl CLI
npx tessl i github:googleworkspace/cli --skill recipe-label-and-archive-emails71
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillEvaluation — 86%
↑ 3.07xAgent success when using this skill
Validation for skill structure
Discovery
40%Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.
The description identifies a clear, specific domain (Gmail organization) with concrete actions but suffers from missing explicit trigger guidance. While it's distinctive enough to avoid conflicts with other skills, the lack of a 'Use when...' clause significantly limits Claude's ability to know when to select this skill from a large skill library.
Suggestions
Add a 'Use when...' clause with trigger terms like 'organize Gmail', 'label emails', 'clean inbox', 'archive messages', or 'filter Gmail'
Include common user phrasings such as 'sort my emails', 'declutter inbox', or 'auto-label messages' to improve trigger term coverage
| Dimension | Reasoning | Score |
|---|---|---|
Specificity | Names the domain (Gmail) and two specific actions (apply labels, archive messages), but doesn't comprehensively list capabilities like creating labels, filtering criteria, or batch operations. | 2 / 3 |
Completeness | Describes what the skill does (apply labels, archive messages) but completely lacks a 'Use when...' clause or any explicit trigger guidance for when Claude should select this skill. | 1 / 3 |
Trigger Term Quality | Includes natural terms like 'Gmail', 'labels', 'inbox', and 'archive', but missing common variations users might say like 'email organization', 'filter emails', 'sort messages', or 'clean up email'. | 2 / 3 |
Distinctiveness Conflict Risk | Clear niche focused specifically on Gmail label application and archiving; the combination of 'Gmail labels' and 'archive' creates distinct triggers unlikely to conflict with other email or productivity skills. | 3 / 3 |
Total | 8 / 12 Passed |
Implementation
87%Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
This is a well-crafted, concise skill that provides immediately actionable commands for a common Gmail workflow. The main weakness is the lack of batch operation handling and validation steps - users searching for messages will likely get multiple results, but the skill only shows single-message modification without iteration or verification.
Suggestions
Add a note or example showing how to iterate over multiple message results from the search
Include a validation step to verify the label was applied (e.g., re-query the message to confirm labels)
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | Extremely lean and efficient. No unnecessary explanations of what Gmail labels are or how archiving works. Every line serves a purpose with concrete commands. | 3 / 3 |
Actionability | Provides fully executable CLI commands with exact parameter syntax. Copy-paste ready with clear placeholders (MESSAGE_ID, LABEL_ID) that are self-explanatory. | 3 / 3 |
Workflow Clarity | Steps are clearly sequenced (search → label → archive), but lacks validation checkpoints. No guidance on handling batch operations (multiple messages) or verifying the label was applied correctly before archiving. | 2 / 3 |
Progressive Disclosure | For this simple, single-purpose skill under 50 lines, the structure is appropriate. Clear prerequisite callout and well-organized steps without unnecessary external references. | 3 / 3 |
Total | 11 / 12 Passed |
Validation
72%Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.
Validation — 8 / 11 Passed
Validation for skill structure
| Criteria | Description | Result |
|---|---|---|
metadata_version | 'metadata.version' is missing | Warning |
metadata_field | 'metadata' should map string keys to string values | Warning |
frontmatter_unknown_keys | Unknown frontmatter key(s) found; consider removing or moving to metadata | Warning |
Total | 8 / 11 Passed | |
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.