A Marc Richards brace helped Chesterfield to a first win in four games as three goals in eight minutes saw off Northampton.
Jay O'Shea celebrated his permanent deal by finishing from 10 yards after combining with Danny Whitaker.
A Clarke Carlisle error allowed Richards to fire low into the net, before Tendayi Darikwa released the striker to slot past Lee Nicholls.
Northampton came close to a consolation when Chris Hackett hit the crossbar.
VIEW FROM THE DRESSING ROOM
Chesterfield manager Paul Cook told BBC Radio Sheffield:
"We are delighted - it felt like two games we lost in a quick couple of days to Accrington and Wycombe.
"We're a club that expect to win football games and we've worked hard all week.
"The lads were a credit today, we had loads of good players, loads of good performances and it was a very good win against a very good side.
"We looked really good on the break and counter-attacking."
Northampton Town manager Aidy Boothroyd told BBC Radio Northampton:
"It's a missed opportunity. When you go on a little run, you build a reputation.
"The team that you play against up their game because they're frightened of you.
"I'm thoroughly disappointed because we never started for 30 minutes. It was unacceptable. We were mentally lazy - they were up for it and we were complacent.
"We got a hiding, we have to take it but we're better than that."
Chesterfield 01 Lee 03 Smith 05 Trotman 06 Hird 12 Darwikwa 31 Cooper 08 Togwell 10 Whitaker 15 Clay (Randall - 76' ) 34 O'Shea (Wafula - 90' ) 09 Richards (Lester - 85' ) Substitutes 13 O'Donnell 39 Whittaker 23 Randall 30 Broadhead 14 Lester 18 Boden 22 Wafula Northampton 21 Nicholls 03 Widdowson 05 Langmead 12 Tozer 30 Carlisle Booked 04 Guttridge 08 Harding (Demontagnac - 82' ) 11 Hackett 09 Platt 10 Akinfenwa (Hornby - 74' ) 17 Robinson Booked Substitutes 13 Snedker 07 Demontagnac 22 Hornby 24 Turnbull 25 Dias 16 Wilson 19 Moult