← 返回 Skills 市场
Responses Third-Party Prompt Cache Patch
作者
tsunheimat
· GitHub ↗
· v0.1.2
· MIT-0
122
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install 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...
安全使用建议
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.
功能分析
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`.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install responses-third-party-prompt-cache-patch - 安装完成后,直接呼叫该 Skill 的名称或使用
/responses-third-party-prompt-cache-patch触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 122 次。
如何安装 Responses Third-Party Prompt Cache Patch?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install responses-third-party-prompt-cache-patch」即可一键安装,无需额外配置。
Responses Third-Party Prompt Cache Patch 是免费的吗?
是的,Responses Third-Party Prompt Cache Patch 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Responses Third-Party Prompt Cache Patch 支持哪些平台?
Responses Third-Party Prompt Cache Patch 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Responses Third-Party Prompt Cache Patch?
由 tsunheimat(@tsunheimat)开发并维护,当前版本 v0.1.2。
推荐 Skills