How to access code within a installed package from a script in the Assets folder?

You access it like any other script in your project, which is often just get a reference to the instance of the script, then access it via that reference. If the issue is just with VS, try the steps in the first post in the below thread.