# Send Openclaw Cache Kit to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-cache-kit",
    "name": "Openclaw Cache Kit",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/lifeissea/openclaw-cache-kit",
    "canonicalUrl": "https://clawhub.ai/lifeissea/openclaw-cache-kit",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/openclaw-cache-kit",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-cache-kit",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/apply.sh",
      "scripts/check-savings.sh",
      "scripts/cron-md-template.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openclaw-cache-kit"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-cache-kit",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-cache-kit",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-cache-kit/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-cache-kit/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-cache-kit/agent.md"
  }
}
```
## Documentation

### openclaw-cache-kit

Inspired by: OpenClaw 프롬프트 캐싱 최적화 가이드

Claude API 비용을 최대 89%까지 줄이는 OpenClaw 캐싱 최적화 킷.

### 왜 캐싱이 중요한가?

OpenClaw는 매 요청마다 다음 파일들을 시스템 프롬프트로 전송합니다:

SOUL.md — 페르소나·운영 규칙 (수백~수천 토큰)
AGENTS.md, TOOLS.md, MEMORY.md — 컨텍스트 파일들
CRON.md — 크론 스케줄 (자주 실행될수록 비용 ↑)

기본 설정에서는 이 대용량 시스템 프롬프트가 캐시 없이 매번 과금됩니다.

Claude Sonnet 기준 토큰 가격:

유형가격Input (캐시 미스)$3.00 / 1M tokensCache Read (캐시 히트)$0.30 / 1M tokens절약률90%

### 1. cacheRetention: "long"

캐시 보존 기간을 최대(5분 → 최대 지원값)로 설정. Sonnet 모델에 적용.

### 2. contextPruning.ttl: "1h"

오래된 컨텍스트를 1시간 단위로 정리해 캐시 히트율 유지.

### 3. heartbeat.every: "59m"

Claude의 캐시 TTL(보통 1시간) 만료 직전에 하트비트로 캐시 갱신.
59분 주기 = 만료 1분 전에 갱신 → 캐시 연속성 유지.

### 4. diagnostics.cacheTrace.enabled: true

~/.openclaw/logs/cache-trace.jsonl에 캐시 히트/미스 로그 기록.
절약 금액 실시간 확인 가능.

### 설치 및 적용

# 1. 캐싱 최적화 적용 (openclaw.json 자동 업데이트 + gateway 재시작)
bash scripts/apply.sh

# 2. 오늘 캐시 절약액 확인
bash scripts/check-savings.sh

### CRON.md 분리 전략

크론 메시지가 길면 매 실행마다 토큰 소비 증가. → CRON.md를 짧게.

상세 내용: scripts/cron-md-template.md 참고.

핵심 원칙:

CRON.md에는 스케줄과 최소 지시문만
상세 운영 규칙은 SOUL.md·AGENTS.md에 위임
크론 메시지 1건당 목표: 50토큰 이하

### 절약 확인

bash scripts/check-savings.sh
# 예시 출력:
# 📊 오늘 캐시 절약 리포트 (2026-02-19)
# cacheRead 토큰: 1,234,567
# 절약 금액: $3.33 (vs 캐시 없을 때)

### 파일 구조

openclaw-cache-kit/
├── SKILL.md                    # 이 파일
└── scripts/
    ├── apply.sh                # 캐싱 설정 적용
    ├── check-savings.sh        # 절약 금액 확인
    └── cron-md-template.md     # CRON.md 분리 전략 템플릿
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: lifeissea
- Version: 1.1.1
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/openclaw-cache-kit)
- [Send to Agent page](https://openagent3.xyz/skills/openclaw-cache-kit/agent)
- [JSON manifest](https://openagent3.xyz/skills/openclaw-cache-kit/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/openclaw-cache-kit/agent.md)
- [Download page](https://openagent3.xyz/downloads/openclaw-cache-kit)