Transcript
Time to try headless mode with a practical exercise.
Use this prompt: "Fetch three messages from /v1/automessage and store them in the database. Log each run to fetch-log.txt"
Note: You'll need to use the --allowed-tools Edit flag to let Claude write the log file.