token-saver-adaptive-ratio
БесплатноЗапускает вложенные скриптыНе проверенHelper skill that exposes adaptive token-saver compression ratios for large context corpora.
от oimiragieo★ 48 звёзд на GitHubОб этом скилле
Token Saver Adaptive Ratio
Computes adaptive skeleton ratio based on corpus token count for context compression.
Purpose
This skill provides the computeAdaptiveRatio function that determines the optimal compression ratio based on the size of the context corpus:
- <8K tokens: Returns 0.8 (keep 80% of content)
- 8-32K tokens: Returns 0.5 (keep 50% of content)
- 32-100K tokens: Returns 0.2 (keep 20% of content)
- >100K tokens: Returns 0.1 (keep 10% of content)
Usage
const { computeAdaptiveRatio } = require('./scripts/main.cjs');
const ratio = computeAdaptiveRatio(50000); // Returns 0.2
When to Use
- Before running context compression to determine the target compression ratio
- When estimating token budget for large file reads
- As part of the token-saver-context-compression workflow
Implementation
Re-exports the computeAdaptiveRatio function from token-saver-context-compression for module resolution and testing purposes.
Установить token-saver-adaptive-ratio в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл token-saver-adaptive-ratio?
Helper skill that exposes adaptive token-saver compression ratios for large context corpora.
Как установить скилл token-saver-adaptive-ratio?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл token-saver-adaptive-ratio запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic