Prompt shell
Replace highlighted brackets, then copy.
Write a claude -p command that returns JSON output for [task], using --output-format json.
How to use
task- replace the bracketed field with your info
Provide (Inputs)
- Task goal
Expected output (Outputs)
- CLI command
- Expected JSON fields
Tips
- Use stream-json for streaming pipelines.