# Send MAC OS screenshot to telegram to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "macos-screenshot-telegram",
    "name": "MAC OS screenshot to telegram",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/hoyin258/macos-screenshot-telegram",
    "canonicalUrl": "https://clawhub.ai/hoyin258/macos-screenshot-telegram",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/macos-screenshot-telegram",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=macos-screenshot-telegram",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/screenshot-telegram.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/macos-screenshot-telegram"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/macos-screenshot-telegram",
    "downloadUrl": "https://openagent3.xyz/downloads/macos-screenshot-telegram",
    "agentUrl": "https://openagent3.xyz/skills/macos-screenshot-telegram/agent",
    "manifestUrl": "https://openagent3.xyz/skills/macos-screenshot-telegram/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/macos-screenshot-telegram/agent.md"
  }
}
```
## Documentation

### 1. Telegram Bot Token

搵 @BotFather on Telegram
Send /newbot 創建新 bot
拎個 bot token（好似 1234567890:ABCdefGHIjklMNOpqrsTUVwxyz）

### 2. 搵 Telegram Chat ID

個人 ID: 搵 @userinfobot 或者 forward message 俾 @userinfobot
Group ID: Forward 任何 message 俾 @userinfobot

### 3. OpenClaw Config

響你既 OpenClaw profile config 度加入：

{
  "telegram": {
    "botToken": "YOUR_BOT_TOKEN_HERE",
    "allowFrom": ["YOUR_CHAT_ID"]
  }
}

### 4. Profile Naming

記住你用既 profile 名（例如 main、rescue），之後用既時候補返上去。

### macOS Screenshot to Telegram

This skill captures the macOS screen and sends it directly via Telegram Bot API.

### Workflow

Capture screenshot using macOS built-in command:
/usr/sbin/screencapture -x <output-path>



Copy to workspace (required - OpenClaw has security restriction):
cp <source> <workspace>/screenshot.png



Send via Telegram Bot API (bypasses buggy message tool):
BOT_TOKEN=$(grep botToken <config-path> | sed 's/.*"botToken": *"\\([^"]*\\)".*/\\1/')
curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendPhoto" \\
  -F "chat_id=<target-chat-id>" \\
  -F "photo=@<workspace>/screenshot.png"

### Required Parameters

When using this skill, ask the user for:

target-chat-id: The Telegram chat ID to send to (e.g., user's ID for DM)
profile: The OpenClaw profile name (e.g., "main", "rescue")

### How to Find Paths

Config file: ~/.openclaw-<profile>/openclaw.json
Workspace: ~/.openclaw/workspace-<profile>/

For example, if your profile is "main", paths would be:

Config: ~/.openclaw-main/openclaw.json
Workspace: ~/.openclaw/workspace-main/

### Notes

The message tool in OpenClaw has a bug (#15541) that returns success but doesn't send media
Always use curl with Telegram Bot API directly for reliable media delivery
The screenshot must be copied to workspace first due to OpenClaw's allowed directory security restriction
This skill is profile-agnostic - just pass the correct profile name
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: hoyin258
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/macos-screenshot-telegram)
- [Send to Agent page](https://openagent3.xyz/skills/macos-screenshot-telegram/agent)
- [JSON manifest](https://openagent3.xyz/skills/macos-screenshot-telegram/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/macos-screenshot-telegram/agent.md)
- [Download page](https://openagent3.xyz/downloads/macos-screenshot-telegram)