send-file
3
总安装量
1
周安装量
#61599
全站排名
安装命令
npx skills add https://github.com/ninehills/skills --skill send-file
Agent 安装分布
amp
1
cline
1
opencode
1
cursor
1
continue
1
kimi-cli
1
Skill 文档
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.