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.0.3.tar.gz (12.5 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.0.3-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for promptbridge-1.0.3.tar.gz
Algorithm Hash digest
SHA256 99f21f0c8d6a2ad8ee1d3b7944c6edba2c4ace4329b80b4039fbdf5fdddbb273
MD5 bca2f32a73fb9c0ed2f02a091d913bbe
BLAKE2b-256 87af7b4df72c10957ebf90b44279f1a2c8a49830483186ba391dbd6b848956c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: promptbridge-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 12.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.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 928b9e055f436957809bbb1dcc7f108dd714570d75c0d82c1df324dc7c53ff7e
MD5 9a415c81ed8a97bc90b86e5d0abfa847
BLAKE2b-256 4b4d4dadcfc979a53dc78c9ce3eb611c0a33bf2d68c1a20e0b392fa87bf9c056

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