Commander Cody

Commander Cody is an NPC, a Clone Trooper placed in charge of the squadron of Clone Troopers that went with Obi-Wan to the planet Utapau.
== Revelation of the Sith ==
Obi-Wan and Anakin made their goodbyes and Obi-Wan boarded a transport full of Clone Troopers led by Commander Cody. He recorded his thoughts, voicing suspicions about Anakin, Padme, R2, and Yoda, and realized that he was the only one who could do what must be done. Obi-Wan headed for Utapau to go after Valorum/General Grievous.
Obi-Wan arrived at Utapau and flew down there in a personal shuttle. He was greeted by Tion Medon, who privately told him that the Trade Federation was already there on Utapau, besieging the planet, but that Medon and his people were determined to fight them off by themselves and didn't want any help from outsiders. Medon suggested that Obi-Wan had other more important things to attend to in the Galaxy, and left. Obi-Wan contacted Cody on the transport and told him he was going to send his shuttle back to his transport on autopilot to make everyone think he was leaving, while he stayed on Utapau to spy on the Federation.
At the Jedi Council chamber, Anakin and Mace Windu contacted Yoda on Kashyyyk and Commander Cody on Utapau. Yoda reported that the Wookies won the battle. Cody reported on what Obi-Wan had found out, including that Nute Gunray claimed he had sleeper agents in the Republic. Anakin tried to hint to Windu that Palpatine could be a Sith lord, but Windu was too dim to get it. Anakin left the Jedi Council chamber.
On Utapau, the Clone Troopers there were mopping up the Federation forces. Commander Cody handed Obi-Wan back his laser sword (which Obi-Wan had dropped) while Obi-Wan was riding his varactyl. Obi-Wan rode his varactyl up a cliff wall to cut off the Federation forces' escape route. At that moment, Chancellor Palpatine contacted Cody. Palpatine hemmed and hawed a bit before telling Cody that the Jedi had become a threat. Cody instantly believed him, and eagerly offered to kill the Jedi. When Palpatine reluctantly admitted that was what he wanted the clones to do, Cody enthusiastically agreed to do it. He called up to Obi-Wan on the rockface to tell him it had been an honor serving under him, then he blasted the rockface, causing Obi-Wan and the varactyly to fall a great distance into a pool of water. Cody was confident that no one could survive that, as Obi-Wan quietly climbed out of the pool.