linshenkx / prompt-optimizer
git clone https://github.com/linshenkx/prompt-optimizer.git
v2.11.12 Β· 3d ago
An AI prompt optimizer for writing better prompts and getting better AI results.
+55
stars, 24h Β· #269
+~385
stars, 7 days Β· #327
+~1.6k
stars, 30 days Β· #328
39k
β
total Β· +1% this week
4.4k
forks Β· 9 open issues
Star history (as recorded here)
LanguageTypeScript
Licenseβ
Created2025-02-12 (1y ago)
Last push3d ago
Watchers133
OwnerUser
GitHub topics
ai-promptsai-toolsllmpromptprompt-engineeringprompt-optimizationprompt-optimizerprompt-testingprompt-toolkitprompt-tuning
Links
- GitHub: github.com/linshenkx/prompt-optimizer
- Homepage: https://prompt.always200.com
- Releases Β· Issues Β· Hacker News mentions
README excerpt
# Prompt Optimizer π English | δΈζ Website | Online Optimizer | Prompt Garden | Docs | Quick Start | Chrome Extension | π Support First-time Tutorial | Development Docs | Vercel Deployment Guide | Cloudflare Deployment Guide | MCP Deployment Guide | DeepWiki Docs | ZRead Docs ## π Project Introduction Prompt Optimizer is a powerful AI prompt optimization tool that helps you write better AI prompts and improve the quality of AI outputs. It supports four usage methods: web application, desktop application, Chrome extension, and Docker deployment. Prompts can start from manual writing, templates, local imports, or sources such as Prompt Garden. Prompt Optimizer is where those prompts are optimized, tested, evaluated, and saved as reusable prompt assets. ### π₯ Feature Demonstration 1. Hard-Nosed Reviewer: Turn Agreement into Useful Critique Starting from a minimal English role prompt, optimization pushes a small model away from generic pushback and toward a clearer, more structured review that surfaces weak assumptions, evidence gaps, and concrete revision advice. 2. Marketplace Bargaining Reply: Let Variables Change the Strategy With a single reusable prompt template, you can swap in item details, price anchors, buyer offers, tone, and negotiation goals for different marketplace conversations. After optimization, the same small model does a better job turning those variables into a clearer, more transaction-ready reply instead of a generic helper-style response. 3. Text-to-Image: Optimize a One-Line Idea into a More Directable Key Visual Prompt This is not just prompt expansion. Starting from a vague one-line idea, Prompt Optimizer adds clearer subject cues, spatial relationships, and mood anchors. The left side is simply βa floating library in the night sky,β while the optimized version gives the model a more directed fantasy composition that feels closer to a reusable key visual than a lucky generic image. ## β¨ Core Features - π― **Intelligent Optimization**: One-click prompt optimization with multi-round iterative improvements to enhance AI response accuracy - π **Dual Mode Optimization**: Support for both system prompt optimization and user prompt optimization to meet different usage scenarios - π **Analysis and Compare Evaluation**: Supports analysis, single-result evaluation, and multi-result compare evaluation to help determine whether a prompt has truly improved - π€ **Multi-model Integration**: Support for mainstream AI models including OpenAI, Gemini, DeepSeek, Grok, Zhipu AI, SiliconFlow, MiniMax, etc. - πΌοΈ **Image Generation**: Support for Text-to-Image (T2I), Image-to-Image (I2I), and Multi-Image generation with models like Gemini, Seedream, Grok - π± **Prompt Sources**: Start from manual writing, templates, local imports, or Prompt Garden import codes - β **Smart Favorites**: Resource-aware prompt assets with version history, reproducible examples, media support, source binding, and workspace application - π **Advanced Testing