HeroPrompt
Back to docs

Guides

Use with Claude Code

Native skills and slash commands in your terminal agent

Use with Claude Code

Claude Code reads ~/.claude/skills/ and ~/.claude/commands/ natively, so HeroPrompt content just works once it's synced.

Install Claude Code

If you haven't already: https://docs.anthropic.com/en/docs/claude-code. Confirm with:

bash
claude --version

Install HeroPrompt content

bash
heroprompt pack install developer

That writes skills to __CODE_0__ and commands to __CODE_1__. See Install a pack for the full flow.

Trigger skills

Skills auto-activate based on context. You don't invoke them by name — the agent reads each skill's description field and decides when to use it. To check what's available:

text
> List all skills available

You should see the HeroPrompt skills alongside any built-in ones.

Invoke slash commands

Slash commands are explicit. Type / in the chat to open the picker, or call one directly:

text
/commit

Some commands take arguments after the name:

text
/pr-description fixes the broken oauth callback when the state cookie expires

Reloading after changes

Claude Code only reads ~/.claude/ at session start. After heroprompt pack install or pack sync, you need to:

  1. Quit the Claude Code session (Ctrl+C twice or /exit).
  2. Start a fresh one.

The new skills and commands will be picked up on the next launch.