PromptHub CLI

The prompthub CLI manages prompts, skills, MCP servers and plugins and distributes one skill to Claude Code, Cursor and Codex.

  • 1,820 ★ on the repository
  • Last commit
  • AGPL-3.0
CLIOfficial

Broad access

Why this level

  • The CLI writes and removes skills, MCP servers and plugins in the Claude Code, Cursor and Codex directories, so a bad source can change an agent's behavior.
  • The app works with model provider keys and syncs data over WebDAV.
All reasons and checks

legeling/prompthub

Install

Manual install

pnpm pack:cli
pnpm add -g ./apps/cli/prompthub-cli-*.tgz

Run in a repository clone. After installing check `prompthub --help`. The desktop app: `brew install --cask prompthub` on macOS or the builds on the Releases page.

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • The CLI writes and removes skills, MCP servers and plugins in the Claude Code, Cursor and Codex directories, so a bad source can change an agent's behavior.
  • The app works with model provider keys and syncs data over WebDAV.

This is third-party code. Review the repository files before installing.

What it does

PromptHub is a local workspace for prompts, SKILL.md files and project-level AI coding assets. Data is stored on your computer. The desktop app installs one skill into Claude Code, Cursor, Codex, Windsurf, Antigravity, Cline and about ten more tools in one step, and the `prompthub` CLI gives the same work from scripts. Commands cover several resource groups. `prompt` handles versions, diffs and rollback of prompts, and `skill` imports, safety-scans, updates and distributes skills across platforms and projects. `mcp` and `plugin` install and enable servers and plugins from sources, `rules` reads and edits rule files, and `agent` lists and configures agents. The `workspace` group exports and imports a full snapshot and `sync` synchronizes it over WebDAV. Import, version snapshots and skill distribution apply built-in ignore rules and a `.prompthubignore` file, and the write is blocked if the content contains something resembling a private key, token or password. By default commands print a bounded summary, and the `--full` flag returns the full skill text.

Who it is for. Developers who keep dozens of skills, prompts and MCP servers for several agents and want to manage them from one place and from scripts.

Good fit when

  • The same skill must be installed into Claude Code, Cursor and Codex at once.
  • Prompts need versions, change comparison and rollback.
  • Skills are checked for dangerous content with `skill scan-safety` before installation.
  • A script or CI bulk-exports and imports resources with `workspace export` and `workspace import`.
  • Project rules and skills must be spread across repositories and updated from a list.

Not a fit when

  • A ready one-line command is needed: the CLI has to be built from source.
  • One agent and a couple of skills are enough: copying by hand is simpler.
  • Cloud team management is required: PromptHub stores data locally and syncs over WebDAV.

Example request

Run `prompthub skill scan`, show which skills were found, then distribute the chosen skill to Claude Code and Cursor.

Limitations

The desktop build does not install the `prompthub` command automatically: the CLI is packed from the repository with `pnpm pack:cli` and installed globally with `pnpm add -g`. Node.js and pnpm are needed. The documentation and the main README are in Chinese, with English and other language versions available. The CLI works with the app's data directory, so a `--data-dir` path is needed if the app was installed in a non-standard way. Distributing and updating skills changes files in agent directories, and per-tool details are in the documentation. The app version is 0.6.2, and the last commit is from 2 November 2026.

How to disable. Remove the global package with `pnpm remove -g @prompthub/cli` and take back distributed skills with `skill undistribute`. The desktop app is removed separately, and its data sits in its user directory.

FAQ

How do I install the CLI?

In a repository clone run `pnpm pack:cli`, then `pnpm add -g ./apps/cli/prompthub-cli-*.tgz` and check `prompthub --help`. The desktop app does not install the CLI itself.

Can I run it without installing?

Yes: `pnpm --filter @prompthub/cli run dev prompt list` or `... skill scan`.

How do I install the desktop PromptHub itself?

Download the Windows, macOS or Linux build from the Releases page, or on macOS run `brew tap legeling/tap` and `brew install --cask prompthub`.

What stops me from distributing secrets by accident?

Import, snapshots and distribution apply ignore rules and `.prompthubignore`, and the write is blocked if the content contains something resembling a private key, token or password.

Which output formats exist?

`--output json` or `table`. By default commands return a bounded summary, `--full` returns the full resource text and `--quiet` suppresses output on success.

Discussion

No questions or reviews yet.

CLI tools

A library of prompts in one XML-tagged template, Claude Code skills for development and DevOps, and a set of hooks

PromptMinimal access382Repository stars

JeffreysPrompts (jfp)

JeffreysPrompts.com

A command-line catalog of proven prompts for coding agents: search, copy and export to Markdown or SKILL.md in one command.

CLIMinimal access119Repository stars

A desktop app and skm CLI: one copy of each skill in a central hub, symlinked into every AI tool

CLIExtended access1.1KRepository stars

Skill that reads your prompt history, finds the asks you repeat and turns each into a short command such as /sent

SkillExtended access134Repository stars

A self-hosted issue tracker and wiki on Cloudflare with MCP: 126 tools, issue leases and file claims for several agents

MCP serverBroad access66Repository stars

A Go CLI that keeps skills, agents and rules in one place and syncs them into every AI agent with one command

CLIExtended access3.1KRepository stars

README in short

The project ships as a desktop app for Windows, macOS and Linux, as a self-hosted web version and as a CLI. It stores prompts, skills, MCP servers, plugins and rules, tests prompts on several models and syncs data over WebDAV.

README badge

Report a problem