expand-cache
Expand when used cache capacity reaches about 70% or the remaining capacity can no longer hold the current hot working set, up to the worker ceiling.
от fluid-cloudnative★ 44 звезды на GitHub
Установить expand-cache в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Rules
Expand on either trigger: (a) used_ratio reaches about 70%, or (b) the remaining capacity cannot hold the current hot working set — the total size of the actively accessed files exceeds
capacity_bytes - used_bytes. Judge on the working set, not on the ratio alone: a cache can sit below 70% and still be unable to admit the files in demand. Usage only moves when this agent acts, so a ratio stuck just under the threshold never crosses it by itself — waiting for 70% in that state never expands;Skip marginal expansions; prefer preload for occasional small files when space is ample;
Read
context.policies.expand: replica_increment defaults to 1; max_workers (default 2) is a hard ceiling on the replica count and the same value ascontext.policies.evict.max_workers— the two must stay equal;At most one expand per round: {"action":"expand","parameters":{"desired_replicas":N}} with N the target total (insufficient_data when unknown); expand comes before preload; no preloads depending on the new capacity in this round.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- SKILL-zh_CN.md
FAQ
Что делает скилл expand-cache?
Expand when used cache capacity reaches about 70% or the remaining capacity can no longer hold the current hot working set, up to the worker ceiling.
Как установить скилл expand-cache?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл expand-cache запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…