The Cosmos pipeline code can be found on the Carnegie Code repository: http://code.obs.carnegiescience.edu/cosmos