You can type simulation commands into a Tcl file, and reference the Tcl file with the following command:
-tclbatch option to contain commands within a file and execute those command as simulation starts. For example, you can have a file named run.tcl that contains the following:
Then launch simulation as follows:
xsim <snapshot> -tclbatch run.tcl
You can set a variable to represent a simulation command to quickly run frequently used simulation commands.