This article is missing information about the film's production, box-office, and home media release. Please expand the article to include this information. Further details may exist on the talk page.(October 2021)
The club meets with Shizuka Shirayama of OSTO Legacy, who requests their help. The club agrees, but while travelling to the organization, they are attacked by Blink and her robotic partner Black Knight. Club members Gentaro Kisaragi and Ryusei Sakuta fight them, but Blink destroys their van and wounds Sakuta before retreating with Black Knight. Despite this setback, the group reaches OSTO Legacy and meets its general manager, Harumi Saeba, who reveals Blink and Black Knight are members of the Alicia Federation, who created Cosmic Energy-powered androids called Kyodain. OSTO Legacy needs the club's help to destroy the federation's strongest Kyodain, XVII, though Kisaragi intends to befriend it instead. After receiving astronaut and combat training, the club prepares to board the shuttle Exodus. Blink uses the Switches she stole to create simulacrums of the Horoscopes to stop them. As the others race to the shuttle, Kisaragi and Sakuta stay behind to destroy most of the Horoscopes before Kamen Rider Wizard arrives to destroy the remaining simulacra and allow the pair to rejoin their friends.
Arriving at XVII, the club, Shirayama, and Saeba learn Blink and Black Knight stowed away on the Exodus before fighting them. While the club plants explosives, Sakuta and Tomoko Nozama discover Shirayama and Saeba lied to them. With their ruse exposed, Saeba and Shirayama assume their true forms: the Kyodain Groundain and Skydain. Blink reveals that her father Professor Blink created the Kyodain, who acquired sentience and killed him out of a sense of superiority before XVII locked them in human forms and trapped them on Earth. The Kyodain destroy XVII's mainframe to regain their full capabilities and attempt to kill the club.
While the club and Blink escape to the ship, Black Knight sacrifices himself to protect them while Kisaragi and Sakuta battle the Kyodain. The androids overpower them before converting XVII into its robot form to attack Earth, but XVII saves the Riders and activates its self-destruct sequence to stop the Kyodain. Refusing to let XVII sacrifice himself, Kisaragi expends his Rider powers to force the robot through a warp gate and onto the moon. He befriends XVII and stops him from self-destructing, but the Kyodain launch a counterattack. XVII sends them an email with specs for a new Astroswitch. The club gathers Kisaragi's current Astroswitches, distributes them to everyone Kisaragi befriended at AGHS, and convinces them to activate them all simultaneously, causing a chain reaction that creates the new Astroswitch. Kisaragi uses it to fuse his Rider powers with Sakuta's, allowing him to overwhelm and destroy the Kyodain. After restoring his systems, XVII thanks the club before leaving to explore and find his place in the universe.[2][3]