Capture the screenshot
Use the built-in macOS screenshot shortcut and note where the image was saved.
⌘⇧4 AI agent workflow guide
Remote AI coding agents are powerful, but screenshots usually start life on your Mac. This guide shows the manual SSH path and the faster filefling loop for getting local images and files onto the remote machine where your agent can actually read them.
Evergreen guide · macOS screenshots · SSH/SFTP · remote AI coding agents
Problem
Many AI coding tools run inside a terminal, tmux session, SSH shell, or remote devbox. The agent can inspect files on that remote machine, but it cannot automatically see a screenshot sitting in your local macOS Desktop or Screenshots folder.
That creates a tiny but repetitive handoff problem: capture the screenshot locally, upload it to the remote machine, copy the remote path, then paste that path into the AI coding agent with enough context to make it useful.
This workflow fits
Manual option
You do not need filefling to solve this. The standard Unix approach is to upload the
screenshot with scp, rsync, or sftp, then paste the remote path into your agent.
Use the built-in macOS screenshot shortcut and note where the image was saved.
⌘⇧4 Use scp, rsync, or sftp to move the file to the machine where your AI coding agent is running.
scp ~/Desktop/Screenshot.png devbox:~/shared/ Use the path that exists on the remote machine, not the local macOS path.
Please inspect this screenshot: /home/brad/shared/Screenshot.png This works well, but the friction adds up when you are iterating on UI bugs, visual changes, logs, generated images, or local files that need to be visible to a remote AI agent.
Faster loop
filefling turns the repeated screenshot handoff into a menubar action. It uploads over SSH/SFTP to your chosen destination and immediately copies the text you want to paste into your AI coding agent.
Point filefling at the same server, devbox, or Tailscale machine where your CLI agent runs.
Press the hotkey or click Send. filefling finds the latest screenshot, previews it, and uploads it over SFTP.
The clipboard can contain a raw path, Markdown image, or complete AI-agent prompt with the remote path filled in.
Please inspect this screenshot and tell me what UI issue you see:
{{remotePath}} Prompts
The best prompt depends on your agent and task. filefling templates let you keep a reusable instruction and fill in the uploaded file path each time.
Please inspect this screenshot: {{remotePath}} This screenshot shows the bug. Identify the likely frontend issue: {{remotePath}}  Please inspect this uploaded file: {{remotePath}} Security
filefling uploads to the SSH server you configure. It does not choose an AI provider, upload to filefling-owned storage, or make your screenshot public. For beta users, the current app build is unsigned, so macOS Gatekeeper may ask you to approve the first launch.
The app also performs trust-on-first-use host-key verification and warns if a trusted host key changes. For setup details, see the host-key trust docs.
FAQ
Yes. filefling is tool-agnostic. If the agent can read a file path on the remote machine, filefling can upload screenshots and files there over SSH/SFTP.
No. filefling uploads to the SSH destination you configure. What happens after that depends on the AI tool or workflow you paste the path into.
Yes. Screenshots are the fast path, but you can drag any file into filefling and upload it to the active destination.
scp is great for one-off transfers. filefling is for the repeated loop: capture, upload, copy the correct remote path or prompt, and paste into the agent.