← Back to Skills Marketplace
lifeissea

Openclaw Cache Kit

by Tomas · GitHub ↗ · v1.1.1
cross-platform ⚠ suspicious
935
Downloads
2
Stars
1
Active Installs
8
Versions
Install in OpenClaw
/install openclaw-cache-kit
Description
Automatically apply Claude prompt caching optimizations to OpenClaw. Reduces API costs by up to 89% via cacheRetention long, 59-minute heartbeat, cache-ttl p...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openclaw-cache-kit
  3. After installation, invoke the skill by name or use /openclaw-cache-kit
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Slug openclaw-cache-kit
Version 1.1.1
License
All-time Installs 1
Active Installs 1
Total Versions 8
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 935 downloads so far.

How do I install Openclaw Cache Kit?

Run "/install openclaw-cache-kit" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Openclaw Cache Kit free?

Yes, Openclaw Cache Kit is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Openclaw Cache Kit support?

Openclaw Cache Kit is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Openclaw Cache Kit?

It is built and maintained by Tomas (@lifeissea); the current version is v1.1.1.

💬 Comments