tg-image-sender
Send test or generated images directly to Telegram chats using the message tool with Picsum.photos URLs or custom media. Use when the user requests to 'send photo', 'generate image here in TG', or show/test images in Telegram (e.g., 'пришли фото', 'покажи картинку').
Why use this skill?
Learn to integrate the tg-image-sender skill into your OpenClaw agent. Send random, generated, or custom images to Telegram with ease using this guide.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/drones277/tg-image-senderWhat This Skill Does
The tg-image-sender skill is an essential tool for OpenClaw AI agents that enables direct media delivery to Telegram chats. By leveraging the existing message tool, this skill allows your agent to fetch images from Picsum.photos or provide custom image URLs directly into the Telegram interface. It abstracts the complexity of media handling, allowing you to trigger image displays with a simple, standardized tool call. This is particularly useful for debugging, demonstrating agent capabilities, or providing visual context to the user within their messaging flow.
Installation
To add this skill to your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/drones277/tg-image-sender
Ensure you have the necessary message tool permissions configured in your agent settings to allow external requests to reach your designated Telegram channels.
Use Cases
This skill is ideal for scenarios requiring visual output. Common use cases include:
- Debugging: Testing image rendering in Telegram channels by triggering random Picsum images.
- Visual Feedback: Sending illustrative imagery when an agent discusses specific topics or concepts.
- Agent Demonstrations: Allowing the user to request an image to verify the agent's ability to interface with media platforms.
- Placeholder Generation: Sending high-quality placeholders for design or development testing workflows within a team's Telegram group.
Example Prompts
- "OpenClaw, please send a random photo to the Telegram group to test the connection."
- "Generate a placeholder image of a cat for our team chat."
- "Пришли фото для теста, чтобы проверить как работает отображение картинок в Telegram."
Tips & Limitations
To ensure smooth operations, keep these points in mind:
- Avoid Duplicates: Always terminate your agent's response with
NO_REPLYafter successfully calling the image-sending tool to prevent the agent from accidentally sending a redundant text confirmation. - Picsum Parameters: Use the URL query strings (
?random=nor?seed=name) to control exactly what is displayed. This is vital for consistency. - Security: Ensure that any URLs passed to the tool originate from trusted sources to prevent malicious links from being processed.
- Size Constraints: Always define width and height in your URLs to ensure the images render predictably within the Telegram client UI.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-drones277-tg-image-sender": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api