I've got a collection of scripts over on GitHub that are written to be used with Jamf Pro in a variety of ways:

  1. Leverage the Jamf REST API to take actions on objects in the JSS
  2. Deploy a script to a macOS computer to do some task
  3. Run as an Extension Attribute to gather additional inventory data