A lightweight caching layer that uses SHA-256 hashing to eliminate redundant LLM and TTS API calls and reduce operational costs.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install prompt-cache
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install prompt-cache using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Prompt Cache is a specialized efficiency tool designed for developers working with LLM and TTS APIs. By implementing a SHA-256 deduplication layer, it ensures that identical prompts are caught before they incur unnecessary API costs. This skill is a vital addition to any Openclaw Skills collection, particularly for high-volume production environments where repeating similar prompts or identical context is common.
The skill provides a robust, backend-agnostic caching mechanism that supports SQLite, Turso, and Postgres. It helps developers maximize their API quotas while significantly improving response times through instant replays of previously generated content. By normalizing input and hashing the result, it creates a deterministic way to manage expensive external calls.
To integrate this skill into your workflow, ensure your environment has access to your preferred database backend. The logic is contained within a compact script for easy portability among Openclaw Skills.
# Ensure your database environment variables are set (for Turso or Postgres)
# The script uses standard SQL logic compatible with most backends
# Typical usage involves importing the module into your generation pipeline:
# python scripts/prompt_cache.py
The skill organizes its data using a relational schema designed for fast lookups. You can adapt the keys to match your specific domain requirements.
| Column | Type | Description |
|---|---|---|
prompt_hash |
TEXT | Primary Key; SHA-256 fingerprint of the normalized prompt and context. |
child_name |
TEXT | Secondary key identifying the user or entity (customizable). |
language |
TEXT | Contextual key for the language of the prompt. |
story_json |
TEXT | The cached payload or result from the API. |
created_at |
DATETIME | Automatic timestamp of when the cache entry was created. |
Loading
A streamlined pipeline for training Stable Diffusion LoRA adapters locally on Apple Silicon with automated LLM-based quality scoring.

A secure automation tool for injecting 1Password secrets directly into macOS LaunchAgent environment variables.

A governance framework for multi-agent systems that enforces daily token budgets through automated auditing and privilege management.

A comprehensive toolset enabling AI agents to search the web, extract content from PDFs and YouTube, and perform semantic research.

A multi-layered evaluation framework for scoring AI outputs using deterministic checks, heuristics, and sampled LLM judges.

A comprehensive tool for generating and running categorized API smoke test suites to ensure deployment readiness and service health.








































