{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/openclaw-cache-kit",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-cache-kit",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/apply.sh",
      "scripts/check-savings.sh",
      "scripts/cron-md-template.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/openclaw-cache-kit",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "openclaw-cache-kit",
        "body": "Inspired by: OpenClaw 프롬프트 캐싱 최적화 가이드\n\nClaude API 비용을 최대 89%까지 줄이는 OpenClaw 캐싱 최적화 킷."
      },
      {
        "title": "왜 캐싱이 중요한가?",
        "body": "OpenClaw는 매 요청마다 다음 파일들을 시스템 프롬프트로 전송합니다:\n\nSOUL.md — 페르소나·운영 규칙 (수백~수천 토큰)\nAGENTS.md, TOOLS.md, MEMORY.md — 컨텍스트 파일들\nCRON.md — 크론 스케줄 (자주 실행될수록 비용 ↑)\n\n기본 설정에서는 이 대용량 시스템 프롬프트가 캐시 없이 매번 과금됩니다.\n\nClaude Sonnet 기준 토큰 가격:\n\n유형가격Input (캐시 미스)$3.00 / 1M tokensCache Read (캐시 히트)$0.30 / 1M tokens절약률90%"
      },
      {
        "title": "1. cacheRetention: \"long\"",
        "body": "캐시 보존 기간을 최대(5분 → 최대 지원값)로 설정. Sonnet 모델에 적용."
      },
      {
        "title": "2. contextPruning.ttl: \"1h\"",
        "body": "오래된 컨텍스트를 1시간 단위로 정리해 캐시 히트율 유지."
      },
      {
        "title": "3. heartbeat.every: \"59m\"",
        "body": "Claude의 캐시 TTL(보통 1시간) 만료 직전에 하트비트로 캐시 갱신.\n59분 주기 = 만료 1분 전에 갱신 → 캐시 연속성 유지."
      },
      {
        "title": "4. diagnostics.cacheTrace.enabled: true",
        "body": "~/.openclaw/logs/cache-trace.jsonl에 캐시 히트/미스 로그 기록.\n절약 금액 실시간 확인 가능."
      },
      {
        "title": "설치 및 적용",
        "body": "# 1. 캐싱 최적화 적용 (openclaw.json 자동 업데이트 + gateway 재시작)\nbash scripts/apply.sh\n\n# 2. 오늘 캐시 절약액 확인\nbash scripts/check-savings.sh"
      },
      {
        "title": "CRON.md 분리 전략",
        "body": "크론 메시지가 길면 매 실행마다 토큰 소비 증가. → CRON.md를 짧게.\n\n상세 내용: scripts/cron-md-template.md 참고.\n\n핵심 원칙:\n\nCRON.md에는 스케줄과 최소 지시문만\n상세 운영 규칙은 SOUL.md·AGENTS.md에 위임\n크론 메시지 1건당 목표: 50토큰 이하"
      },
      {
        "title": "절약 확인",
        "body": "bash scripts/check-savings.sh\n# 예시 출력:\n# 📊 오늘 캐시 절약 리포트 (2026-02-19)\n# cacheRead 토큰: 1,234,567\n# 절약 금액: $3.33 (vs 캐시 없을 때)"
      },
      {
        "title": "파일 구조",
        "body": "openclaw-cache-kit/\n├── SKILL.md                    # 이 파일\n└── scripts/\n    ├── apply.sh                # 캐싱 설정 적용\n    ├── check-savings.sh        # 절약 금액 확인\n    └── cron-md-template.md     # CRON.md 분리 전략 템플릿"
      }
    ],
    "body": "openclaw-cache-kit\n\nInspired by: OpenClaw 프롬프트 캐싱 최적화 가이드\n\nClaude API 비용을 최대 89%까지 줄이는 OpenClaw 캐싱 최적화 킷.\n\n왜 캐싱이 중요한가?\n\nOpenClaw는 매 요청마다 다음 파일들을 시스템 프롬프트로 전송합니다:\n\nSOUL.md — 페르소나·운영 규칙 (수백~수천 토큰)\nAGENTS.md, TOOLS.md, MEMORY.md — 컨텍스트 파일들\nCRON.md — 크론 스케줄 (자주 실행될수록 비용 ↑)\n\n기본 설정에서는 이 대용량 시스템 프롬프트가 캐시 없이 매번 과금됩니다.\n\nClaude Sonnet 기준 토큰 가격:\n\n유형\t가격\nInput (캐시 미스)\t$3.00 / 1M tokens\nCache Read (캐시 히트)\t$0.30 / 1M tokens\n절약률\t90%\n4가지 핵심 설정\n1. cacheRetention: \"long\"\n\n캐시 보존 기간을 최대(5분 → 최대 지원값)로 설정. Sonnet 모델에 적용.\n\n2. contextPruning.ttl: \"1h\"\n\n오래된 컨텍스트를 1시간 단위로 정리해 캐시 히트율 유지.\n\n3. heartbeat.every: \"59m\"\n\nClaude의 캐시 TTL(보통 1시간) 만료 직전에 하트비트로 캐시 갱신. 59분 주기 = 만료 1분 전에 갱신 → 캐시 연속성 유지.\n\n4. diagnostics.cacheTrace.enabled: true\n\n~/.openclaw/logs/cache-trace.jsonl에 캐시 히트/미스 로그 기록. 절약 금액 실시간 확인 가능.\n\n설치 및 적용\n# 1. 캐싱 최적화 적용 (openclaw.json 자동 업데이트 + gateway 재시작)\nbash scripts/apply.sh\n\n# 2. 오늘 캐시 절약액 확인\nbash scripts/check-savings.sh\n\nCRON.md 분리 전략\n\n크론 메시지가 길면 매 실행마다 토큰 소비 증가. → CRON.md를 짧게.\n\n상세 내용: scripts/cron-md-template.md 참고.\n\n핵심 원칙:\n\nCRON.md에는 스케줄과 최소 지시문만\n상세 운영 규칙은 SOUL.md·AGENTS.md에 위임\n크론 메시지 1건당 목표: 50토큰 이하\n절약 확인\nbash scripts/check-savings.sh\n# 예시 출력:\n# 📊 오늘 캐시 절약 리포트 (2026-02-19)\n# cacheRead 토큰: 1,234,567\n# 절약 금액: $3.33 (vs 캐시 없을 때)\n\n파일 구조\nopenclaw-cache-kit/\n├── SKILL.md                    # 이 파일\n└── scripts/\n    ├── apply.sh                # 캐싱 설정 적용\n    ├── check-savings.sh        # 절약 금액 확인\n    └── cron-md-template.md     # CRON.md 분리 전략 템플릿"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/lifeissea/openclaw-cache-kit",
    "publisherUrl": "https://clawhub.ai/lifeissea/openclaw-cache-kit",
    "owner": "lifeissea",
    "version": "1.1.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}