doccker

Cache Patch — Development skill for Claude Code

Development community

/cache-patch - Claude Code 1h 缓存补丁.

How to install Cache Patch

Installs to ~/.claude/commands/doccker-cc-use-exp-cache-patch.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/doccker/cc-use-exp/HEAD/.claude/commands/cache-patch.md -o ~/.claude/commands/doccker-cc-use-exp-cache-patch.md

Restart Claude Code, or start a new session, for it to be picked up.

What Cache Patch does

/cache-patch - Claude Code 1h 缓存补丁

**参数说明**:`$ARGUMENTS` 由 Claude Code 自动传递,对应用户输入的参数部分(如 `/cache-patch status` 中的 `status`)。

**立即执行以下命令,不做任何检测、搜索或判断:**

cp ~/.claude/templates/cache-patch/claude-1h-cache-patch.js ./claude-1h-cache-patch.js && node claude-1h-cache-patch.js $ARGUMENTS && rm claude-1h-cache-patch.js

参数映射

用户输入 $ARGUMENTS
/cache-patch patch
/cache-patch status status
/cache-patch restore restore

禁

Alternatives in Development

  • Epic Publish — Publish a validated epic update back to the issue and local cache 243.5k ★
  • System Cache Cleanup — Clean temporary files and caches to free disk space: $ARGUMENTS 23.4k ★
  • Check 1: Cache Exists? — CLAUDE_DIR="${CLAUDE_CONFIG_DIR:-$HOME/.claude}" CACHE_EXISTS=$(ls -d "$CLAUDE_DIR/plugins/cache/claude-hud" 2 10.9k ★

Full documentation available on GitHub

View Source Repository