Agent skill
manage
This skill should be used when the user asks to "manage email", "bulk email", "move emails", "flag emails", "archive emails", "unflag emails", or wants to perform batch operations. Handles flag, unflag, move, and archive for multiple emails at once.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/manage-data-wise-himalaya-mcp
SKILL.md
/email:manage - Bulk Email Management
Perform batch operations on multiple emails: flag, unflag, move, archive.
Usage
/email:manage flag 1,2,5 # Flag specific email IDs
/email:manage unflag 3,7 # Remove flags from emails
/email:manage move 1,2,3 Archive # Move emails to Archive
/email:manage archive 4,5,6 # Shortcut for move to Archive
/email:manage move all-unread Spam # Move all unread to Spam
When Invoked
- Parse the action and target list:
- Actions:
flag,unflag,move,archive - Targets: comma-separated IDs (e.g.,
1,2,5) orall-unread - Destination: required for
moveandarchive(defaults toArchive)
- Actions:
- If targeting more than 5 emails, show confirmation gate:
⚠️ This will move 12 emails to Archive. Continue? (yes/no) - Execute operations in sequence, showing progress:
[1/7] Flagging email #1... [2/7] Flagging email #2... ... - Display summary when complete
Safety Rules
- Require explicit confirmation for operations on more than 5 emails
- Always show what will happen before executing bulk moves
- Never delete emails — only move to Trash (user can recover)
- If
all-unreadis used, first calllist_emailsto count and show the scope
MCP Tools Used
flag_email— for flag/unflag operations (action:addorremove, flags:["Flagged"])move_email— for move/archive operationslist_emails— to resolveall-unreadtargetssearch_emails— to resolve filter-based targets
Output Format
✅ Bulk operation complete
Action: Move to Archive
Emails processed: 7/7
[1] alice@co — Meeting tomorrow → Archive ✓
[2] bob@co — PR review needed → Archive ✓
[3] team@co — Weekly standup → Archive ✓
[4] hr@co — Benefits update → Archive ✓
[5] news@co — Tech digest → Archive ✓
[6] ci@co — Build passed → Archive ✓
[7] github@co — Issue closed → Archive ✓
→ "Undo" to move these back to INBOX
→ "/email:inbox" to check remaining emails
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?