| name | attachments |
| description | This skill should be used when the user asks to "list attachments", "download attachment", "email attachment", "calendar invite", "meeting invite", "download the file", "what files were attached", "get the attachment", "save attachment", "open the attachment", or wants to work with files attached to emails. Lists, downloads, and extracts calendar events from ICS invites. |
| triggers | ["list attachments","download attachment","email attachment","calendar invite","meeting invite","download the file","what files were attached","get the attachment"] |
/himalaya:attachments - Email Attachments
List, download, and process email attachments including calendar invites.
Usage
/himalaya:attachments <id> # List attachments for an email
/himalaya:attachments <id> download # Download a specific attachment
/himalaya:attachments <id> calendar # Extract calendar event from ICS
When Invoked
List Mode (default)
- Call
list_attachments with the email ID
- Display attachment names, types, and sizes
Download Mode
- Call
list_attachments to show available files
- Ask user which attachment to download (if multiple)
- Call
download_attachment to save to temp directory
- Return the file path for further processing
Calendar Mode
- Call
extract_calendar_event to parse the ICS attachment
- Display event details (title, date, time, location, organizer)
- Ask if user wants to add to Apple Calendar
- Call
create_calendar_event with confirm=true only after user approval
Safety Rules
- Calendar event creation requires explicit user confirmation
- Downloaded files go to temp directory (OS handles cleanup)
- Always show event details before creating calendar entry