A SPOUT addon module that enhances and improves text prompts to make them more comprehensive, precise, and effective.
- Comprehensive Prompt Analysis: Examines core intent and identifies gaps in clarity
- Strategic Enhancement: Adds context, specifications, and requirements
- Quality Assurance: Ensures clarity, precision, and completeness
- Multiple Spoutlet Support: Includes default and experimental enhancement strategies
- GUI and CLI Integration: Supports both graphical and command-line interfaces
- SPOUT framework installed
- Python 3.x
- AutoHotkey v2 (for GUI features on Windows)
- Create the addon directory:
cd spout_workspace/spout/addons
mkdir prompt_booster2 Clone the addon repository:
cd prompt_booster
git clone https://github.com/skjp/prompt_booster.git .- Register the addon:
- Run
spout/shared/IncludesGenerator.ahkto update SPOUT's addon registry - Or restart SPOUT using the QuickStart script
# Basic prompt enhancement
spout prompt_booster "Write a story about a dragon"
# Process clipboard content
spout prompt_boosterThe addon integrates with SPOUT's base GUI system, providing:
- Text input/output fields
- Progress tracking
- Spoutlet selection dropdown
- Copy/paste functionality
- Sound effect feedback
Access via:
- Hotkey example console command
Capslock + F1 - SPOUT context menu
- Direct script execution
The addon includes one enhancement strategy prompt template:
- Default: Comprehensive prompt improvement with detailed requirements
Customize templates in prompt_booster_plugins/[spoutlet]/prompt.txt
Adjust in config.json:
- Token limits
- Temperature
- Top-p sampling
- Presence/frequency penalties
- Fork the repository
- Create your feature branch
- Add your custom spoutlet template in
prompt_booster_plugins/ - Update tests in
tests/test_cases.json - Submit a Pull Request
The addon uses SPOUT's BaseGui.ahk shared library for:
- Window management
- Progress tracking
- Clipboard handling
- Theme support
- Event handling
cli_info.py: Defines CLI interface and help documentationscript.ahk: Implements GUI integration and hotkey supportprompt.txt: Contains enhancement strategy templatesconfig.json: Spoutlet-specific settings
Prompt Booster began as a tool to improve AI prompt engineering workflows, helping users create more effective and comprehensive prompts for various AI applications. It also serves as the first example addon for the SPOUT framework.
For more detailed information: