站内导读
中文 prompts.chat 是面向 AI 聊天模型的开源 prompt 库,前身为 Awesome ChatGPT Prompts,适用于 ChatGPT、Claude、Gemini、Llama、Mistral 等模型。它解决 prompt 分散、难以检索与复用的问题,提供网页浏览、CSV 与 Hugging Face 数据集等取用方式。项目支持自托管私有库,可配置品牌、主题与 GitHub、Google、Azure AD 认证,并提供 CLI、Claude Code 插件与 MCP Server 集成,另附交互式 prompt 工程教程与面向 8-14 岁儿童的入门内容。适合需要沉淀团队 prompt 资产的开发者、研究者与教育者。
日本語 prompts.chat は ChatGPT、Claude、Gemini、Llama、Mistral などで使えるオープンソースの prompt ライブラリで、旧称は Awesome ChatGPT Prompts です。prompt が散在して再利用しにくい問題に対し、Web での閲覧に加え CSV や Hugging Face データセットとして提供します。自前ホスティングではブランドやテーマ、GitHub・Google・Azure AD 認証を設定でき、CLI、Claude Code プラグイン、MCP Server 経由でも利用可能です。prompt 設計のチュートリアルや子ども向け教材も同梱。チームで prompt を管理したい開発者や研究者、教育関係者に向いています。
한국어 prompts.chat은 ChatGPT, Claude, Gemini, Llama, Mistral 등에서 쓸 수 있는 오픈소스 prompt 라이브러리로, 이전 이름은 Awesome ChatGPT Prompts입니다. 흩어진 prompt를 찾고 재사용하기 어려운 문제를 웹 브라우징, CSV, Hugging Face 데이터셋 제공으로 해결합니다. 자체 호스팅 시 브랜딩과 테마, GitHub·Google·Azure AD 인증을 설정할 수 있고 CLI, Claude Code 플러그인, MCP Server 연동도 지원합니다. prompt 엔지니어링 튜토리얼과 8~14세 아동용 입문 콘텐츠도 포함됩니다. 팀 단위로 prompt 자산을 관리하려는 개발자와 연구자, 교육자에게 적합합니다.
English prompts.chat is an open-source library of prompts for ChatGPT, Claude, Gemini, Llama, Mistral and other chat models, formerly known as Awesome ChatGPT Prompts. It addresses scattered, hard-to-reuse prompts by offering a browsable site plus PROMPTS.md, CSV and a Hugging Face dataset. You can self-host a private library with custom branding, themes and GitHub/Google/Azure AD auth. A 29-chapter interactive prompting guide and a kids' section for ages 8-14 are included. Suited to developers, researchers and teams.
README · 详细文档
来源 · 查看原文
<h1 align="center"> <a href="https://prompts.chat"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://prompts.chat/logo-dark.svg"> <source media="(prefers-color-scheme: light)" srcset="https://prompts.chat/logo.svg"> <img height="60" alt="prompts.chat" src="https://prompts.chat/logo.svg"> </picture> <br> prompts.chat </a> </h1>
<p align="center"> <strong>The world's largest open-source prompt library for AI</strong><br> <sub>Works with ChatGPT, Claude, Gemini, Llama, Mistral, and more</sub> </p> <p align="center"> <sub>formerly known as Awesome ChatGPT Prompts</sub> </p>
<p align="center"> <a href="https://prompts.chat"><img src="https://img.shields.io/badge/Website-prompts.chat-blue?style=flat-square" alt="Website"></a> <a href="https://github.com/sindresorhus/awesome"><img src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg" alt="Awesome"></a> <a href="https://huggingface.co/datasets/fka/prompts.chat"><img src="https://img.shields.io/badge/🤗-Hugging_Face-yellow?style=flat-square" alt="Hugging Face"></a> <a href="https://deepwiki.com/f/prompts.chat"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a> </p>
<p align="center"> <a href="https://prompts.chat/prompts">🌐 Browse Prompts</a> • <a href="https://fka.gumroad.com/l/art-of-chatgpt-prompting">📖 Read the Book</a> • <a href="https://raw.githubusercontent.com/f/prompts.chat/main/PROMPTS.md">📄 View on GitHub</a> • <a href="#-self-hosting">🚀 Self-Host</a> </p>
<p align="center"> <sub> 🏆 Featured in <a href="https://www.forbes.com/sites/tjmccue/2023/01/19/chatgpt-success-completely-depends-on-your-prompt/">Forbes</a> · 🎓 Referenced by <a href="https://www.huit.harvard.edu/news/ai-prompts">Harvard</a>, <a href="https://etc.cuit.columbia.edu/news/columbia-prompt-library-effective-academic-ai-use">Columbia</a> · 📄 <a href="https://scholar.google.com/citations?user=AZ0Dg8YAAAAJ&hl=en">40+ academic citations</a> · ❤️ <a href="https://huggingface.co/datasets/fka/prompts.chat">Most liked dataset</a> on Hugging Face<br> ⭐ 143k+ GitHub stars · 🏅 <a href="https://spotlights-feed.github.com/spotlights/prompts-chat/index/">GitHub Staff Pick</a> · 🚀 First prompt library (Dec 2022) </sub> </p>
<p align="center"> <sub><strong>Loved by AI pioneers:</strong></sub><br> <sub> <a href="https://x.com/gdb/status/1602072566671110144"><strong>Greg Brockman</strong></a> (OpenAI Co-Founder) · <a href="https://x.com/woj_zaremba/status/1601362952841760769"><strong>Wojciech Zaremba</strong></a> (OpenAI Co-Founder) · <a href="https://x.com/clementdelangue/status/1830976369389642059"><strong>Clement Delangue</strong></a> (Hugging Face CEO) · <a href="https://x.com/ashtom/status/1887250944427237816"><strong>Thomas Dohmke</strong></a> (Former GitHub CEO) </sub> </p>
What is this?
A curated collection of prompts for AI chat models. Originally created for ChatGPT, these prompts work great with any modern AI assistant.
| Browse Prompts | Data Formats | |----------------|--------------| | prompts.chat | prompts.csv | | PROMPTS.md | Hugging Face Dataset |
Want to contribute? Add prompts at prompts.chat/prompts/new — they sync here automatically.
📖 The Interactive Book of Prompting
Learn prompt engineering with our free, interactive guide — 29+ chapters covering everything from basics to advanced techniques like chain-of-thought reasoning, few-shot learning, and AI agents.
Start Reading → (Source: https://github.com/f/prompts.chat/tree/main/src/content/book)
🎮 Prompting for Kids
<p> <a href="https://prompts.chat/kids"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://prompts.chat/promi-dark.svg"> <source media="(prefers-color-scheme: light)" srcset="https://prompts.chat/promi.svg"> <img height="60" alt="Promi" src="https://prompts.chat/promi.svg" align="left"> </picture> </a> </p>
An interactive, game-based adventure to teach children (ages 8-14) how to communicate with AI through fun puzzles and stories.
<br clear="left">
🚀 Self-Hosting
Deploy your own private prompt library with custom branding, themes, and authentication.
Quick Start:
npx prompts.chat new my-prompt-library
cd my-prompt-library
Manual Setup:
git clone https://github.com/f/prompts.chat.git
cd prompts.chat
npm install && npm run setup
The setup wizard configures branding, theme, authentication (GitHub/Google/Azure AD), and features.
Recommended database: prompts.chat uses PostgreSQL. For a hosted database, we recommend Neon.
<div> <p>Sponsored by</p> <a href="https://get.neon.com/VqfnMo4"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon-dark.svg"> <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon.svg"> <img width="250px" alt="Neon Logo fallback" src="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon-dark.svg"> </picture> </a> </div>
📖 Full Self-Hosting Guide • 🐳 Docker Guide
🔌 Integrations
CLI
npx prompts.chat
Claude Code Plugin
/plugin marketplace add f/prompts.chat
/plugin install prompts.chat@prompts.chat
📖 Plugin Documentation
MCP Server
Use prompts.chat as an MCP server in your AI tools.
Remote (recommended):
{
"mcpServers": {
"prompts.chat": {
"url": "https://prompts.chat/api/mcp"
}
}
}
Local:
{
"mcpServers": {
"prompts.chat": {
"command": "npx",
"args": ["-y", "prompts.chat", "mcp"]
}
}
}
💖 Sponsors
<p align="center"> <!-- Neon (py-1) --> <a href="https://get.neon.com/VqfnMo4"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon-dark.svg"> <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon.svg"> <img height="30" alt="Neon" src="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon.svg"> </picture> </a> <!-- Clemta --> <a href="https://clemta.com/?utmsource=prompts.chat"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/clemta-dark.webp"> <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/clemta.webp"> <img height="35" alt="Clemta" src="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/clemta.webp"> </picture> </a> <!-- Wiro (py-1) --> <a href="https://wiro.ai/?utmsource=prompts.chat"> <img height="30" alt="Wiro" src="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/wiro.png"> </a> <!-- Cognition --> <a href="https://wind.surf/prompts-chat"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/cognition-dark.svg"> <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/cognition.svg"> <img height="35" alt="Cognition" src="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/cognition.svg"> </picture> </a> <!-- CodeRabbit (py-1) --> <a href="https://coderabbit.link/fatih"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/coderabbit-dark.svg"> <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/coderabbit.svg"> <img height="30" alt="CodeRabbit" src="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/coderabbit.svg"> </picture> </a> <!-- Sentry (py-1) --> <a href="https://sentry.io/?utmsource=prompts.chat"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/sentry-dark.svg"> <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/sentry.svg"> <img height="30" alt="Sentry" src="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/sentry.svg"> </picture> </a> <!-- Each Labs (py-[6px]) --> <a href="https://www.eachlabs.ai/?utmsource=promptschat&utmmedium=referral"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/eachlabs-dark.png"> <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/eachlabs.png"> <img height="28" alt="Each Labs" src="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/eachlabs.png"> </picture> </a> <!-- CommandCode (py-1) --> <a href="https://commandcode.ai/?utmsource=prompts.chat"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/commandcode-dark.svg"> <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/commandcode.svg"> <img height="30" alt="CommandCode" src="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/commandcode.svg"> </picture> </a> </p>
<p align="center"> <sub>Built with <a href="https://wind.surf/prompts-chat">Windsurf</a> and <a href="https://devin.ai">Devin</a></sub><br> <a href="https://github.com/sponsors/f/sponsorships?sponsor=f&tier_id=558224&preview=false"><strong>Become a Sponsor →</strong></a> </p>
👥 Contributors
<a href="https://github.com/f/prompts.chat/graphs/contributors"> <img src="https://contrib.rocks/image?repo=f/prompts.chat" /> </a>
📜 License
This project is dual-licensed:
- Source code and site-authored content is licensed under the MIT License,
including the interactive book content in src/content/book.
- Prompt content and data (prompts.csv, PROMPTS.md, user-submitted prompts) is dedicated to the public domain under CC0 1.0 Universal.
See LICENSE for details.