Cache Patch banner
doccker doccker

Cache Patch

Development community

Description

# /cache-patch - Claude Code 1h 缓存补丁 > **参数说明**:`$ARGUMENTS` 由 Claude Code 自动传递,对应用户输入的参数部分(如 `/cache-patch status` 中的 `status`)。 **立即执行以下命令,不做任何检测、搜索或判断:** ```bash 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` | ## 禁

Installation

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.

Full documentation available on GitHub

View Source Repository