Philip Galea's plans for a terror attack in Melbourne were not real but had been concocted to flush out a police mole in the ranks of right-wing hate group the Soldiers of Odin, his barrister has told a court.

The 34-year-old former Reclaim Australia member is on trial in Victoria's Supreme Court accused of doing acts in preparation for a terrorist act but on Thursday Felicity Gerry, QC, said his plot was a fake and he never intended violence.

Philip Galea is led into court this week Credit:AAP

"He put together a fake plan which would expose the police informer he believed to be acting against right-wing groups," she said of allegations he wanted to cut throats, inject people with acid and target police with snake venom.

Prosecutor Richard Maidment, QC, has alleged Mr Galea plotted against Melbourne anarchist and socialist groups between August 2015 and 2016 and that he worked on a terror how-to guide he called the "Patriot's Cookbook".