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.2.tar.gz (20.0 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.2-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: promptbridge-1.1.2.tar.gz
  • Upload date:
  • Size: 20.0 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.2.tar.gz
Algorithm Hash digest
SHA256 fdd59f7cfab0df98faef60c433f6eeb69cd23b49a1141b1c767f76e103cfdbf9
MD5 f56878b5fb129605127051b7d95e40f7
BLAKE2b-256 87ce1e52f9ecce58500f6ec043f686b96c60a4487e4c7a71e878486723ee05a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: promptbridge-1.1.2-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

Hashes for promptbridge-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 35183ce5682ce1f76db8528874aa96a2719a5f4ace0145dc88ed316ce7d8dbb4
MD5 09de948e41c0d0d28077f4aea649ecf9
BLAKE2b-256 46d3b62af91e7c842b6d7be175a6a57d04111850000b7807f2b549a0fdc9d516

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