SuperAPI AI Directory

screenshot_to_feishu

Office & productivity

View repository

Updated 10-16 04:41

About this skill

screenshot_to_feishu

Take screenshot on Mac mini and send to Feishu.

Triggers

  • "Screenshot"
  • "Send me the screenshot"
  • "Send the screenshot to Feishu"
  • "screenshot"
  • "Screenshot skill"

How to use

Directly on the Apple的Mac mini node, run the script:

nodes.run(node="Apple的Mac mini", command=["bash", "-l", "/Users/apple/.openclaw/skills/screenshot-to-feishu/scripts/screenshot-to-feishu.sh"])

The script will automatically:

  1. Take a screenshot and save it to the desktop (with timestamp)
  2. Automatically send to Feishu

Output

  • Screenshot file: ~/Desktop/screenshot_YYYYMMDD_HHMMSS.png
  • Feishu message: sent to the user

Error handling

  • Automatically retry 3 times (2-second interval)
  • Check whether the screenshot file exists and is non-empty
  • Check whether sending succeeded
  • On failure, keep the screenshot file for manual sending