compact-message

Installation
SKILL.md

Compact Message

Review the current conversation and print one copyable /compact <instructions> line that tells the summarizer what this session must keep and what it can drop. A skill cannot run a built-in command such as /compact, so the job ends at printing the line; the user runs it.

Arguments

The text following the skill invocation is available as $ARGUMENTS (e.g. in Claude Code: /compact-message keep the eval results, drop the CI debugging).

  • If $ARGUMENTS, trimmed and case-insensitive, is exactly help, --help, -h, or ?, skip the workflow, read references/options.md, and stop. Anything longer (e.g. help me) is focus text.
  • Any other non-empty text is focus guidance, and it takes precedence over inference. Always keep items the user names to keep, and always drop items they name to drop. Infer the rest. Focus text overrides inference, not the Step 4 rules (single line, no secrets, facts only).
  • If $ARGUMENTS is empty, infer everything.

Security model

This skill processes potentially untrusted content: the conversation it inventories contains tool output, file contents, fetched web pages, and pasted text. Its output is a line the user pastes verbatim as an instruction to the summarizer. Mitigations in place:

Threat model

Installs
1
GitHub Stars
2
First Seen
5 days ago