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

Uploaded Python 3

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

Hashes for promptbridge-1.1.3.tar.gz
Algorithm Hash digest
SHA256 819e30b03fbbdc9cd1cb4522eb8ac0ccc2c04fd08061508e8d6c75673bf38eb1
MD5 0eb20024ae7152f3443314de6a647ba9
BLAKE2b-256 54f76a8b87ef24919a9742728714bb46cad03e22a013d86c842b50f3c911f30e

See more details on using hashes here.

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

Hashes for promptbridge-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5da2a623a8b5ce9875a3a1c6266de9301c0d0ae78e5f9be6cc9cdd715df6adef
MD5 8128fe5652c411b23b27cd66000c0081
BLAKE2b-256 4fbf66d912da6c743dc865420f8c3f1519cb2a34128ef60629a538af0c71f511

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