A specialized utility to prevent OpenClaw from stripping caching headers for third-party OpenAI-compatible API providers.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install responses-third-party-prompt-cache-patch
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 responses-third-party-prompt-cache-patch using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Responses Third Party Prompt Cache Patch is a technical utility designed for the Openclaw Skills ecosystem. It addresses a specific limitation where the agent strips prompt_cache_key and prompt_cache_retention metadata from third-party API responses. By applying a surgical patch to the OpenClaw distribution bundle, developers can ensure that advanced caching features of alternative LLM providers remain intact.
This tool is essential for users who leverage non-OpenAI endpoints that support these specific caching parameters to reduce latency and costs. It operates as a local patch, providing a workflow that includes dry-runs, automatic backups, and syntax validation to ensure the stability of the agent installation.
To install this skill into your workspace, use the following command:
clawhub install responses-third-party-prompt-cache-patch --workdir ~/.openclaw/workspace
Once installed, navigate to the skill directory and execute the patcher:
python3 scripts/patch_prompt_cache.py --dry-run
python3 scripts/patch_prompt_cache.py
openclaw gateway restart
| Component | Description |
|---|---|
| scripts/patch_prompt_cache.py | Primary automation script for applying the cache retention patch. |
| scripts/revert_prompt_cache.py | Safety utility to restore the system to its pre-patched state. |
| Backups | Local timestamped copies of the dist bundles stored for recovery. |
| Target Logic | Specific modification of the shouldStripResponsesPromptCache(model) function. |
Loading
An autonomous AI agent designed to manage vendor payments, contractor invoices, and recurring bills across crypto and fiat channels with strict audit integrity.

A Retrieval-Augmented Generation (RAG) system designed to automate manufacturing cost estimation and CNC part quoting with high precision.

An automated tool to convert Feishu/Lark meeting transcripts into structured Markdown minutes and professional PDF documents.

A robust cryptographic framework for autonomous AI agents to establish verifiable identity, scoped authorization, and immutable audit trails.

A professional learning consultant specialized in creating personalized, evidence-based study plans for major Chinese academic and professional examinations.

A powerful crypto trading skill that utilizes 1inch v5.2 API to find and execute the most cost-effective token swaps across multiple decentralized exchanges.








































