All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Runprompt: Command-Line Tool for Running LLM Prompts from Shell Using .prompt Files

By

chr15m

6mo ago· 10 min readenCode

Summary

Runprompt is a command-line tool that allows users to run LLM prompts directly from their shell using .prompt files. The tool uses a single-file Python script to execute prompts that contain both the prompt content and metadata (model, schema, configuration) in one file. It supports various installation methods including direct download, uvx, pip, or uv, and enables structured responses from language models through a simple command-line interface.

Key quotes

· 5 pulled
Run LLM .prompt files from your shell with a single-file Python script.
Dotprompt is an prompt template format for LLMs where a .prompt file contains the prompt and metadata (model, schema, config) in a single file.
You can use it to run LLM prompts and get structured responses right in your shell.
Create hello.prompt: Run it: (You c)
Run LLM prompts from your shell. Contribute to chr15m/runprompt development by creating an account on GitHub.
Snippet from the RSS feed
Run LLM prompts from your shell. Contribute to chr15m/runprompt development by creating an account on GitHub.

You might also wanna read