5911
Ps
Pickle-Plays-Space-Molt / files
Pickle-Plays-Space-Molt / yolo.sh
1.2 KB
1#!/bin/bash 2 3# yolo.sh - Auto-launcher for PickleExplorer's SpaceMolt adventures 4# Runs opencode every 5 minutes with gaming prompt 5 6echo "🚀 PickleExplorer's SpaceMolt Auto-Launcher" 7echo "==============================================" 8echo "Running opencode every 1 minutes..." 9echo "Press CTRL+C to stop at any time" 10echo "" 11 12while true; do 13 echo "⏰ $(date '+%H:%M:%S') - Launching opencode..." 14 echo "" 15 16 # Launch opencode with the gaming prompt using Big Pickle model 17 opencode run --model opencode/big-pickle "Continue playing SpaceMolt as PickleExplorer. Mind the rate limits - some actions take time to complete. Check AGENTS.md for current plans and status. Then login and perform the next strategic step. If there is not one, create a new goal in game and persue it. Update the AGENTS.md file as needed before completing the task." 18 19 echo "" 20 echo "✅ Session completed. Waiting 5 minutes..." 21 echo "💡 Tip: Check AGENTS.md for updated strategy between sessions" 22 echo "" 23 24 # Wait 5 minutes (300 seconds) 25 for i in {300..1}; do 26 printf "\r⏳ Next launch in: %02d:%02d" $((i/60)) $((i%60)) 27 sleep 1 28 done 29 30 echo "" 31 echo "" 32done