HeroPrompt
Back to docs
CLI Reference

CLI Commands

Complete reference for HeroPrompt CLI commands.

Updated 2026-02-11

CLI Commands

The HeroPrompt CLI lets you sync prompts and Skills to your local machine. Available on PyPI.

Installation

bash
pip install heroprompt-cli

Or with pipx for isolated installs:

bash
pipx install heroprompt-cli

Authentication

All authentication uses Personal Access Tokens (PATs). Generate one at Settings.

heroprompt login

bash
heroprompt login --token hp_pat_xxxxx
FlagDescription
--token, -tPersonal Access Token (required)
--api-urlCustom API URL (for self-hosted)

heroprompt logout

bash
heroprompt logout

heroprompt status

Show account info, tier, and access level.

bash
heroprompt status

Listing Content

heroprompt list prompts

List available prompts from the server.

bash
# List all prompts
heroprompt list prompts

# Filter by category
heroprompt list prompts --category technology

# Search by name
heroprompt list prompts --search "react"

# Limit results
heroprompt list prompts --limit 10
FlagDescription
--role, -rFilter by subcategory
--category, -cFilter by category
--search, -sSearch in name/description
--limit, -lMax results (default: 50)

heroprompt list skills

List available Skills (PRO Kit required).

bash
heroprompt list skills
heroprompt list skills --category development
heroprompt list skills --difficulty expert
FlagDescription
--category, -cFilter by category
--difficulty, -dFilter by difficulty
--limit, -lMax results (default: 50)

Syncing Content

heroprompt sync sync-cmd

Download all prompts to ~/.heroprompt/prompts/.

bash
heroprompt sync sync-cmd
heroprompt sync sync-cmd --role frontend
heroprompt sync sync-cmd --force
FlagDescription
--role, -rFilter by subcategory
--force, -fOverwrite existing files

heroprompt sync sync-skill

Download a specific Skill to ~/.heroprompt/skills/ (PRO Kit required).

bash
heroprompt sync sync-skill mcp-server
heroprompt sync sync-skill mcp-server --force

Supports partial ID matching — if your query matches multiple Skills, the CLI will list them for disambiguation.

Other Commands

heroprompt version

bash
heroprompt version
# heroprompt-cli version 0.1.0

Tier Access

CommandFreeStarterPro KitLifetime
list prompts
sync sync-cmd
list skills
sync sync-skill
Max PATs0135