Cook pasta in a large pot according to package directions. Drain and set aside.
Heat broth, garlic, peanut butter, sugar, chile flakes, and soy sauce in pasta pot until boiling, stirring often. Add tofu, cucumber, and pasta and toss to coat.
Transfer pasta to a serving bowl; top with onions, cilantro, and peanuts.