Skip to content

Installation

Install

Terminal window
brew install imdevan/prompter/prompter

Verify Installation

Terminal window
prompter --version

Quick Start

Add a template:

Terminal window
prompter add question "This is a question. Do not generate code."

Generate your first prompt:

Terminal window
prompter -q "how can i debug this code?"

The prompt will be copied to your clipboard by default, ready to paste into your AI coding agent.

How It Works

Prompter builds a single prompt by combining your base request with reusable templates and real project context:

  1. Load the index.md template if it exists
  2. Apply selected templates in the order you pass them
  3. Insert the base prompt where it appears in that order
  4. Append files, directory contents, and piped input if provided

Interactive vs Non-Interactive

  • Interactive mode (default) prompts for a base prompt and lets you select templates
  • Non-interactive mode (--yes) uses flags and arguments only

To control the default, set interactive_default in your config.