Open or create an external material library
Click on the first material category
click on the copy from library icon (it copies from the selected to the other)
press the down arrow key
click on the copy from library icon
repeat until done
Import your new library into an empty project then save it as a prototype. Then all new files will have the library.