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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file promptbridge-1.1.3.tar.gz.
File metadata
- Download URL: promptbridge-1.1.3.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
819e30b03fbbdc9cd1cb4522eb8ac0ccc2c04fd08061508e8d6c75673bf38eb1
|
|
| MD5 |
0eb20024ae7152f3443314de6a647ba9
|
|
| BLAKE2b-256 |
54f76a8b87ef24919a9742728714bb46cad03e22a013d86c842b50f3c911f30e
|
File details
Details for the file promptbridge-1.1.3-py3-none-any.whl.
File metadata
- Download URL: promptbridge-1.1.3-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5da2a623a8b5ce9875a3a1c6266de9301c0d0ae78e5f9be6cc9cdd715df6adef
|
|
| MD5 |
8128fe5652c411b23b27cd66000c0081
|
|
| BLAKE2b-256 |
4fbf66d912da6c743dc865420f8c3f1519cb2a34128ef60629a538af0c71f511
|