← Back to Skills Marketplace
Responses Third-Party Prompt Cache Patch
by
tsunheimat
· GitHub ↗
· v0.1.2
· MIT-0
122
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install responses-third-party-prompt-cache-patch
Description
Patch an installed OpenClaw dist bundle so third-party OpenAI-compatible Responses endpoints keep prompt_cache_key and prompt_cache_retention instead of havi...
Usage Guidance
This skill performs local file edits to your OpenClaw installation and is coherent with its stated purpose, but take these precautions before use: 1) Run the provided --dry-run first and test against a copied fixture (as the SKILL.md recommends). 2) Ensure you have Python 3 and Node.js installed and understand you'll need to restart the OpenClaw gateway. 3) Verify the included code matches the version you expect and inspect the backup files created under dist/ before applying to production. 4) Prefer running the patch on a non-production replica first. 5) If you require full assurance, check the referenced GitHub source (https://github.com/tsunheimat/openclaw-responses-prompt-cache-patch) and confirm the repository and author are trustworthy.
Capability Analysis
Type: OpenClaw Skill
Name: responses-third-party-prompt-cache-patch
Version: 0.1.2
The skill is a specialized administrative tool designed to monkey-patch OpenClaw's JavaScript distribution bundles to enable prompt caching for third-party endpoints. The logic in `scripts/patch_prompt_cache.py` and `_bundle_patch_common.py` is highly targeted, searching for a specific function signature and replacing a single return statement while implementing safety features like dry-runs, timestamped backups, and syntax validation via `node --check`. There is no evidence of data exfiltration, unauthorized network access, or obfuscation; the scripts behave exactly as described in `SKILL.md`.
Capability Assessment
Purpose & Capability
The skill's name/description match the included scripts: they locate an OpenClaw install, patch a single function in dist/*.js, create backups, validate with node, and support rollback. Minor inconsistency: the registry metadata lists no required binaries, but the SKILL.md and scripts explicitly require Python 3 (to run the scripts) and Node.js (used for node --check); the skill also expects the openclaw CLI and may call systemctl. These are proportionate to the stated purpose but should be declared.
Instruction Scope
The SKILL.md and scripts are narrowly scoped to locating an OpenClaw installation, reading/writing JS bundles under dist/, making timestamped backups, running node --check, and optionally reading a user systemd service file or resolving the openclaw executable. The scripts do not transmit data externally, execute obfuscated code, or read unrelated secrets.
Install Mechanism
This is an instruction-only skill (no install spec). The code files are included in the skill bundle; there is no network download or archive extraction during install. No high-risk install mechanism is present.
Credentials
The skill requests no environment variables or credentials. It reads local files (dist bundles, optional systemd service file, and resolves the openclaw executable) and writes backups and patched bundles under the target installation — which is consistent with its purpose.
Persistence & Privilege
The skill does not request permanent or always-on privileges. It runs as an invoked script and only changes files under the specified OpenClaw installation. It does not modify other skills or global agent config.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install responses-third-party-prompt-cache-patch - After installation, invoke the skill by name or use
/responses-third-party-prompt-cache-patch - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.2
Add GitHub source link and a one-line OpenClaw quick install command to the skill page.
v0.1.1
Improve auto root detection: prefer the active gateway/systemd install, handle multiple installs more safely, and surface clearer override hints.
v0.1.0
Initial public release
Metadata
Frequently Asked Questions
What is Responses Third-Party Prompt Cache Patch?
Patch an installed OpenClaw dist bundle so third-party OpenAI-compatible Responses endpoints keep prompt_cache_key and prompt_cache_retention instead of havi... It is an AI Agent Skill for Claude Code / OpenClaw, with 122 downloads so far.
How do I install Responses Third-Party Prompt Cache Patch?
Run "/install responses-third-party-prompt-cache-patch" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Responses Third-Party Prompt Cache Patch free?
Yes, Responses Third-Party Prompt Cache Patch is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Responses Third-Party Prompt Cache Patch support?
Responses Third-Party Prompt Cache Patch is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Responses Third-Party Prompt Cache Patch?
It is built and maintained by tsunheimat (@tsunheimat); the current version is v0.1.2.
More Skills