You have to learn how to add the files to the atv2 first then. I'll just assume your trying for kodi, but once jailbroken then find the apps and files that you want learn to install the repositories and then from within those programs can you get the "add ons" you talk about,
Your best bet and easiest would be to read on google and watch YouTube videos pertaining to the "add ons" your looking to install