shrink-cache
When the desired worker count (fluid_workers_desired) is not 1 and used cache capacity is below 35%, shrink the cache capacity.
от fluid-cloudnative★ 44 звезды на GitHub
Установить shrink-cache в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Rules
- Make the decision based solely on Fluid system metrics and Kubernetes cluster metrics.
- Remove at most 1 worker per round, never below min_workers: {"action":"shrink","parameters":{"desired_replicas":N}} with N below fluid_workers_desired, the known desired replica count; fluid_workers is only the ready count, so read the replica baseline from fluid_workers_desired;
- Never shrink in the same round as an expand: if expand-cache planned one, plan nothing here;
- Do not shrink while a replica adjustment is still in progress (fluid_workers below fluid_workers_desired, i.e. new replicas are not Ready yet);
Interaction
At most one evict per round: if evict-cache already planned one, do not emit a second — shrink alone when its own conditions hold, otherwise plan nothing. High usage at the ceiling belongs to evict-cache; this strategy shrinks only once usage is genuinely low.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- SKILL-zh_CN.md
FAQ
Что делает скилл shrink-cache?
When the desired worker count (fluid_workers_desired) is not 1 and used cache capacity is below 35%, shrink the cache capacity.
Как установить скилл shrink-cache?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл shrink-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…