← 返回 Skills 市场
lifeissea

Openclaw Cache Kit

作者 Tomas · GitHub ↗ · v1.1.1
cross-platform ⚠ suspicious
935
总下载
2
收藏
1
当前安装
8
版本数
在 OpenClaw 中安装
/install openclaw-cache-kit
功能描述
Automatically apply Claude prompt caching optimizations to OpenClaw. Reduces API costs by up to 89% via cacheRetention long, 59-minute heartbeat, cache-ttl p...
安全使用建议
What to check before running: - Verify the scripts on a non-production or test host first. They will overwrite $HOME/.openclaw/openclaw.json (a backup is made under $HOME/.openclaw/backups). - Ensure the openclaw CLI and python3 are present (apply.sh will abort otherwise). The skill metadata did not declare these requirements—this is an omission. - Inspect what OpenClaw writes into diagnostics.cacheTrace when includeSystem is true; confirm it does not capture sensitive host or environment data you don’t want logged. Consider changing includeSystem to false if uncertain. - Review the backup file before restoring or rolling out changes at scale. - Run bash scripts/check-savings.sh against a copy of the log file to validate calculations; logs are read locally from ~/.openclaw/logs/cache-trace.jsonl (or the OPENCLAW_CACHE_LOG env override). - Because the manifest omitted declared requirements, proceed cautiously and prefer manual application or a dry-run until you confirm precisely what will be logged and changed.
功能分析
Type: OpenClaw Skill Name: openclaw-cache-kit Version: 1.1.1 The OpenClaw Cache Kit is designed to optimize OpenClaw's caching mechanisms to reduce API costs. The `scripts/apply.sh` script safely modifies the `openclaw.json` configuration file using an embedded Python script, creates a backup, and restarts the OpenClaw gateway, all actions directly aligned with its stated purpose. The `scripts/check-savings.sh` script reads local diagnostic logs to report cost savings. The `SKILL.md` and `scripts/cron-md-template.md` files provide clear documentation and guidance for optimizing agent behavior, without any evidence of prompt injection for malicious purposes, data exfiltration, unauthorized execution, or persistence mechanisms. All operations are local and transparent.
能力评估
Purpose & Capability
The skill's purpose (apply OpenClaw caching optimizations) matches the actions in the scripts: it patches ~/.openclaw/openclaw.json, enables cache-related settings, enables cache tracing, and restarts the openclaw gateway. However the registry metadata lists no required binaries or config paths even though the scripts require the openclaw CLI and python3 and operate on $HOME/.openclaw/openclaw.json; that mismatch is an incoherence in the manifest.
Instruction Scope
Instructions and scripts are narrowly scoped to OpenClaw configuration and local logs: they back up and overwrite the user's openclaw.json, restart the gateway, and write/consume ~/.openclaw/logs/cache-trace.jsonl. There is no network exfiltration or external endpoints called. One flag of note: the script sets diagnostics.cacheTrace.includeSystem = true; while includeMessages/includePrompt are set false, includeSystem may capture system-level metadata (e.g., environment or runtime details) depending on OpenClaw's logging schema—that could expose more than just cache metrics, so inspect what 'includeSystem' logs contain before enabling.
Install Mechanism
No install/download steps; this is instruction-only with local shell/Python scripts. No remote code fetches or extracted archives are performed, which keeps install risk low.
Credentials
The scripts rely on (but the registry does not declare) the openclaw CLI, python3, and use config/log paths under $HOME/.openclaw (OPENCLAW_CONFIG, OPENCLAW_CACHE_LOG can be overridden via env). The absence of declared required binaries/config paths in the manifest is a proportionality/metadata issue. The scripts do not request secrets or external credentials.
Persistence & Privilege
The skill does modify a local application config and restarts the local gateway, which requires file-write and process control privileges for that service—these are expected for a config patching tool. It does not request permanent 'always: true' inclusion or modify other skills' configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-cache-kit
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-cache-kit 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.1
Auto-update 2026-02-25: maintenance & improvements
v1.1.0
Auto-update 2026-02-22: minor version bump
v1.0.5
Security: reviewed, no credentials or personal data
v1.0.4
이름 수정
v1.0.3
이름 수정
v1.0.2
버전 동기화
v1.0.1
Fix: correct openclaw.json patch structure for agents.defaults
v1.0.0
Initial release: 89% API cost reduction via cacheRetention, 59m heartbeat, CRON.md strategy
元数据
Slug openclaw-cache-kit
版本 1.1.1
许可证
累计安装 1
当前安装数 1
历史版本数 8
常见问题

Openclaw Cache Kit 是什么?

Automatically apply Claude prompt caching optimizations to OpenClaw. Reduces API costs by up to 89% via cacheRetention long, 59-minute heartbeat, cache-ttl p... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 935 次。

如何安装 Openclaw Cache Kit?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-cache-kit」即可一键安装,无需额外配置。

Openclaw Cache Kit 是免费的吗?

是的,Openclaw Cache Kit 完全免费(开源免费),可自由下载、安装和使用。

Openclaw Cache Kit 支持哪些平台?

Openclaw Cache Kit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Openclaw Cache Kit?

由 Tomas(@lifeissea)开发并维护,当前版本 v1.1.1。

💬 留言讨论