context-manager
Minifier & Context Controller for Token Saving.
от Nhqvu2005★ 54 звезды на GitHub
Установить context-manager в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Context Manager
Purpose
Reduces token usage by minifying code before sending it to the LLM. Strips comments and whitespace while preserving logic.
Usage
1. Minify a File (Print to stdout)
python .agent/skills/context-manager/scripts/minify.py src/utils.py
2. Estimate Tokens (Simple)
(Coming soon: token_calc.py)
Strategy
Use this skill in your workflows when you need to read a large file for context but don't need to edit it. Example:
"Read
utils.pyto understand the helper functions." Action:run_command("python minify.py utils.py")Result: You get the code without 500 lines of docstrings.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- scripts/minify.py
FAQ
Что делает скилл context-manager?
Minifier & Context Controller for Token Saving.
Как установить скилл context-manager?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл context-manager запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet 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…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…