In Xenoblade Chronicles, Riki is one of Shulk's party members, being the second last playable character to join the team. He is a resident of Frontier Village, the Nopon village, and has been assigned the yearly position of "Heropon" by Dunga the village elder. As the Heropon, he is told to join Shulk and his party to help defeat the Telethia rampaging through the forest. Riki quickly reveals that he was selected as Heropon not because he is skilled or special, but as a way to work off the massive debts accrued by his many children's appetites. Once the Telethia is defeated, Riki is told to continue travelling with Shulk and assist him as needed, which while again framed by the elder as prophecy, is easily seen by everyone as a way to get rid of him. Afterward, Riki has almost no effect on the plot at large, and only serves as occasional comic relief.
Much like his appearance, Riki is a very childish character. He is very enthusiastic, gets hungry easily, speaks in a largely childish matter, refers to the party as "Heropon and sidekicks", and often thanks himself for contributing more than he actually did in any given situation. However, as a 40-year old married father of eleven (to the surprise of non-Nopon), he is surprisingly knowledgable with interpersonal relationships; he relates to Dunban's difficulties of taking care of younger family members, and tries to support Melia by reading her hidden emotions and weaknesses.
While Riki is presented as goofy and ineffective in plot, he has a variety of useful skills in battle. He wields several arts that have unusual effects that can be stacked together, many of which hit multiple foes. He has an even spread of physical and ether attacks, an effective healing move, and the most health of any playable character. His talent art is Yoink!, which allows him to steal items, stat boosts, and experience points from enemies. But while Riki can do a lot of things, he is not the best at any of them - he can't get enough enemy attention to effectively utilize his high health, his stats are very middling, and everything he can do can be done more consistently by someone else. As a result, he can fill a variety of roles in many party compositions.
Riki's six arts as an Assist Trophy all originate from his available arts in Xenoblade Chronicles, with similar effects. He also participates in Shulk's Final Smash, Chain Attack, in a similar way to the Chain Attack mechanic in the original game. During the Final Smash, Riki can be seen attacking with his Biter, a weapon specific to him, and also using a seventh art, Lurgy.
Riki appears both as an Assist Trophy and part of Shulk's Final Smash. All of his voice clips are directly ripped from Xenoblade Chronicles. Upon being summoned, Riki will announce "Leave it to Heropon!", and once his time is up, he disappears while saying "All go to plan!"
As an Assist Trophy
Riki stands in place and randomly uses three of the following Arts:
Riki appears in Shulk's Final Smash. He is summoned alongside Dunban to use a Chain Attack on the trapped opponent, before Shulk sends the foe flying. In this Chain Attack, Riki's appears to use his Lurgy Art.
In Smash Tour
Riki appears as a blue item: when selected, it draws all nearby items to the user as they walk.
As a costume
As an Assist Trophy
Riki reprises his role as both an Assist Trophy Training Mode describes his Assist Trophy with the following: Applies various effects to fighters. Can't be KO'd.
The Riki appears as a Master Spirit.