Tech News
← Back to articles

Show HN: Runprompt – run .prompt files from the command line

read original related products more articles

runprompt

A single-file Python script for running .prompt files.

Quick start | Examples | Configuration | Providers

Quick start

curl -O https://raw.githubusercontent.com/chr15m/runprompt/main/runprompt chmod +x runprompt

Create hello.prompt :

--- model : anthropic/claude-sonnet-4-20250514 --- Say hello to {{ name }} !

Run it:

export ANTHROPIC_API_KEY= " your-key " echo ' {"name": "World"} ' | ./runprompt hello.prompt

Examples

... continue reading