First lets get the terminology correct. When you say script I typically think Bash scripts. The word I would use is Prolog source code file.
The next item is that to use use_module/1,2 the Prolog source code file needs to be a proper module.
To convert a Prolog source code file into a module the first non comment line needs to be a Prolog directive (:-
) using module/2,3 See: Defining a Module
When you note the example use lists
I take it that you are referring to the second argument of module/2.
Making the list of predicates to export can be daunting the first time, but it can also be tedious once you understand it and the list is long. See: Build list of predicates that can be exported from a module
This will give you the full list from which you can just delete the predicates not needed. It is so much easier to delete unneeded predicates that get all of the needed predicates correct by typing them in by hand.
Once all of the Prolog source code files like :-[nodi].
are converted to Prolog modules, then you can just change the lines to something like
:- use_module(nodi).
HTH