From qe-framework
Saves and restores Claude Code context across sessions to continue work later. Automatically saves snapshots and decisions under context pressure or on /Qcompact invocation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/qe-framework:QcompactThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A skill that automatically preserves context under context window pressure, and generates detailed handoff documents on user request.
A skill that automatically preserves context under context window pressure, and generates detailed handoff documents on user request.
Multiple terminals on the same project save into separate sessions/{sid}/ directories so they never clobber each other. The 8-char sid is auto-derived from the Claude session id by the SessionStart hook and surfaced as [Session] sid:XXXXXXXX in additionalContext — there is no manual --name flag. When no sid is available the _unknown bucket is used; pre-partition flat files were one-shot migrated into _legacy.
Ecompact-executor detects context pressure and runs automatically in the background.
.qe/context/sessions/{sid}/snapshot.md.qe/context/sessions/{sid}/decisions.mdCalling /Qcompact directly generates a detailed handoff document.
.qe/handoffs/sessions/{sid}/HANDOFF_{date}_{time}.md.qe/context/sessions/{sid}/ (auto-named per Claude session)
snapshot.md — Context SnapshotOverwritten on each save (only the latest state is retained):
# Context Snapshot
> Saved at: 2026-03-14 10:30
## Current Task
- In-progress task UUID and title
- Checklist progress (completed/total)
- Checklist item currently being worked on
## Key Decisions
- Major decisions made this session
- Directions explicitly instructed by the user
## Changed Files
- Files created/modified/deleted this session
## Pending Items
- Work not yet finished
- What to do next
## Notes
- Constraints or requirements to remember specifically
decisions.md — Accumulated Decision HistoryAccumulated per session (reverse order, newest first):
## [2026-03-14] Session
- Decided to separate framework data into .qe/ folder
- Changed agent prefix from A → E
- Branded as QE framework (Query Executor)
Call the Ehandoff-executor sub-agent to generate the handoff document.
.qe/handoffs/ directory (if not present)HANDOFF_{date}_{time}.md file[TODO: ...] placeholders remainScan .qe/handoffs/sessions/{sid}/ for the active sid first. If empty, fall back to _legacy/ and other sessions (oldest sessions are stalest).
| Level | Meaning |
|---|---|
| FRESH | Safe to resume — minimal changes |
| SLIGHTLY_STALE | Review changes before resuming |
| STALE | Carefully verify context |
| VERY_STALE | Consider creating a new handoff |
In long-running projects, link handoffs to each other to maintain context lineage:
HANDOFF_1.md → HANDOFF_2.md → HANDOFF_3.md
| Mode | Location | Purpose |
|---|---|---|
| Automatic | .qe/context/sessions/{sid}/snapshot.md | Latest context for this terminal (overwrite) |
| Automatic | .qe/context/sessions/{sid}/decisions.md | Accumulated decisions for this terminal |
| Manual | .qe/handoffs/sessions/{sid}/HANDOFF_*.md | Detailed handoff document for this terminal |
npx claudepluginhub inho-team/qe-framework --plugin qe-frameworkCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.