save the commands you want to run as text using your favorite text editor
chmod +x to make it executable
then rename it and add .command as the file extension, double click and it should open terminal and run itself
it might leave the focus on the terminal though, im not sure