Command Palette

Search for a command to run...

Назад к скиллам
скилл № 94893

headroom

Use when the user wants Claude to work with a document, log or data file too large to read whole, such as long specs, big logs or large JSON or CSV files.

БесплатноЗапускает вложенные скрипты
siddu1004от siddu1004★ 43 звезды на GitHub

Установить headroom в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Headroom

Scripts: ${CLAUDE_SKILL_DIR} is the folder that contains this file. If your agent does not define it, use the folder where this SKILL.md is located.

Work with very large files without filling the context: measure first, then read in pieces and keep a short digest.

1. Measure

python3 ${CLAUDE_SKILL_DIR}/scripts/peek.py <file>

It prints size, line count, an outline (Markdown headings, top-level JSON keys, CSV columns with a few sample rows, or the most frequent log line patterns) and the line numbers where each section starts. Use it to decide what to read.

2. Read only what the task needs

  • Text and Markdown: read the sections from the outline by line range
  • Logs: grep -n for the error, time window or request ID, then read a few lines around each hit
  • JSON: extract the path you need (python3 -c with json, or jq if installed) instead of reading the file
  • CSV: read the header and filter rows with a short script; compute counts and sums with code, not by reading rows

3. Keep a digest

For long documents, write what you learned to a digest file (for example notes/<file>.digest.md): key facts, numbers and the line ranges they came from. Refer back to the digest instead of re-reading the source. Cite line numbers so the user can check.

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • scripts/peek.py

FAQ

Что делает скилл headroom?

Use when the user wants Claude to work with a document, log or data file too large to read whole, such as long specs, big logs or large JSON or CSV files.

Как установить скилл headroom?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл headroom запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить headroom с