lhc prompts
Manage reusable prompt templates. Prompts are user-owned and optionally shareable.
Commands
prompts list
List all prompts owned by the current user:
lhc prompts list [--output table|json|yaml]
prompts get <command>
Get a prompt by its command identifier:
lhc prompts get <command>
Example:
lhc prompts get summarize
prompts create
Create a new prompt:
lhc prompts create --command <id> --title <title> --content <body>
| Flag | Required | Description |
|---|---|---|
--command | yes | Unique command identifier (slug, e.g. summarize) |
--title | yes | Human-readable title shown in the UI |
--content | yes | Prompt template body (supports {{variable}} placeholders) |
Example:
lhc prompts create \
--command summarize \
--title "Summarize Text" \
--content "Please summarize the following text concisely: {{text}}"
prompts update <command>
Update the title and content of an existing prompt:
lhc prompts update <command> --title <title> --content <body>
| Flag | Required | Description |
|---|---|---|
--title | yes | New title |
--content | yes | New prompt body |
Example:
lhc prompts update summarize \
--title "Summarize (short)" \
--content "Summarize in one sentence: {{text}}"
prompts delete <command>
Delete a prompt by command identifier:
lhc prompts delete <command>
prompts statistics
Show prompt usage statistics for the current user:
lhc prompts statistics
prompts shared-by-me
List prompts shared by the current user:
lhc prompts shared-by-me
prompts shared-with-me
List prompts shared with the current user:
lhc prompts shared-with-me