Intelligent cliff-borer worm