LibreAI / Productivity / prompt-optimizer
// productivity · linshenkx/prompt-optimizer

prompt-optimizer

Optimize, test and compare AI prompts — web app, desktop app, Chrome extension and Docker

★ 36.9k stars⑂ 4.2k forksAGPL-3.0updated 2026-09
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

prompt-optimizer is an open-source productivity project by linshenkx (linshenkx/prompt-optimizer on GitHub). It has 36,898 GitHub stars and 4,233 forks, is released under the AGPL-3.0 license, and was last updated on GitHub on 24 September 2026.

GitHub stars
36,898
Forks
4,233
License
AGPL-3.0
Last updated on GitHub
24 September 2026
Category
Productivity
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Clarify your goal

    Decide what you want to achieve with prompt-optimizer and check the README on GitHub for requirements before installing.

  2. Get the code

    Clone the repository from GitHub (or take the packaged install route in step 3 if the README offers one).

  3. Install and configure

    Follow the project's documented install commands — the Run section below lists the exact ones — and add any required API keys or models.

  4. Run your first task

    Work through the README's quickstart example end to end, then adapt it to your own project or data.

// features

Why people love it

Prompt optimization

Rewrites your draft prompt into a clearer, more effective version using your chosen LLM.

Testing and comparison

Run original vs. optimized prompts and compare model outputs side by side, including an advanced testing mode.

Image generation mode

Includes a dedicated mode for optimizing prompts for image-generation models.

Prompt sources and favorites

Save, organize and reuse your best prompts with smart favorites.

Many ways to run it

Use the hosted web version, self-host with Docker or Docker Compose, install the desktop app, or add the Chrome extension.

Password protection for self-hosting

The Docker deployment supports API-key configuration and basic-auth password protection via environment variables.

Advertisement
// run it

Run it yourself

  1. Clone the repository

    Get the source if you plan to self-host with Docker Compose or develop it.

    git clone https://github.com/linshenkx/prompt-optimizer.git
    cd prompt-optimizer
  2. Run with Docker

    Start the published image; the web UI serves on port 8081.

    docker run -d -p 8081:80 --restart unless-stopped --name prompt-optimizer linshen/prompt-optimizer
  3. Add your model key and optimize

    Open http://localhost:8081, add your LLM API key in settings, paste a draft prompt and run an optimization.

    # configure your model/API key in the app settings at http://localhost:8081
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains prompt-optimizer?

prompt-optimizer is maintained by the linshenkx organization/account on GitHub, together with open-source contributors, in the public repository linshenkx/prompt-optimizer.

Is prompt-optimizer free to use?

Yes — the code is open source under the AGPL-3.0 license. You can use, modify and redistribute it under that license's terms.

Does prompt-optimizer need a paid API key?

The tool itself is free and open source (AGPL-3.0), but optimization calls use an LLM — you supply your own provider API key, or use a compatible local endpoint if configured.

How does prompt-optimizer compare to manual prompt tweaking?

Instead of trial-and-error editing in a chat window, Prompt Optimizer gives you structured optimization, side-by-side testing and a saved prompt library in one tool.

How do I get started with prompt-optimizer?

Clone the repository from GitHub, follow the install commands in the Run section (taken from the project's README), and complete the documented quickstart example before adapting it to your own use case.

// keep exploring

Similar tools

Productivity

mailpilot

Ai email writer chrome extension living inside gmail.

★ 43 starsMIT
View guide →
Productivity

ChatGPT-Writer

Free Chrome extension that drafts emails from a few keywords.

★ 131 starsCustom
View guide →
Productivity

Everywhere

An on-screen aware AI assistant for your desktop that sees your current app and acts across apps.

★ 6.3k starsBUSL-1.1
View guide →
Productivity

edgeever

An open, AI-native Evernote alternative: three-pane notes with native MCP, free on Cloudflare or Docker.

★ 2.1k starsAGPL-3.0
View guide →
Productivity

dsh-personal-workbench

Personal workbench for DeepSeek Harness Web: calendar + task list + AI assistant.

★ 34 starsMIT
View guide →
Productivity

natively-cluely-ai-assistant

Natively — Free open-source AI meeting assistant, interview copilot, and note taker. The best alternative to Cluely, Otter, Granola, Final Round AI, Fireflie…

★ 2.7k starsUnknown
View guide →
// alternatives

Alternatives in Productivity

The most-starred other Productivity projects in the LibreAI catalogue — the realistic shortlist if prompt-optimizer is not the right fit.

Get prompt-optimizer

Free and open — grab the source, star the repo, and start creating.