An open-source, free all-in-one workspace for AI Prompt and Skill management, featuring versioned Prompt editing, multi-platform Skill distribution, multi-model parallel testing, and local-first data synchronization.
PromptHub is an open-source, free all-in-one workspace for AI Prompt and Skill management, designed for Prompt engineers and AI developers. It provides a complete workflow from Prompt creation, version control, variable templates to multi-model parallel testing.
Prompt Management
- CRUD with folder nesting and tag classification
- Auto-saved version history with diff comparison and one-click rollback
- Template variable
{{variable}}syntax with dynamic fill-in form on copy - Favorites, full-text search (SQLite FTS5), multimedia reference attachments
- JSON / YAML / CSV multi-format export
Skill Management
- Built-in Skill Store: 20+ curated AI agent skills (from Anthropic, OpenAI official sources)
- One-click SKILL.md installation to 15+ platforms: Claude Code, Cursor, Windsurf, Codex, Kiro, Gemini CLI, Trae, OpenCode, Roo Code, Amp, OpenClaw, Qoder, QoderWork, CodeBuddy, GitHub Copilot
- Local scanning for auto-discovery of existing SKILL.md files with batch import
- Symlink / Copy installation modes with custom target directory support
- AI translation (immersive side-by-side / full text), AI skill generation, intelligent polishing
- Skill update detection and conflict protection (v0.5.5)
AI Testing Workbench
- Multi-model parallel testing for the same Prompt with response time analysis
- Coverage of major domestic and international LLM providers and image generation models
Data & Sync
- Local-first: all data stored in local SQLite database
- Full backup and restore (
.phub.gzcompressed format) - WebDAV cloud sync (Nutstore, Nextcloud, etc.) with startup sync + scheduled background push
- Self-hosted PromptHub Web as desktop backup/recovery source
Security
- Master password protection, encrypted private folders (Beta), SSRF protection, URL protocol validation
Interface & Experience
- Multiple view modes (card, gallery, list), dark/light/system themes with custom colors and background images
- 7 languages supported (Simplified Chinese, Traditional Chinese, English, Japanese, German, Spanish, French)
- Markdown rendering with code highlighting and bilingual side-by-side mode
Architecture Overview
- pnpm monorepo: Electron 33 + React 18 + TypeScript 5 + TailwindCSS + Zustand
- Three forms: desktop app (macOS/Windows/Linux), self-hosted web (Docker, port 3871), CLI tool
- Build pipeline: Vite + electron-builder
Installation
- macOS Homebrew:
brew tap legeling/tap && brew install --cask prompthub - Windows / Linux: download from GitHub Releases
- Self-hosted web:
cp apps/web/.env.example apps/web/.env && cd apps/web && docker compose up -d --build - From source:
git clonethenpnpm install && pnpm dev
Unconfirmed: "Agent Management" mentioned in README title but not detailed — may be a roadmap item; private folder encryption algorithm details not disclosed; feature parity between desktop and web versions unclear.