PromptHub
一款开源、纯本地 AI Prompt 管理工具,帮助你高效管理、版本控制和复用 Prompt | An open-source, local-first AI prompt management tool that helps you efficiently manage, version-control, and reuse your prompts
Stars: 543
PromptHub is a versatile tool for generating prompts and ideas to spark creativity and overcome writer's block. It provides a wide range of customizable prompts and exercises to inspire writers, artists, educators, and anyone looking to enhance their creative thinking. With PromptHub, users can access a diverse collection of prompts across various categories such as writing, drawing, brainstorming, and more. The tool offers a user-friendly interface and allows users to save and share their favorite prompts for future reference. Whether you're a professional writer seeking inspiration or a student looking to boost your creativity, PromptHub is the perfect companion to ignite your imagination and enhance your creative process.
README:
🚀 开源免费的 AI Prompt 与 Skill 管理工具 | 数据本地存储 | 隐私优先
Prompt 管理 · 技能商店 · 多平台分发 · 版本控制 · 变量模板 · 多模型测试 — 一站式 AI 工作台
💡 为什么选择 PromptHub?
PromptHub 不仅是 Prompt 管理工具,更是 AI 技能分发中心。管理你的 Prompt 和 SKILL.md 技能,一键安装到 Claude Code、Cursor、Windsurf、Codex 等 12+ 主流 AI 编程工具。支持版本控制、变量模板、多模型测试,所有数据都存在本地,隐私安全有保障。
|
|
|
|
|
|
从 Releases 下载最新版本 v0.4.0:
| 平台 | 下载 |
|---|---|
| Windows |
|
| macOS |
|
| Linux |
|
由于应用未经过 Apple 公证签名,首次打开时可能会提示 "PromptHub 已损坏,无法打开" 或 "无法验证开发者"。
解决方法(推荐):打开终端,执行以下命令绕过公证检查:
sudo xattr -rd com.apple.quarantine /Applications/PromptHub.app💡 提示:如果应用安装在其他位置,请将路径替换为实际安装路径。
或者:打开「系统设置」→「隐私与安全性」→ 向下滚动找到安全性部分 → 点击「仍要打开」。
# 克隆仓库
git clone https://github.com/legeling/PromptHub.git
cd PromptHub
# 安装依赖
pnpm install
# 开发模式
pnpm dev
# 构建应用
pnpm build点击「新建」按钮,填写:
- 标题 - Prompt 名称
- 描述 - 简短说明用途
- System Prompt - 设置 AI 角色(可选)
- User Prompt - 实际的提示词内容
- 标签 - 便于分类和搜索
在 Prompt 中使用 {{变量名}} 语法定义变量:
请将以下 {{source_lang}} 文本翻译成 {{target_lang}}:
{{text}}
选中 Prompt,点击「复制」,Prompt 内容将复制到剪贴板。
编辑 Prompt 时会自动保存历史版本,点击「历史版本」可以查看和恢复。
- 从商店添加:进入「技能商店」浏览精选技能,点击「添加到库」
- 安装到平台:添加后自动弹出平台选择弹窗,勾选目标 IDE 一键安装
- 扫描本地:自动发现本地已有的 SKILL.md,预览后选择性导入
- 管理与编辑:在库中编辑技能内容,支持 AI 生成和润色
💡 支持的平台:Claude Code、GitHub Copilot、Cursor、Windsurf、Kiro、Gemini CLI、Trae、OpenCode、Codex CLI、Roo Code、Amp、OpenClaw
| 类别 | 技术 |
|---|---|
| 框架 | Electron 33 |
| 前端 | React 18 + TypeScript 5 |
| 样式 | TailwindCSS |
| 状态管理 | Zustand |
| 本地存储 | SQLite |
| 构建工具 | Vite + electron-builder |
PromptHub/
├── src/
│ ├── main/ # Electron 主进程
│ │ ├── database/ # SQLite 数据库操作
│ │ ├── ipc/ # IPC 通信处理
│ │ ├── services/ # 核心服务 (Skill 安装器等)
│ │ ├── index.ts # 主进程入口
│ │ ├── menu.ts # 应用菜单
│ │ ├── shortcuts.ts # 快捷键
│ │ └── updater.ts # 自动更新
│ ├── preload/ # 预加载脚本
│ ├── renderer/ # React 渲染进程
│ │ ├── components/ # UI 组件
│ │ │ ├── folder/ # 文件夹组件
│ │ │ ├── layout/ # 布局组件
│ │ │ ├── prompt/ # Prompt 组件
│ │ │ ├── skill/ # Skill 组件
│ │ │ ├── settings/ # 设置页面
│ │ │ └── ui/ # 通用 UI 组件
│ │ ├── i18n/ # 国际化 (7 种语言)
│ │ ├── services/ # 服务层 (AI, WebDAV)
│ │ ├── stores/ # Zustand 状态管理
│ │ └── styles/ # 全局样式
│ └── shared/ # 共享类型和常量
│ ├── constants/ # 常量定义 (平台配置、技能注册表)
│ └── types/ # TypeScript 类型
├── resources/ # 应用图标等静态资源
├── .github/workflows/ # CI/CD 配置
└── package.json
- [x] Skill 技能商店:内置 20+ 精选 AI 代理技能,来自 Anthropic、OpenAI 等官方源
- [x] 多平台安装:支持一键安装 SKILL.md 到 Claude Code、Cursor、Windsurf、Codex 等 12+ 平台
- [x] 本地扫描预览:自动发现本地已有 SKILL.md,支持预览选择后批量导入
- [x] 软链接/复制模式:支持 Symlink 同步编辑或独立复制到各平台
- [x] AI 技能翻译:支持沉浸式翻译和全文翻译,方便阅读英文技能
- [x] AI 技能生成:支持 AI 生成技能内容和智能润色
- [x] 技能标签筛选:侧边栏标签快速过滤技能
- [x] 清晰的工作流:「添加到库」→「安装到平台」,添加后自动弹出平台选择
- [x] 多层级文件夹:支持无限层级文件夹嵌套与拖拽管理
- [x] 版本控制系统:像管理代码一样管理 Prompt,支持历史对比与一键回滚
- [x] 变量模板系统:支持
{{variable}}语法,自动生成填充表单,支持复制前预览 - [x] 多模型实验室:内置国内外主流服务商,支持多模型并行对比测试与响应时间分析
- [x] 跨设备同步:支持 WebDAV 增量同步与全量备份,数据高度可控
- [x] 极致阅读体验:支持 Markdown 全场景渲染、代码高亮、双语对照模式
- [x] 多维高效管理:文件夹、标签、收藏、使用次数统计、全文评分搜索
- [x] 多视图模式:提供卡片、精简列表、画廊三种视图,适配不同使用场景
- [x] 系统深度集成:全局快捷键唤起、最小化到系统托盘、暗黑模式支持
- [x] 更新镜像加速:内置多个 GitHub 加速镜像,解决国内用户下载更新缓慢的问题
- [x] 安全与隐私:主密码保护、私密文件夹加密存储,所有数据坚持本地优先
- [ ] 浏览器扩展:在网页端(如 ChatGPT/Claude)直接调取 PromptHub 库,实现无缝工作
- [ ] 移动端应用:支持手机端查看、搜索与简单的编辑同步
- [ ] 插件系统:支持用户自定义扩展 AI 供应商或本地模型(如 Ollama)集成
- [ ] 批量导出与转换:支持将提示词导出为常用 AI 工具支持的特定格式
- [ ] 增强型变量:支持选择框、动态日期等更复杂的变量类型
- [ ] 技能市场:支持用户上传和分享自己创建的技能
查看完整的更新日志:CHANGELOG.md
重大新功能
- 🧩 Skill 技能商店:内置 20+ 精选 AI 代理技能(PDF、Excel、Playwright、Figma、部署等),来自 Anthropic 和 OpenAI 官方源
- 🚀 多平台一键安装:支持将 SKILL.md 安装到 Claude Code、GitHub Copilot、Cursor、Windsurf、Kiro、Gemini CLI、Trae、OpenCode、Codex CLI、Roo Code、Amp、OpenClaw 等 12 个平台
- 🔍 本地扫描预览:自动发现本地已有的 SKILL.md 文件,支持预览选择后批量导入
- 🔗 Symlink/复制模式:支持软链接(编辑自动同步)或独立复制到各平台
- 🌐 AI 技能翻译:支持沉浸式翻译(原文/译文交替)和全文翻译,可在设置中切换
- ✨ AI 技能生成:输入描述即可 AI 生成完整技能内容,支持智能润色
- 🏷️ 技能标签筛选:侧边栏显示技能标签,点击快速过滤
- � 清晰工作流:「添加到库」→ 自动弹出「安装到平台」选择弹窗,流程直觉清晰
欢迎贡献代码!请遵循以下步骤:
- Fork 本仓库
- 创建特性分支 (
git checkout -b feature/amazing-feature) - 提交更改 (
git commit -m 'Add amazing feature') - 推送到分支 (
git push origin feature/amazing-feature) - 创建 Pull Request
本项目采用 AGPL-3.0 License 开源协议。
- 问题反馈: GitHub Issues
- 功能建议: GitHub Discussions
- Electron - 跨平台桌面应用框架
- React - UI 框架
- TailwindCSS - CSS 框架
- Zustand - 状态管理
- Lucide - 图标库
感谢所有为 PromptHub 做出贡献的开发者!
特别感谢:
如果 PromptHub 对你的工作有帮助,欢迎请作者喝杯咖啡!
If PromptHub is helpful to your work, feel free to buy the author a coffee!
感谢以下朋友对 PromptHub 的捐赠支持:
| 日期 | 支持者 | 金额 | 留言 |
|---|---|---|---|
| 2026-01-08 | *🌊 | ¥100.00 | 支持优秀的软件! |
| 2025-12-29 | *昊 | ¥20.00 | 感谢您的软件!能力有限,小小支持 |
联系邮箱 / Contact: [email protected]
感谢每一位支持者!你们的支持是我持续开发的动力!
Thank you to every supporter! Your support keeps me motivated to continue development!
For Tasks:
Click tags to check more tools for each tasksFor Jobs:
Alternative AI tools for PromptHub
Similar Open Source Tools
PromptHub
PromptHub is a versatile tool for generating prompts and ideas to spark creativity and overcome writer's block. It provides a wide range of customizable prompts and exercises to inspire writers, artists, educators, and anyone looking to enhance their creative thinking. With PromptHub, users can access a diverse collection of prompts across various categories such as writing, drawing, brainstorming, and more. The tool offers a user-friendly interface and allows users to save and share their favorite prompts for future reference. Whether you're a professional writer seeking inspiration or a student looking to boost your creativity, PromptHub is the perfect companion to ignite your imagination and enhance your creative process.
dream-prompter
Dream Prompter is a tool designed to help users generate creative writing prompts for their stories, essays, or any other creative projects. It uses a database of various elements such as characters, settings, and plot twists to randomly generate unique prompts that can inspire writers and spark their creativity. With Dream Prompter, users can easily overcome writer's block and find new ideas to develop their writing skills and produce engaging content.
Companion
Companion is a software tool designed to provide support and enhance development. It offers various features and functionalities to assist users in their projects and tasks. The tool aims to be user-friendly and efficient, helping individuals and teams to streamline their workflow and improve productivity.
InvokeAI
InvokeAI is a leading creative engine built to empower professionals and enthusiasts alike. Generate and create stunning visual media using the latest AI-driven technologies. InvokeAI offers an industry leading Web Interface, interactive Command Line Interface, and also serves as the foundation for multiple commercial products.
duckduckgo-ai-chat
This repository contains a chatbot tool powered by AI technology. The chatbot is designed to interact with users in a conversational manner, providing information and assistance on various topics. Users can engage with the chatbot to ask questions, seek recommendations, or simply have a casual conversation. The AI technology behind the chatbot enables it to understand natural language inputs and provide relevant responses, making the interaction more intuitive and engaging. The tool is versatile and can be customized for different use cases, such as customer support, information retrieval, or entertainment purposes. Overall, the chatbot offers a user-friendly and interactive experience, leveraging AI to enhance communication and engagement.
AlphaAvatar
AlphaAvatar is a powerful tool for creating customizable avatars with AI-generated faces. It provides a user-friendly interface to design unique characters for various purposes such as gaming, virtual reality, social media, and more. With advanced AI algorithms, users can easily generate realistic and diverse avatars to enhance their projects and engage with their audience.
generative-ai-design-patterns
A catalog of design patterns for building generative AI applications, capturing current best practices in the field. The repository serves as a living catalog on GitHub to help practitioners navigate through the noise and identify areas for improvement. It is too early for a book due to the evolving nature of generative AI in production and the lack of concrete evidence to support certain claims.
intelligent-app-workshop
Welcome to the envisioning workshop designed to help you build your own custom Copilot using Microsoft's Copilot stack. This workshop aims to rethink user experience, architecture, and app development by leveraging reasoning engines and semantic memory systems. You will utilize Azure AI Foundry, Prompt Flow, AI Search, and Semantic Kernel. Work with Miyagi codebase, explore advanced capabilities like AutoGen and GraphRag. This workshop guides you through the entire lifecycle of app development, including identifying user needs, developing a production-grade app, and deploying on Azure with advanced capabilities. By the end, you will have a deeper understanding of leveraging Microsoft's tools to create intelligent applications.
gpt_academic
GPT Academic is a powerful tool that leverages the capabilities of large language models (LLMs) to enhance academic research and writing. It provides a user-friendly interface that allows researchers, students, and professionals to interact with LLMs and utilize their abilities for various academic tasks. With GPT Academic, users can access a wide range of features and functionalities, including: * **Summarization and Paraphrasing:** GPT Academic can summarize complex texts, articles, and research papers into concise and informative summaries. It can also paraphrase text to improve clarity and readability. * **Question Answering:** Users can ask GPT Academic questions related to their research or studies, and the tool will provide comprehensive and well-informed answers based on its knowledge and understanding of the relevant literature. * **Code Generation and Explanation:** GPT Academic can generate code snippets and provide explanations for complex coding concepts. It can also help debug code and suggest improvements. * **Translation:** GPT Academic supports translation of text between multiple languages, making it a valuable tool for researchers working with international collaborations or accessing resources in different languages. * **Citation and Reference Management:** GPT Academic can help users manage their citations and references by automatically generating citations in various formats and providing suggestions for relevant references based on the user's research topic. * **Collaboration and Note-Taking:** GPT Academic allows users to collaborate on projects and take notes within the tool. They can share their work with others and access a shared workspace for real-time collaboration. * **Customizable Interface:** GPT Academic offers a customizable interface that allows users to tailor the tool to their specific needs and preferences. They can choose from a variety of themes, adjust the layout, and add or remove features to create a personalized workspace. Overall, GPT Academic is a versatile and powerful tool that can significantly enhance the productivity and efficiency of academic research and writing. It empowers users to leverage the capabilities of LLMs and unlock new possibilities for academic exploration and knowledge creation.
pocketpaw
PocketPaw is a lightweight and user-friendly tool designed for managing and organizing your digital assets. It provides a simple interface for users to easily categorize, tag, and search for files across different platforms. With PocketPaw, you can efficiently organize your photos, documents, and other files in a centralized location, making it easier to access and share them. Whether you are a student looking to organize your study materials, a professional managing project files, or a casual user wanting to declutter your digital space, PocketPaw is the perfect solution for all your file management needs.
husky
Husky is a research-focused programming language designed for next-generation computing. It aims to provide a powerful and ergonomic development experience for various tasks, including system level programming, web/native frontend development, parser/compiler tasks, game development, formal verification, machine learning, and more. With a strong type system and support for human-in-the-loop programming, Husky enables users to tackle complex tasks such as explainable image classification, natural language processing, and reinforcement learning. The language prioritizes debugging, visualization, and human-computer interaction, offering agile compilation and evaluation, multiparadigm support, and a commitment to a good ecosystem.
OpenAIWorkshop
Azure OpenAI Service provides REST API access to OpenAI's powerful language models including GPT-3, Codex and Embeddings. Users can easily adapt models for content generation, summarization, semantic search, and natural language to code translation. The workshop covers basics, prompt engineering, common NLP tasks, generative tasks, conversational dialog, and learning methods. It guides users to build applications with PowerApp, query SQL data, create data pipelines, and work with proprietary datasets. Target audience includes Power Users, Software Engineers, Data Scientists, and AI architects and Managers.
RAG-To-Know
RAG-To-Know is a versatile tool for knowledge extraction and summarization. It leverages the RAG (Retrieval-Augmented Generation) framework to provide a seamless way to retrieve and summarize information from various sources. With RAG-To-Know, users can easily extract key insights and generate concise summaries from large volumes of text data. The tool is designed to streamline the process of information retrieval and summarization, making it ideal for researchers, students, journalists, and anyone looking to quickly grasp the essence of complex information.
Conversational-Azure-OpenAI-Accelerator
The Conversational Azure OpenAI Accelerator is a tool designed to provide rapid, no-cost custom demos tailored to customer use cases, from internal HR/IT to external contact centers. It focuses on top use cases of GenAI conversation and summarization, plus live backend data integration. The tool automates conversations across voice and text channels, providing a valuable way to save money and improve customer and employee experience. By combining Azure OpenAI + Cognitive Search, users can efficiently deploy a ChatGPT experience using web pages, knowledge base articles, and data sources. The tool enables simultaneous deployment of conversational content to chatbots, IVR, voice assistants, and more in one click, eliminating the need for in-depth IT involvement. It leverages Microsoft's advanced AI technologies, resulting in a conversational experience that can converse in human-like dialogue, respond intelligently, and capture content for omni-channel unified analytics.
MaiBot
MaiBot is an intelligent QQ group chat bot based on a large language model. It is developed using the nonebot2 framework, with LLM providing conversation abilities, MongoDB for data persistence support, and NapCat as the QQ protocol endpoint support. The project is in active development stage, with features like chat functionality, emoji functionality, schedule management, memory function, knowledge base function, and relationship function planned for future updates. The project aims to create a 'life form' active in QQ group chats, focusing on companionship and creating a more human-like presence rather than a perfect assistant. The application generates content from AI models, so users are advised to discern carefully and not use it for illegal purposes.
catwalk
Catwalk is a lightweight and user-friendly tool for visualizing and analyzing data. It provides a simple interface for users to explore and understand their datasets through interactive charts and graphs. With Catwalk, users can easily upload their data, customize visualizations, and gain insights from their data without the need for complex coding or technical skills.
For similar tasks
PromptHub
PromptHub is a versatile tool for generating prompts and ideas to spark creativity and overcome writer's block. It provides a wide range of customizable prompts and exercises to inspire writers, artists, educators, and anyone looking to enhance their creative thinking. With PromptHub, users can access a diverse collection of prompts across various categories such as writing, drawing, brainstorming, and more. The tool offers a user-friendly interface and allows users to save and share their favorite prompts for future reference. Whether you're a professional writer seeking inspiration or a student looking to boost your creativity, PromptHub is the perfect companion to ignite your imagination and enhance your creative process.
Curator
NeMo Curator is a Python library designed for fast and scalable data processing and curation for generative AI use cases. It accelerates data processing by leveraging GPUs with Dask and RAPIDS, providing customizable pipelines for text and image curation. The library offers pre-built pipelines for synthetic data generation, enabling users to train and customize generative AI models such as LLMs, VLMs, and WFMs.
mcp-prompts
mcp-prompts is a Python library that provides a collection of prompts for generating creative writing ideas. It includes a variety of prompts such as story starters, character development, plot twists, and more. The library is designed to inspire writers and help them overcome writer's block by offering unique and engaging prompts to spark creativity. With mcp-prompts, users can access a wide range of writing prompts to kickstart their imagination and enhance their storytelling skills.
dream-prompter
Dream Prompter is a tool designed to help users generate creative writing prompts for their stories, essays, or any other creative projects. It uses a database of various elements such as characters, settings, and plot twists to randomly generate unique prompts that can inspire writers and spark their creativity. With Dream Prompter, users can easily overcome writer's block and find new ideas to develop their writing skills and produce engaging content.
AgentVerse
AgentVerse is an open-source ecosystem for intelligent agents, supporting multiple mainstream AI models to facilitate autonomous discussions, thought collisions, and knowledge exploration. Each intelligent agent can play a unique role here, collectively creating wisdom beyond individuals.
For similar jobs
facefusion
FaceFusion is a next-generation face swapper and enhancer that allows users to seamlessly swap faces in images and videos, as well as enhance facial features for a more polished and refined look. With its advanced deep learning models, FaceFusion provides users with a wide range of options for customizing their face swaps and enhancements, making it an ideal tool for content creators, artists, and anyone looking to explore their creativity with facial manipulation.
forge
Forge is a free and open-source digital collectible card game (CCG) engine written in Java. It is designed to be easy to use and extend, and it comes with a variety of features that make it a great choice for developers who want to create their own CCGs. Forge is used by a number of popular CCGs, including Ascension, Dominion, and Thunderstone.
latentbox
Latent Box is a curated collection of resources for AI, creativity, and art. It aims to bridge the information gap with high-quality content, promote diversity and interdisciplinary collaboration, and maintain updates through community co-creation. The website features a wide range of resources, including articles, tutorials, tools, and datasets, covering various topics such as machine learning, computer vision, natural language processing, generative art, and creative coding.
fabric
Fabric is an open-source framework for augmenting humans using AI. It provides a structured approach to breaking down problems into individual components and applying AI to them one at a time. Fabric includes a collection of pre-defined Patterns (prompts) that can be used for a variety of tasks, such as extracting the most interesting parts of YouTube videos and podcasts, writing essays, summarizing academic papers, creating AI art prompts, and more. Users can also create their own custom Patterns. Fabric is designed to be easy to use, with a command-line interface and a variety of helper apps. It is also extensible, allowing users to integrate it with their own AI applications and infrastructure.
ColorPicker
ColorPicker Max is a powerful and intuitive color selection and manipulation tool that is designed to make working with color easier and more efficient than ever before. With its wide range of features and tools, ColorPicker Max offers an unprecedented level of control and customization over every aspect of color selection and manipulation.
ai-notes
Notes on AI state of the art, with a focus on generative and large language models. These are the "raw materials" for the https://lspace.swyx.io/ newsletter. This repo used to be called https://github.com/sw-yx/prompt-eng, but was renamed because Prompt Engineering is Overhyped. This is now an AI Engineering notes repo.
Neurite
Neurite is an innovative project that combines chaos theory and graph theory to create a digital interface that explores hidden patterns and connections for creative thinking. It offers a unique workspace blending fractals with mind mapping techniques, allowing users to navigate the Mandelbrot set in real-time. Nodes in Neurite represent various content types like text, images, videos, code, and AI agents, enabling users to create personalized microcosms of thoughts and inspirations. The tool supports synchronized knowledge management through bi-directional synchronization between mind-mapping and text-based hyperlinking. Neurite also features FractalGPT for modular conversation with AI, local AI capabilities for multi-agent chat networks, and a Neural API for executing code and sequencing animations. The project is actively developed with plans for deeper fractal zoom, advanced control over node placement, and experimental features.
ScribbleArchitect
ScribbleArchitect is a GUI tool designed for generating images from simple brush strokes or Bezier curves in real-time. It is primarily intended for use in architecture and sketching in the early stages of a project. The tool utilizes Stable Diffusion and ControlNet as AI backbone for the generative process, with IP Adapter support and a library of predefined styles. Users can transfer specific styles to their line work, upscale images for high resolution export, and utilize a ControlNet upscaler. The tool also features a screen capture function for working with external tools like Adobe Illustrator or Inkscape.











