Automation

Prompt Library Manager

Store, search, version, and reuse prompt templates across OpenClaw sessions and agents.

Buy Now — $4.99

One-time purchase · Instant download · Yours forever

Prompt Library Manager

Store, search, version, and reuse prompt templates across OpenClaw sessions and agents.

Quick Start


# 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

Commands

`add` — Add Prompt Template

Store a new prompt with metadata:

`search` — Search Prompts

Full-text search across names, descriptions, tags, and template content.

`list` — List All Prompts

Display all stored prompts with metadata.

`use` — Fill and Output Prompt

Retrieve a prompt and fill in variable placeholders:

`update` — Update Existing Prompt

Modify a stored prompt (creates new version):

`delete` — Remove Prompt

Delete a prompt from the library.

`export` — Export Library

Export all prompts for backup or sharing.

`import` — Import Prompts

Import prompts from file (merge with existing).

`stats` — Library Statistics

Show prompt usage stats, category counts, and most-used templates.

Storage

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
}]

Built-in Starter Prompts

The library ships with 10 high-quality starter prompts:

1. email-summarizer — Summarize email threads

2. code-reviewer — Review code for bugs and improvements

3. meeting-notes — Structure meeting transcripts into notes

4. bug-report — Generate structured bug reports

5. content-writer — Write blog posts from outlines

6. data-analyst — Analyze datasets and find patterns

7. task-breakdown — Break complex tasks into subtasks

8. explain-concept — Explain technical concepts simply

9. decision-matrix — Compare options with pros/cons

10. daily-standup — Generate standup update from git log

Ready to get started?

One-time purchase. No subscription. Download instantly and use forever.

Buy Now — $4.99
Category: Automation Price: $4.99 USD Released: 2026-05-13 Skill ID: prompt-library-manager