Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
prompts.chat
AI 应用与智能体f/prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
复现步骤
按顺序执行即可在本地跑起来;具体参数以项目 README 为准。
- 1
克隆仓库到本地
git clone --depth 1 https://github.com/f/prompts.chat.git cd prompts.chat - 2
用 Docker 一键起环境,无需本机装依赖。仓库里没有 compose 文件时,改用 docker build -t app . 再 docker run --rm -it app
docker compose up -d - 3
安装 Node 依赖并启动开发服务
npm install && npm run dev
为什么这个项目容易复现
- README 内容较完整
- 提供 Docker / Compose,开箱即用
- 有明确的依赖清单,环境可还原
- 有测试,质量更有保障
- 两周内仍在活跃更新
项目 README
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 — 25+ 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
An interactive, game-based adventure to teach children (ages 8-14) how to communicate with AI through fun puzzles and stories.
🚀 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.
📖 Full Self-Hosting Guide • 🐳 Docker Guide
🔌 Integrations
CLI
npx prompts.chat
Claude Code Plugin
/plugin marketplace add f/prompts.chat
/plugin install [email protected]
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
👥 Contributors
📜 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.
同方向的其他项目
Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search
Open-source 24/7 Cowork app for OpenClaw, Hermes, Claude Code, Codex, OpenCode and 20+ more CLI Agent | Customize your assistants | Team them up|Star if you like it!