Cook spaghetti according to packet instructions, then drain well and set aside.
Sauté garlic in olive oil until fragrant and lightly golden. Add chicken stock, spaghetti and button mushrooms. Toss and fry until heated through.
Sprinkle in chilli flakes, ground black pepper and parsley. Toss lightly to combine then dish out and serve.