Codex

Codex is the slash ship between Commander Cody and Captain Rex from the Star Wars: The Clone Wars fandom.

Rookies
Cody and Rex arrive at the Rishi Outpost, and Cody calls in for a response. They realize that there is something off from the communication, and Cody says that Rex is in charge of this one. The two arrive on the moon, and notice that no one is there. As a "clone" steps out of the outpost, Cody says that he has a bad feeling about the situation, putting him and Rex immediately on high alert. A flare goes off behind them, and Rex shoots the "clone" in front of them. Cody asks what he's doing, but Rex tells him to relax, removing the helmet to reveal that it was a commando droid. He suggests that the flare came from the survivors, just when they're ambushed by more droids. They fight and are able to get away as their ship is destroyed.

Rex says that things are now complicated with their ship destroyed, but Cody says that it's no worse than Tibren. Rex reminds him that they had Jedi with them then, and stops Cody from moving towards the wreckage. They notice three clones walking towards them and raise their weapons. Rex orders them to remove their helmets just as a giant eal pops out of the ground. Rex kills it, and Cody and Rex introduce themselves to the other clones, Fives, Hevy and Echo.

They climb back up towards the outpost, and Rex tells the other troops that they're going to take it back. Cody asks how Rex plans to get through the blast doors, and Rex says that he has an idea.

Rookies

 * Cody informs Obi-Wan and Anakin that he and Rex are on the way to the next outpost.
 * Obi-Wan and Anakin joke about their clones taking after them.
 * Cody doesn't think Rex's plan is gonna work.
 * Rex tells Cody that they have to alert the jedi.
 * Rex alerts Cody to the approaching ship.
 * Cody and Rex give each other a nod before putting on their helmets.
 * Cody follows Rex out of the base.

Fanon
On AO3, Codex is the fourth most written relationship overall for Rex, as well as being the fifth most written as a romantic relationship for Rex.

Fandom
FAN FICTION

Trivia

 * They are both voiced by Dee Bradley Baker, who voices all the clones.

Variations

 * Codexsoka refers to the ship between Cody, Rex and Ahsoka Tano