PromptBuddy is a Chrome Extension that helps you write better prompts on ChatGPT.
It automatically analyzes what you type and provides instant feedback and contextual hints, right above ChatGPT’s input box.
- 🔍 Real-time Prompt Analysis — detects potential improvements as you type.
- 💬 Smart Feedback Popup — shows actionable suggestions directly in ChatGPT.
- 💡 Contextual Hint Button (ℹ️) — explains why the feedback appears.
- 🧠 AI-powered — connected to a backend powered by FastAPI and Sentence Transformers.
- 🎨 Non-intrusive UI — dark, minimal, and blends naturally with ChatGPT’s interface.
- As you type a message in ChatGPT, the extension automatically sends your text to the backend API.
- The backend analyzes your prompt using a trained classifier model.
- If potential improvements are found, a popup appears above the input box with feedback.
- Clicking the ℹ️ button shows a short hint explaining the reasoning behind that feedback.
git clone https://github.com/robbype/PromptBuddy-Chrome-Extension.gitBy default, the extension connects to the backend API through a local FastAPI server at:
const res = await fetch("http://localhost:8000/analyze", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ text })
});If your backend is deployed elsewhere (for example, on Render, Vercel, or via Ngrok), you need to replace the endpoint URL with your own API address inside content.js.
Example:
const res = await fetch("https://your-backend-domain.com/analyze", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ text })
});chrome://extensions/The extension will automatically activate when you start typing!