Skip to main content

CLI tool for AI-powered prompt enhancement

Project description

PMPT CLI

AI-powered prompt enhancement tool that improves your prompts using OpenAI, Anthropic, and OpenRouter APIs.

Demo

Features

  • 🤖 Multiple AI Providers: OpenAI, Anthropic (Claude), OpenRouter
  • 🎨 Enhancement Styles: Gentle, Structured, Creative
  • 🔍 Smart Environment Detection: Automatically detects your project's programming environment
  • ⌨️ Command Completion: Tab completion for commands
  • 📋 Clipboard Integration: Automatic copying to clipboard
  • ⚙️ Easy Configuration: First-run setup wizard

Installation

Linux/macOS (Bash)

Run the installation script:

curl -fsSL https://raw.githubusercontent.com/hawier-dev/pmpt-cli/main/install.sh | bash

Manual Installation

git clone https://github.com/hawier-dev/pmpt-cli.git
cd pmpt-cli  
pip install -e .

Usage

Simply run:

pmpt

First Time Setup

The tool will automatically guide you through configuration:

  1. Choose your AI provider (OpenAI/Anthropic/OpenRouter/Custom)
  2. Enter your API key
  3. Specify your model
  4. Settings are saved to ~/.pmpt-cli/config.json

Configuration

Supported Providers

  • OpenAI: GPT models via OpenAI API
  • Anthropic: Claude models via Anthropic API
  • OpenRouter: Access to various models
  • Custom: Any OpenAI-compatible API

Configuration File

Located at ~/.pmpt-cli/config.json:

{
  "api_key": "your-api-key",
  "provider": "openai", 
  "model": "gpt-4o",
  "current_style": "gentle"
}

Requirements

  • Python 3.8+ (add to PATH during installation)
  • Git (for installation scripts)
  • API key for chosen provider (OpenAI, Anthropic, OpenRouter, etc.)

Development

git clone https://github.com/hawier-dev/pmpt-cli.git
cd pmpt-cli
pip install -e .

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pmpt_cli-0.1.4.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pmpt_cli-0.1.4-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file pmpt_cli-0.1.4.tar.gz.

File metadata

  • Download URL: pmpt_cli-0.1.4.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for pmpt_cli-0.1.4.tar.gz
Algorithm Hash digest
SHA256 56848e55880408072216e2331e2072fccd233b0311f7afab360d4d342c597158
MD5 0b25776280f9f550560d866e5cf71124
BLAKE2b-256 92545c2b7556f5db5570726717ef3906d9f8a70cfdc62fd06dc63374944ac35e

See more details on using hashes here.

File details

Details for the file pmpt_cli-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: pmpt_cli-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for pmpt_cli-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6dc597a1f98002950ef09b9f3b2d81b62e4b0f333ba02cb3e87c0b87a823c946
MD5 e61f8f86de3ff6b726913bd589aaa017
BLAKE2b-256 22ce82d74c4a3f050757ae311cdebe5e659d89e4427ff0279922150274cf178c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page