send-file
Send File Skill
Send files directly to the current Telegram chat. The ALMA_CHAT_ID environment variable is automatically available in your Bash environment.
Commands
# Send a photo/image
alma send photo /path/to/image.jpg "optional caption"
# Send a document/file
alma send file /path/to/document.pdf "optional caption"
# Send audio/music
alma send audio /path/to/song.mp3 "optional caption"
# Send a video
alma send video /path/to/video.mp4 "optional caption"
# Send a voice message (ogg format)
alma send voice /path/to/voice.ogg
Type Aliases
photo/image→ sends as photo (compressed, inline preview)file/document/doc→ sends as document (original quality, download)audio/music→ sends as audio (with player UI)video→ sends as video (inline player)voice→ sends as voice message
Tips
- Photos are compressed by Telegram. If quality matters, send as
fileinstead. - Caption is optional — omit it if not needed.
ALMA_CHAT_IDis set automatically. You do NOT need to figure out the chat ID.- If you want to send to a different chat, use
--chat <chatId>:alma send photo --chat 12345 /path/to/img.jpg - Always verify the file exists before sending.
⚠️ IMPORTANT
When you generate an image, create a file, or produce any output the user should receive as a file:
- Generate/create the file
- Use
alma sendto deliver it - Mention what you sent in your text reply (but do NOT include the raw file path)
Do NOT just paste file paths in your reply and expect them to be auto-sent. YOU must explicitly send files.
More from ninehills/skills
file-manager
Find, organize, and manage files on the user's computer. Search by name, type, size, or date. Move, rename, compress, and clean up files.
125self-reflection
Daily self-reflection and personal growth. Triggered by heartbeat at end of day. Review the day's experiences, extract lessons, update personality, and write a diary entry.
124news-aggregator-skill
Comprehensive news aggregator that fetches, filters, and deeply analyzes real-time content from 8 major sources: Hacker News, GitHub Trending, Product Hunt, 36Kr, Tencent News, WallStreetCN, V2EX, and Weibo. Best for 'daily scans', 'tech news briefings', 'finance updates', and 'deep interpretations' of hot topics.
99tvscreener
Query TradingView screener data for HK, A-share, A-share ETF, and US symbols with deepentropy/tvscreener. Use for stock lookup, technical indicators (price/change/RSI/MACD/volume), symbol filtering, and custom field/filter-based market queries.
65screenshot
Take screenshots of the screen using macOS screencapture. Use when users ask to see the screen, debug UI, or capture what's displayed. Resize before returning to avoid blowing up model context.
38agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
37