Prompt Optimizer refines your instructions to ensure AI models grasp your intent precisely. It is available as a web app, desktop application, Chrome extension, or Docker container—choose the setup that best fits your workflow.
The tool transforms vague prompts into clear, structured directions. Whether you are building a role-play persona, extracting entities for a knowledge graph, or composing poetry, it provides the necessary clarity. For role-play, a tightened prompt helps smaller models maintain character consistency. For knowledge graphs, it ensures smaller models produce clean, predictable JSON. For creative writing, it converts a loose idea into a concrete creative brief.
Core Features
How to Use It
Hosted Web App (Recommended)
Visit prompt.always200.com. The site runs entirely in your browser. All prompts and settings stay on your local machine and are never uploaded to a remote server.
Deploying on Vercel
ACCESS_PASSWORD for security and VITE_OPENAI_API_KEY for your model keys.The fork method allows you to sync upstream changes and keep your deployment up to date.
Desktop Application
Download the installer or portable ZIP from the GitHub Releases page. The installer version supports automatic updates, while the portable version does not. The desktop app bypasses CORS restrictions entirely, allowing you to call any API endpoint directly without browser-imposed limitations.
Chrome Extension
Install the optimizer from the Chrome Web Store. Once installed, click the icon to launch the tool. Note that the Web Store version may occasionally lag behind the latest GitHub release.
Docker
For a basic setup:
docker run -d -p 80:80 --restart unless-stopped --name prompt-optimizer linshen/prompt-optimizer
To include API keys and a password at launch:
docker run -d -p 80:80 \
-e VITE_OPENAI_API_KEY=your_key \
-e ACCESS_USERNAME=your_username \
-e ACCESS_PASSWORD=your_password \
--restart unless-stopped \
--name prompt-optimizer \
linshen/prompt-optimizer
Users in China can use the Alibaba Cloud registry instead: registry.cn-guangzhou.aliyuncs.com/prompt-optimizer/prompt-optimizer.
Docker Compose
git clone https://github.com/linshenkx/prompt-optimizer.git
cd prompt-optimizer
# Create .env file (optional)
cat > .env << EOF
VITE_OPENAI_API_KEY=your_openai_api_key
VITE_GEMINI_API_KEY=your_gemini_api_key
VITE_DEEPSEEK_API_KEY=your_deepseek_api_key
VITE_ZHIPU_API_KEY=your_zhipu_api_key
VITE_SILICONFLOW_API_KEY=your_siliconflow_api_key
ACCESS_USERNAME=your_username
ACCESS_PASSWORD=your_password
EOF
docker compose up -d
docker compose logs -f
Configuring API Keys
llmParams field. For example: {"temperature": 0.7, "max_tokens": 4096, "timeout": 60000}.-e flags during Docker deployment as shown in the examples above.Local Development
git clone https://github.com/linshenkx/prompt-optimizer.git
cd prompt-optimizer
pnpm install
# Run the full environment (builds core/ui and serves the web app)
pnpm dev
# Serve the web app only
pnpm dev:web
# Perform a clean reset and restart
pnpm dev:fresh
Troubleshooting
OLLAMA_ORIGINS=* to allow requests from any origin. If issues persist, set OLLAMA_HOST=0.0.0.0:11434 to ensure it listens on all interfaces.http:// addresses (common for local models). To resolve this, use the desktop app, Chrome extension, or Docker version, as these environments do not enforce the same mixed-content restrictions.
Mantis: A Smarter Vision-Language-Action Model for Robots
MuMuAINovel: Write Novels With AI, Minus the Clutter
Open Computer Use: AI Agents with Hands-On Desktop Control
Semlib: Build LLM Pipelines With Map, Filter, and Sort in Python
Tongyi DeepResearch: 30B Agent Model Beats GPT and Claude on Search Benchmarks
Tempurai Coder Review: An AI Terminal Assistant That Plans Before It Acts
LiveMCPBench: Benchmark AI Agents on Real-World MCP Tool Tasks
Besnow Cloud VPN: 60% Off Coupon + 30-Day Free Trial
AIPy: Execute Python via Natural Language Directly in Your Terminal
Infinite Radio: The AI DJ That Adapts Music Genres to Your Screen
Transformers Library: Installation, Pipeline API, and Model Examples
Chinese Kinship Calculator: Instantly Decode Family Relationship Terms