The Jedi Temple Guards were part of the Temple Security Force, a force of Jedi that scrubbed away their past identities and devoted their whole lives to protecting the Jedi Temple and the Jedi Order in Star Wars: The Clone Wars and also appeared in Star Wars Rebels in the episode "Shroud of Darkness".
During the Clone Wars, Jedi Temple Guards were responsible for guarding the Jedi Temple on Coruscant. Later, several Jedi Temple Guards intervened in a lightsaber duel between the Jedi Knight Anakin Skywalker and the Dark Jedi Barriss Offee. After Barris was exposed for framing Ahsoka Tano, several Jedi Temple Guards led her into custody.
The role of the Jedi Temple Guards was an ancient, honored heritage within the hallowed halls of the Jedi Temple. Reporting to Cin Drallig, head of security, the Jedi Temple Guards were anonymous sentinels plucked from the ranks of the Jedi Knights.
A Jedi Temple Guard would disappear inside the formal robes and identity-concealing masks, the ultimate expression of emotional detachment required in service to a higher calling. Jedi Temple Guards carried imposing lightsaber pikes - thick, double-bladed weapons that produced a rare and distinctive yellow blade.