Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

compaction-check

БесплатноЗапускает вложенные скриптыНе проверен

Answer the operator's compaction question (can I /compact now, is everything compounded and non-stale, is anything outstanding) by re-deriving the answer…

belumumeот belumume★ 47 звёзд на GitHub

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

Compaction check

Merged 2026-09-23. Two documents shared this name and shadowed each other: this user-scope copy (~/.claude/skills/compaction-check/SKILL.md, local-only, not committed, 2026-09-19) and a project-scope copy at ~/DEV/Learning/.claude/skills/compaction-check/SKILL.md (2026-09-16), which never loaded because a personal skill wins a name collision (A430, Gap 1). The project copy's frontmatter read, verbatim: description: Answer the operator's compaction question (can I /compact now, is everything compounded and non-stale, is anything outstanding) with a full audit rather than recall. Use whenever he asks whether to compact or close the session, whenever he re-sends the twelve-question file, and unprompted before any planned compaction. A third file, ~/DEV/Learning/vcc-2026/.claude/skills/compaction-check/MOVED.md (2026-09-16, 232 bytes), read in full: Moved to ~/DEV/Learning/.claude/skills/compaction-check/ on 2026-09-16, because Claude Code registers skills from the project root (DEV/Learning), not from this sub-project. This directory is kept only as this pointer. Both project files are deleted; every text run of 40 or more characters from both SKILL.md copies is present here, proof and must-fail control in ~/.claude/solutions/vcc-2026-harvest/records/A431-SKILL-MERGE-2026-09-23.md (copied out of the vcc-2026 project before its deletion). Where the two disagreed, BOTH statements are kept with dates under a CONTRADICTION marker.

Global. Runs in any project. The method here is portable; a project may add its own audit script, and if it has one, that script runs first and this file is the part it cannot do.

The audit script ships with this skill since 2026-11-10 and runs in any project:

python ~/.claude/skills/compaction-check/compaction_audit.py --root <project> [--tasks-dir ~/.claude/tasks/<list>]
python ~/.claude/skills/compaction-check/compaction_audit.py --selftest

A project may still add its own audit script; if it has one, that script runs first, then this one, and this file is the part neither can do. Until 2026-11-10 this section pointed at vcc-2026's 1,698-line research/_compaction_audit.py; that project left this PC, its verbatim copy is in ~/.claude/solutions/vcc-2026-harvest/code-snapshot/research/, and the checks that apply to any project were re-implemented in compaction_audit.py here.

Where this skill lives, and a superseded claim kept as a record

The project copy opened with this sentence, kept verbatim and dated 2026-09-16:

This skill lives at the Learning project root because that is the directory Claude Code registers skills from; the audit it runs belongs to the vcc-2026 sub-project and the command above names it by absolute path.

CONTRADICTION, dated. That claim (2026-09-16, and the MOVED.md pointer of the same day) is the inverse of the documented rule, read from code.claude.com on 2026-09-23 (A430): skills load from the directory a session STARTS in and from its parent directories, and on a name collision the order is Enterprise, then Personal, then Project. A copy at the Learning root therefore loaded only for a session started in or under DEV/Learning, and even then lost the collision to this user-scope file, so from 2026-09-19 (when this file was written) to 2026-09-23 the project copy reached no session. The user scope is the location that loads everywhere; that is why the merge landed here.

What he is actually asking

Two things, and neither is "have you been diligent":

  1. Would compacting right now lose anything?
  2. Is anything he could act on sitting unsaid?

Answer both, with numbers, in plain English. He keeps twelve phrasings of this in ~/PC/Downloads/compound, compact, handoff.txt; they reduce to: everything compounded, nothing stale, nothing outstanding. He asks more than once in an evening because the answer must be re-derived each time. Re-deriving it is the whole job.

The project copy put the same two points this way (2026-09-16):

He keeps twelve questions in ~/PC/Downloads/compound, compact, handoff.txt. They are twelve phrasings of three: is everything worth compounding compounded, is anything stale, is anything outstanding. He has asked in the same evening more than once because the answer must be re-derived each time, not remembered. Re-deriving it is the whole job.

Not "have you been diligent". He is asking whether a compaction right now would lose anything, and whether anything he could act on is sitting unsaid. Answer those two, with numbers.

Never answer from recall

Measured repeatedly: the honest answer was reached by checking and would have been wrong from memory. On 2026-09-19, three consecutive "is it ready to close" asks each turned up something real, and the third one corrected the second. The check is cheap; his trust in the answer is not.

Never answer from recall. Twice in one evening the honest answer was r

Полный SKILL.md на GitHub

Установить compaction-check в Claude Code и Claude Desktop

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

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

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

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

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

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

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

compaction_audit.pysession_start_compact.py

FAQ

Что делает скилл compaction-check?

Answer the operator's compaction question (can I /compact now, is everything compounded and non-stale, is anything outstanding) by re-deriving the answer rather than recalling it. Use whenever he asks whether to compact, whether the session is ready to close, whether everything is compounded, or when he re-sends "compound, compact, handoff.txt"; and unprompted before any planned compaction.

Как установить скилл compaction-check?

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

Скилл compaction-check запускает скрипты?

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

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

Сравнить compaction-check с