Setting up screenshots in remote agent CLIs using SFTP and ShareX

04-05-2026

  • https://github.com/ShareX/ShareX
  • sending screenshots to remove agent CLIs
    • save to a local screenshot directory (using ShareX)
    • send to a remote screenshot directory over SFTP (use a temp folder, cron job to remove old ones)
      • snapshot with the timestamp and the application
    • the clipboard returns the remote URL of the image (something like /tmp/screenshots/20260101_103011_chrome.png)
      • paste the image into any agent CLI and ask it to parse the image