Shell BuddyYour second brain for shell commands in Raycast

⚡ Save precious development time by converting natural language prompts to runnable shell commands with the power of AI directly in Raycast!

Works With Your Tools

From common every day tools, to build tools, container management and many other applications. Shell Buddy can help you remember almost any CLI command.

Common CLIs
Bash Logo
Shell
Git Logo
GIT
Nodejs Logo
Nodejs CLI
Cmake Logo
CMake
Container Management
Cmake Logo
Docker
Podman Logo
Podman
Kurbernetes Logo
Kubernetes
Vagrant Logo
Vagrant
DBs and Cloud Providers
Posgres Logo
Postrges DB
MongoDB Logo
MongoDB
AWS Logo
AWS
GCP Logo
GCP

Shell Buddy will work with any established CLI interface. Extremely new CLIs like the Supabase CLI won't work, as it wasn't included in the training data. It's always up to you to make sure the command you are running is what you want to do.

Example Prompts

  1. Compress the directory "images", "videos" and "audio", print the size and then send it to a remote server
  2. tar -czvf archive.tar.gz images videos audio && du -sh archive.tar.gz && scp archive.tar.gz user@remote_server:/path/to/dest
  1. Find and print all email addresses in file users.json
  2. grep -o '[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+.[A-Za-z]{2,}' users.json
  1. Create a cluster role named "pod-reader" that allows user to perform "get", "watch" and "list" on pods
  2. kubectl create clusterrole pod-reader --verb=get,list,watch --resource=pods
  1. Start a docker postgres docker container on port 5432 with username and password and mount a data volume
  2. docker run --name postgres -e POSTGRES_USER=username -e POSTGRES_PASSWORD=password -p 5432:5432 -v data:/var/lib/postgresql/data postgres
  1. Create an aws iam role named "Test-Role" and attach trust policy "test-role-trust-policy.json" to it
  2. aws iam create-role --role-name Test-Role --assume-role-policy-document file://test-role-trust-policy.json

3 Steps to Convert any Prompt

  1. Open Raycast and enter convert or shell buddy to prompt the Shell Buddy extension
  2. Enter a natural language prompt like rename a docker volume to hello
  3. Shell Buddy will send your prompt to a server, apply AI to convert it to a shell command and return the result to you
You can now either copy the resulting command to your clipboard with ⌘ + J or run the command directly in the terminal with ⌘ + ↵
Shell buddy works best with clear and simple prompts. However, you can also try more complicated inputs. It's up to you to make sure the command you are running is what you want to do.
You should never run commands you don't know

License Keys & Credits

  • A license key with credits is needed to prevent abuse to the Shell Buddy API and carry costs for the OpenAI API.
  • Credits never expire.
  • Licenses can be used on multiple devices.
  • One conversion deducts one credit from the license.
  • If you happen to enter a prompt multiple times, Shell Buddy will pull the previous result from your command history. This will not cost credits.
  • Prompts shorter than 2 characters won't be converted.
  • Nonsense inputs like make a coffee run will yield no result, but still deduct 1 credit.
  • 👉 You can purchase license keys here

FAQ

  • What is Raycast?
    Raycast is a productivity app for Mac. It can be extended with extensions, such as Shell Buddy to make specific tasks easier and quicker.
  • Can I use Shell Buddy on any other platform than Mac?
    No. Shell Buddy can only be used on Mac and only in Raycast. Currently there are no plans to port it anywhere else.
  • How can I get the best results out of Shell Buddy?
    You will get the best conversion results with specific and simple prompts. However, Shell Buddy can also convert longer prompts. Never run commands you don't know.
  • What is the Shell Buddy command history?
    Every prompt and conversion result will be saved in your command history. You can move through the command history with the arrow keys and copy or run the selected command.
  • I have problems working something out, who can I contact?
    Hi, I'm John 👋 🙂 I made this extension. If you have questions, problems or suggestions, feel free contact me via email.