कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

macos-screenshot-telegram

hoyin258 द्वारा

Coding Agents & IDEs
480clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Take a screenshot on macOS and send it to Telegram.

विवरण

यह स्किल क्या करती है

Captures the macOS screen and sends the screenshot to a Telegram chat via the Bot API. Works around a known OpenClaw bug (#15541) that prevents the built-in message tool from sending media files.

Uses curl directly against the Telegram Bot API instead of OpenClaw's message tool, which silently drops media despite returning success.

इसे कब इस्तेमाल करें

  • Sharing a bug report screenshot instantly via Telegram
  • Sending screen captures to a Telegram group without leaving the terminal
  • Remotely documenting what's on screen during a session
  • Quickly sharing UI mockups or error dialogs over Telegram DM
  • Automating screen capture delivery as part of a workflow

उदाहरण वर्कफ़्लो

इनपुट

User asks: take a screenshot and send it to my Telegram chat ID 987654321 using profile main

एजेंट
  1. 1

    Capture screen with /usr/sbin/screencapture -x /tmp/screenshot.png

  2. 2

    Copy file to OpenClaw workspace at ~/.openclaw/workspace-main/screenshot.png

  3. 3

    Read bot token from ~/.openclaw-main/openclaw.json

  4. 4

    Send image via curl POST to https://api.telegram.org/bot{token}/sendPhoto with chat_id and photo fields

आउटपुट

Screenshot delivered to Telegram chat 987654321

आवश्यकताएँ

  • Telegram bot token from @BotFather
  • Telegram chat ID (obtainable via @userinfobot)
  • OpenClaw profile config with telegram.botToken and allowFrom fields set

इंस्टॉलेशन

clawhub install hoyin258/macos-screenshot-telegram

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक