๐Ÿš s2s โ€” Say2Shell

Convert natural language into executable shell commands using Claude. Describe what you want, get the command printed and copied to your clipboard, ready to use. Iโ€™m using this on a daily basis.

$ s2s merge pdf1.pdf and pdf2.pdf
pdfunite pdf1.pdf pdf2.pdf out.pdf

$ s2s find all python files larger than 1MB
find . -type f -name "*.py" -size +1M

$ s2s show me disk usage sorted by size
du -sh * | sort -hr

Source on GitHub Gist.

Install

curl -fsSL \
https://gist.githubusercontent.com/marcdix/5bf4ac3840cbb2c83d734dd3bb3dd783/raw/s2s.sh \
| sudo install -m755 /dev/stdin /usr/local/bin/s2s

Requires the claude CLI to be installed and authenticated, and wl-copy (Wayland) or xclip (X11) for clipboard support.


Home