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. List available prompts
heroprompt list prompts

# 4. Sync prompts to local
heroprompt sync-cmd

# 5. List Skills (PRO Kit required)
heroprompt list skills

# 6. Sync a Skill to local (PRO Kit required)
heroprompt sync-skill mcp-server

Commands

Command Description Tier
login --token <token> Authenticate with PAT All
logout Clear credentials All
status Show account info All
list prompts List all prompts All
list skills List Skills PRO+
sync-cmd Download prompts to local All
sync-skill <id> Download Skill to local PRO+
get <prompt-id> Print prompt to stdout All
run <skill-id> Interactive Skill runner PRO+

Configuration

The CLI stores configuration in ~/.heroprompt/:

~/.heroprompt/
├── config.json       # Auth token and user info
├── prompts/          # Synced prompts
└── skills/           # Synced Skills

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:

heroprompt upgrade
# Opens 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.0.tar.gz (13.9 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.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: heroprompt_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for heroprompt_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9a7adca41cb326c236512c0636fd9c558b9e56daf9c5bee858b07e91a88584c3
MD5 d6b8ca3e843dbcb2e8a0c340fbb8335d
BLAKE2b-256 5bd0ac9423f1f6af4128bc6e03e37199a88e4401b154f6bc22fb00eee9ac6d7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: heroprompt_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for heroprompt_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 49fbe6729f8d9fab271a32a01395418c00d19b6f10a64d4b676a07c89f5ef438
MD5 2c2b5e6a3e771fe32a0ef31893b02b53
BLAKE2b-256 d2f4e6ecf77b6fd8068d74139e6c4401fde255d5265ea0a88a6c435a01e6ea24

See more details on using hashes here.

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