These scripts are supposed to be used in Metashape Pro. They can be executed on Metashape launch automatically (see article).
If you have script with general functionality that can be useful for other users - feel free to publish your script in this repository in directory contrib via pull request.
Each script checks that it is used with the proper Metashape version. Main branch of repository contains scripts compatible with last released version of Metashape.
If you need scripts for older releases of Metashape or PhotoScan - you can use scripts from the proper branch.