Conceptually inspired by https://github.com/AlexZeitler/claude-ssh-image-skill.
Assumes a running SSH action server on the Mac host per https://github.com/henrik/dotfiles/blob/master/bin/ssh_action_server.rb.
Conceptually inspired by https://github.com/AlexZeitler/claude-ssh-image-skill.
Assumes a running SSH action server on the Mac host per https://github.com/henrik/dotfiles/blob/master/bin/ssh_action_server.rb.
| name | dl |
|---|---|
| description | Fetch the most recent file from the host Mac's ~/Downloads via the SSH action server. |
| allowed-tools | Bash, Read |
Fetch the most recent file from the host's ~/Downloads folder via the SSH action server:
dir=$(mktemp -d /tmp/dl.XXXXXX) && curl --silent --show-error --remote-header-name --remote-name --output-dir "$dir" http://localhost:19998/last-download && ls "$dir"After running the command, tell the user the filename and its full path. If the file is an image, read it to show it. If it's a text-based file (code, CSV, JSON, etc.), read a preview.