A curated selection of automation scripts and tutorials is available here.
A collection of sample scripts from the 2017 CyREST Challenge is here.
Scripts can be created in any of a number of forms, including R, Python, HTTP (Javascript, Java, etc) and shell files, each with corresponding entrypoints into Cytoscape:
To learn more about Cytoscape Automation, visit our FAQ.