Install
openclaw skills install prompt-library-managerCurated prompt template library for OpenClaw agents. Store, search, version, tag, and reuse prompt templates across sessions and agents. Use when asked to "save this prompt", "find a prompt for", "prompt library", "manage prompts", "store prompt template", "reuse prompt", "prompt catalog", "list my prompts", or when building reusable prompt workflows. Helps enterprise teams standardize agent interactions and share best practices.
openclaw skills install prompt-library-managerStore, search, version, and reuse prompt templates across OpenClaw sessions and agents.
# Add a new prompt template
python3 scripts/prompt-library.py add --name "email-summarizer" --category "productivity" \
--template "Summarize the following email thread, highlighting: 1) Key decisions 2) Action items 3) Deadlines. Email: {input}"
# Search prompts by keyword
python3 scripts/prompt-library.py search "email"
# List all prompts
python3 scripts/prompt-library.py list
# Use a prompt (fills in variables)
python3 scripts/prompt-library.py use "email-summarizer" --var input="<paste email here>"
# Export library
python3 scripts/prompt-library.py export --format json
add — Add Prompt TemplateStore a new prompt with metadata:
--name NAME — Unique identifier (required)--category CAT — Category tag (e.g., productivity, coding, writing, analysis)--template TEXT — The prompt text with {variable} placeholders--description TEXT — Human-readable description--tags TAG,TAG — Comma-separated tags for search--model MODEL — Recommended model (optional)--from-file PATH — Load template from file instead of inlinesearch — Search PromptsFull-text search across names, descriptions, tags, and template content.
--category CAT — Filter by category--tag TAG — Filter by taglist — List All PromptsDisplay all stored prompts with metadata.
--category CAT — Filter by category--format text|json|markdown — Output format--compact — Show names onlyuse — Fill and Output PromptRetrieve a prompt and fill in variable placeholders:
--var KEY=VALUE — Set template variables (repeatable)--copy — Copy filled prompt to clipboardupdate — Update Existing PromptModify a stored prompt (creates new version):
--name NAME — Prompt to update--template TEXT — New template text--tags TAG,TAG — Updated tagsdelete — Remove PromptDelete a prompt from the library.
--name NAME — Prompt to delete--confirm — Skip confirmationexport — Export LibraryExport all prompts for backup or sharing.
--format json|yaml|markdown — Export format--output PATH — Write to file--category CAT — Export specific category onlyimport — Import PromptsImport prompts from file (merge with existing).
--file PATH — Import source file (JSON or YAML)--overwrite — Replace existing prompts with same namestats — Library StatisticsShow prompt usage stats, category counts, and most-used templates.
Prompts are stored in memory/prompt-library.json as a JSON array:
[{
"name": "email-summarizer",
"category": "productivity",
"description": "Summarize email threads with decisions and action items",
"template": "Summarize the following email thread...",
"tags": ["email", "summary", "productivity"],
"model": null,
"version": 1,
"created": "2026-03-29T05:00:00Z",
"updated": "2026-03-29T05:00:00Z",
"use_count": 0
}]
The library ships with 10 high-quality starter prompts: