Skip to main content

CLI Wrapper with Prompt Optimization - Bridge between you and AI CLI tools (opencode, claude, gemini)

Project description

PromptBridge

Use AI CLI tools more smartly.

PromptBridge is a prompt optimization wrapper for AI coding assistants like Claude Code, Gemini CLI, and OpenCode. It automatically transforms simple requests into detailed prompts that AI can understand better.

Features

  • Prompt Optimization: Expand short requests into specific instructions
  • Multi-CLI Support: Works with Claude Code, Gemini CLI, OpenCode
  • Seamless Integration: Naturally integrates into your existing CLI workflow
  • Credit-Based: Pay only for what you use

Installation

pip install promptbridge

Quick Start

# 1. Launch CLI
pb claude

# 2. Login
[PromptBridge]> !login

# 3. Use prompt optimization
[PromptBridge]> !opt create a login page

Before (Original):

create a login page

After (Optimized):

Please implement a login page using React and TypeScript.

Requirements:
- Email and password input fields
- Form validation (email format, password min 8 characters)
- Loading state display
- Error message handling
- Responsive design
...

Supported CLIs

CLI Command
Claude Code pb claude
Gemini CLI pb gemini
OpenCode pb opencode

Commands

Command Description
!login Login to your account
!logout Logout
!status Check credit balance
!opt <prompt> Optimize prompt and send to CLI
!help Show help
!quit Exit

Requirements

  • Python 3.9+
  • At least one supported CLI installed

Sign Up

Visit https://promptbridge.store-art.com to create an account.

License

MIT License

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

promptbridge-1.1.0.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

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

promptbridge-1.1.0-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file promptbridge-1.1.0.tar.gz.

File metadata

  • Download URL: promptbridge-1.1.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for promptbridge-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1e110dcc1d84bdd327ca3f6e1c2f735c1fa1b269c531395df9c76b1864377804
MD5 2caf9db00dab1c3919bcd8048e2708ff
BLAKE2b-256 4b2e8911a60d163f2b4901fb5dcb422cb553e17c23a58c0768cbb7befb126a50

See more details on using hashes here.

File details

Details for the file promptbridge-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: promptbridge-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for promptbridge-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 281bffb6701ebc6f5fefa67d82f102102d030291673d0f9d003c6dd3fa0c080b
MD5 c4ce29ea4d9ec194f96c7751bcae8dd3
BLAKE2b-256 e97c494d3fa55130d8618d8e0ed1ca223a2886d4f1c0ad151f5eeab7cafda029

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