Prompts.chat — 155K-Star ChatGPT Prompt Library
The largest open-source ChatGPT prompt library with 155K+ GitHub stars. Community-curated prompts for every role — developer, writer, translator, analyst, and more. Self-hostable.
What it is
Prompts.chat is the largest open-source prompt library for ChatGPT and other large language models. It contains community-curated prompts organized by role: developer, writer, translator, analyst, coach, and dozens more. Each prompt is a system-level instruction that transforms the LLM into a specialized assistant for a specific task.
This collection targets anyone using LLMs who wants proven starting points rather than writing prompts from scratch. Both beginners and experienced prompt engineers use it as a reference.
How it saves time or tokens
Writing effective system prompts from scratch requires trial and error. Prompts.chat provides battle-tested prompts that work immediately. You copy a prompt, customize it for your use case, and start working. The estimated token cost per prompt is minimal since most prompts are short system messages. The time saved comes from skipping the iteration loop of prompt refinement.
How to use
- Browse the prompt library at prompts.chat or on GitHub.
- Find a prompt matching your use case.
- Copy the prompt and paste it as a system message in your LLM interface.
- Customize the prompt for your specific context.
# Example: Using the Linux Terminal prompt
System prompt:
'I want you to act as a linux terminal. I will type commands
and you will reply with what the terminal should show.
I want you to only reply with the terminal output inside
one unique code block, and nothing else. Do not write
explanations. Do not type commands unless I instruct you
to do so.'
User: pwd
Assistant:
/home/user
Example
A developer-focused prompt from the collection:
System: 'I want you to act as a Senior Frontend Developer.
I will describe a project feature and you will implement
it with: working HTML, CSS, and JavaScript code. Do not
explain the code. Just provide the implementation in a
single code block. My first request is: create a
responsive navigation bar with a hamburger menu for mobile.'
These prompts work across ChatGPT, Claude, Gemini, and other LLMs with minor adjustments.
Related on TokRepo
- Prompt library — More curated prompts and templates
- AI coding tools — Developer-focused AI tools
Common pitfalls
- Prompts written for ChatGPT may need adjustment for other models. Claude and Gemini respond differently to role-play instructions.
- Some prompts are outdated as LLM capabilities evolve. What required a detailed prompt in 2023 may work with a simpler instruction today.
- Role-play prompts can produce inconsistent results. The LLM may break character on complex follow-up questions.
- Long system prompts consume context window tokens. Trim prompts to essential instructions for cost efficiency.
- The library prioritizes breadth over depth. For specialized domains, custom-crafted prompts outperform generic ones.
Frequently Asked Questions
The library contains hundreds of community-curated prompts covering roles from software developer and data analyst to language tutor and creative writer. The collection grows continuously as contributors add new prompts.
Most prompts work across ChatGPT, Claude, Gemini, and other LLMs. Some role-play-style prompts may need adjustment since different models handle persona instructions differently. Claude generally responds well to clear, direct instructions.
Yes. The project is open-source on GitHub. You can submit pull requests to add new prompts. The community reviews submissions for quality and usefulness before merging.
They serve as starting points. For production applications, customize and test prompts against your specific data and requirements. The library prompts are designed for interactive use rather than API-driven production systems.
Yes. The prompts.chat website is open-source and can be self-hosted. Clone the repository, build the static site, and deploy to your own server or CDN.
Citations (3)
- awesome-chatgpt-prompts GitHub— Prompts.chat is the largest open-source ChatGPT prompt library
- OpenAI Prompt Engineering Guide— Effective system prompts for large language models
- Anthropic Prompt Engineering Docs— Claude prompt engineering best practices
Related on TokRepo
Source & Thanks
Created by Fatih Kadir Akin. Licensed under CC0. f/prompts.chat — 155,000+ GitHub stars