It is eventually revealed that Kim is actually a huge fan of Holt. She requested the transfer to the Nine-Nine because she viewed Holt as a hero and trailblazer for marginalized groups in the NYPD.
Disheartened by their extreme distrust and the fact that they trashed her home (including her "most comfortable chairs in the world"), she transfers out immediately, leaving the squad to feel immense guilt. Unique Character Traits & Trivia Captain KimBrooklyn Nine-Nine : Season 7 Episode 2
Jake and a demoted Officer Holt are convinced she is a "Trojan Horse" sent by Madeline Wuntch to spy on them. They spend the episode snooping through her home during a dinner party to find dirt. It is eventually revealed that Kim is actually
Unlike past replacement captains who were incompetent or malicious (like the Vulture or Captain Dozerman), Captain Kim is portrayed as genuinely kind, highly competent, and selfless. Unique Character Traits & Trivia Jake and a