laborany
基于 Claude Code 的桌面 AI 工作力平台 — 支持飞书/QQ 远程调度、技能创建、定时任务。OpenClaw 的桌面实现,零代码养好你的 AI 🦞 Desktop AI workforce platform built on Claude Code. Feishu/QQ bot integration, skill c...
Take a screenshot on macOS and send it to Telegram. Use when the user asks to capture their screen, take a screenshot, or send a screen capture to Telegram. Works around OpenClaw's message tool bug (#15541) that fails to send media.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install hoyin258/macos-screenshot-telegram打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
/newbot 創建新 bot1234567890:ABCdefGHIjklMNOpqrsTUVwxyz)響你既 OpenClaw profile config 度加入:
{
"telegram": {
"botToken": "YOUR_BOT_TOKEN_HERE",
"allowFrom": ["YOUR_CHAT_ID"]
}
}
記住你用既 profile 名(例如 main、rescue),之後用既時候補返上去。
This skill captures the macOS screen and sends it directly via Telegram Bot API.
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"
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")~/.openclaw-<profile>/openclaw.json
~/.openclaw/workspace-<profile>/
For example, if your profile is "main", paths would be:
~/.openclaw-main/openclaw.json
~/.openclaw/workspace-main/
message tool in OpenClaw has a bug (#15541) that returns success but doesn't send media这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# Setup (Prerequisites)
## 1. Telegram Bot Token
1. 搵 @BotFather on Telegram
2. Send `/newbot` 創建新 bot
3. 拎個 bot token(好似 `1234567890:ABCdefGHIjklMNOpqrsTUVwxyz`)
## 2. 搵 Telegram Chat ID
- **個人 ID:** 搵 @userinfobot 或者 forward message 俾 @userinfobot
- **Group ID:** Forward 任何 message 俾 @userinfobot
## 3. OpenClaw Config
響你既 OpenClaw profile config 度加入:
```json
{
"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
1. **Capture screenshot** using macOS built-in command:
```bash
/usr/sbin/screencapture -x <output-path>
```
2. **Copy to workspace** (required - OpenClaw has security restriction):
```bash
cp <source> <workspace>/screenshot.png
```
3. **Send via Telegram Bot API** (bypasses buggy message tool):
```bash
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
1. **Config file:** `~/.openclaw-<profile>/openclaw.json`
2. **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 copi...基于 Claude Code 的桌面 AI 工作力平台 — 支持飞书/QQ 远程调度、技能创建、定时任务。OpenClaw 的桌面实现,零代码养好你的 AI 🦞 Desktop AI workforce platform built on Claude Code. Feishu/QQ bot integration, skill c...
Reusable OpenClaw skill for remote Linux deployment with MiniMax M2.1 and Telegram bot setup
Bots learn, human earns, curated open claw playbook list and skill list for life long learners at https://botlearn.ai
Web-based admin dashboard for OpenClaw — manage Discord persona bots, workspace files, skills, cron jobs, channels, and config