Pissed down rain this morning and died to a drizzle as I left for work. Was heading down Carlingford Road and there was this older red car infront in the right hand lane that I got a bad vibe from so I shifted over to the left lane and kept my distance behind him. Coming down to the end of Carlingford Rd to Epping there's two sets of lights. Car in left was slowing to turn left so I moved back into the right lane behind Mr Red. He's just about at the first lights when they go amber and he decides to slam on his brakes. I quickly squeezed about 50/50 front and back, back locked up and my tail kicked to the right about 45 degrees and my front started to skid, was not going to stop and was looking for an exit, no cars to my left and managed to release the back brake, tap a tiny bit of throttle and kick the backend back around behind me and go around the left of him with millimetres to spare. All I can say is THANK HOLY fcuk I grew up in the bush on mountain bikes and trail bikes and my body just did what it needed to do without freezing up. Stopped at the next lights and laughed, amazed that my heart rate was still steady and I was calm. Was 100% expecting after that to be shaken up as if I hadn't have kicked the tail back behind me I would have slammed into his arse sideways. Got it on my helmet cam and have watched it back a bunch of times. Mistakes I made: 1 - 2nd lights were green and he had plenty of time on the amber to go through as near everybody does every day there, as a result my judgement failed me and I assumed he would go through, leaving me room to stop for the red. Never assume anything. 2 - Because I assumed he would be going through, I was too close for the conditions. I did not give myself enough room to stop should he brake hard, which he then did. 3 - I should have watched the lights more closely and expected him to stop for that amber. It is quite a long one which I know, but I cannot be sure he knows that so he wouldn't have been willing to risk running a red. 4 - Braking I am not sure. I feel if I had braked harder with the front I would have lost the front end and gone down ending up under his car. I'll need to practice more on how hard I can brake in the wet before the front starts to go. Cager didn't do anything really wrong and I can't put any blame on him. If I had been further back, nothing would have happened. If you had to pick apart him, only thing I'd say is he braked too hard and too late for the amber with people behind him in the wet. But it was my actions that almost caused the crash. I gave him a quick wave to say I'm all good. At least now I know how I react in bad situations. Am happy I didn't freeze up. Not happy I didn't heed my own constant advice to keep more distance in the wet like I usually do. Mistake made. On to the next one!