AivoClaw feishu-screenshot
install
source · Clone the upstream repo
git clone https://github.com/yuanyuekejiJN/AivoClaw
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/yuanyuekejiJN/AivoClaw "$T" && mkdir -p ~/.claude/skills && cp -r "$T/extraSkills/feishu-screenshot" ~/.claude/skills/yuanyuekejijn-aivoclaw-feishu-screenshot && rm -rf "$T"
manifest:
extraSkills/feishu-screenshot/SKILL.mdsource content
Feishu Screenshot
Capture macOS screenshots and send to Feishu conversations.
Quick Start
# 1. Capture screenshot to temp directory screencapture -x "$TMPDIR/screenshot.png" # 2. Send to Feishu # Use message tool with media parameter
Sending Images to Feishu
Use the
message tool with media parameter (NOT base64):
message(action=send, media="/path/to/image.png", channel="feishu")
Or reply to current conversation (auto-inferred target):
message(action=send, media="/path/to/image.png")
OpenClaw handles:
- Upload image via
-> getPOST /open-apis/im/v1/imagesimage_key - Send message with
and the keymsg_type: image
Important Notes
Use
not $TMPDIR/tmp
- macOS temp directory:
/var/folders/.../T - OpenClaw file access restricts to
and workspaceos.tmpdir()
may not be accessible/tmp
Use
parametermedia
- Pass file path directly to
parametermedia - Do NOT use
(base64) parameterbuffer - Let OpenClaw handle the upload flow
Full Example
Taking a screenshot and sending to Feishu:
# Capture SCREENSHOT_PATH="$TMPDIR/screenshot_$(date +%s).png" screencapture -x "$SCREENSHOT_PATH"
Then use message tool:
message( action=send, media="$SCREENSHOT_PATH", channel="feishu" )
Resources
scripts/
- Example script combining capture + sendscreenshot_and_send.sh