save-context

Installation
SKILL.md

Save Context

Save current session state to CONTEXT-{stream}-llm.md with LLM-optimized format.

Target: 2500-3000 tokens MAX | Speed: 3-5 seconds (Not a throwaway summary: the working memory of a multi-session stream, holding accumulating per-role lines.)

⚠️ AskUserQuestion Guard

CRITICAL: After EVERY AskUserQuestion call, check if answers are empty/blank. Known Claude Code bug: outside Plan Mode, AskUserQuestion silently returns empty answers without showing UI.

If answers are empty: DO NOT proceed with assumptions. Instead:

  1. Output: "⚠️ Questions didn't display (known Claude Code bug outside Plan Mode)."
  2. Present the options as a numbered text list and ask user to reply with their choice number.
  3. WAIT for user reply before continuing.

⚠️ VERBATIM RULE

CRITICAL: Never rewrite the text after the colon of a carried-forward line. Never touch a line whose role is not yours — copy it byte-for-byte. A Haiku pass once reworded a user's exact phrasing while explicitly asked to quote it verbatim — hence Sonnet here, not Haiku.

Installs
5
GitHub Stars
21
First Seen
Apr 2, 2026