Skip to main content

HeroPrompt CLI - Sync prompts and Skills to your local machine

Project description

HeroPrompt CLI

Sync prompts and Skills to your local machine

Installation

pip install heroprompt-cli

Or with pipx (recommended for isolation):

pipx install heroprompt-cli

Quick Start

# 1. Login with personal access token (generate at https://heroprompt.store/dashboard/settings)
heroprompt login --token hp_pat_xxxxx

# 2. Check your status
heroprompt status

# 3. Browse content
heroprompt list prompts
heroprompt list skills      # PRO Kit required
heroprompt list packs

# 4. Sync prompts / skills / slash commands to local
heroprompt sync sync-prompts
heroprompt sync sync-skill mcp-server     # PRO Kit required
heroprompt sync sync-commands

# 5. Print a prompt template to stdout (pipe-friendly)
heroprompt cat <prompt-id>

# 6. Install a persona pack into ~/.claude/
heroprompt pack install developer

Commands

Command Description Tier
login --token <token> Authenticate with PAT All
logout Clear credentials All
status Show account info (use --json for scripts) All
version Show CLI version All
update Check PyPI for a newer release All
cat <prompt-id> Print prompt template (pipe-friendly) All
rate <prompt-id> <1-5> [--review] Submit a rating All
trending [--limit N] Top prompts by usage All
list prompts | skills | packs Browse available content Mixed
sync sync-prompts Download prompts to local All
sync sync-skill <id> Download a Skill to local PRO+
sync sync-commands Download slash commands to local All
pack list | info | install | uninstall | sync Persona pack management All

Configuration

The CLI stores configuration in ~/.heroprompt/:

~/.heroprompt/
├── config.json       # Auth token and user info (chmod 0600)
├── prompts/          # Synced prompts
├── skills/           # Synced Skills
└── commands/         # Synced slash commands

Personal Access Tokens

Generate a personal access token at:

https://heroprompt.store/dashboard/settings

Token format: hp_pat_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Upgrade to PRO Kit

Skills access requires PRO Kit subscription. Browse pricing at https://heroprompt.store/pricing.

Development

# Clone and install in dev mode
git clone https://github.com/heroprompt/cli.git
cd cli
pip install -e ".[dev]"

# Run tests
pytest

# Format code
black heroprompt/
ruff check heroprompt/

License

MIT License - see LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

heroprompt_cli-0.1.2.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

heroprompt_cli-0.1.2-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

Details for the file heroprompt_cli-0.1.2.tar.gz.

File metadata

  • Download URL: heroprompt_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for heroprompt_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 fd4aea03441c17080e8a5df8d8c1f2e5ccec1aeaa6ebd91c12adb464a895b428
MD5 c49759c7e476aaf072684c011f0bee8f
BLAKE2b-256 9dd147b5357dba304716a70a7b4604b8b506f7d4d76576f3bc48c0087aa8ca00

See more details on using hashes here.

Provenance

The following attestation bundles were made for heroprompt_cli-0.1.2.tar.gz:

Publisher: cli-release.yml on akatekhanh/aikit.dev

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file heroprompt_cli-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: heroprompt_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 28.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for heroprompt_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d7cae58fbeb84160a1dd74d5ab1ae155cee1c8178941599a7dc77ef57a638284
MD5 7fda9bc739a24f8bcc074c8137023691
BLAKE2b-256 5b07247606373f8395a16a38e46ea7b07bfea39d187d84ca563766c70fde1593

See more details on using hashes here.

Provenance

The following attestation bundles were made for heroprompt_cli-0.1.2-py3-none-any.whl:

Publisher: cli-release.yml on akatekhanh/aikit.dev

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page