long-session-check

Evaluate long conversation handling, context compaction, memory scoping, and session continuity patterns.

554|41|Updated Oct 28, 2026
Ready to run
npx skills add https://github.com/MiniMax-AI/mcode-stack --skill long-session-check-minimax-ai
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: long-session-check
Source: https://github.com/MiniMax-AI/mcode-stack/tree/main/stacks/ronny/skills/long-session-check
Command: npx skills add https://github.com/MiniMax-AI/mcode-stack --skill long-session-check-minimax-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Long AI sessions frequently suffer from degraded memory, lost constraints, and poor decision-making after multiple context compactions. This Skill provides a systematic way to audit both your current session and agent designs to identify where critical information is being lost and how to preserve it. ## Core Features & Use Cases - Mode A - Session Self-Audit: Categorize current context into what to drop, summarize, or write to files; choose whether to compact, start fresh, or rewind. - Mode B - Agent Design Review: Evaluate 12 dimensions of how an agent manages context, including tool result clearing, file-based decisions, compaction triggers, and memory scoping. - Use Case: After three context compactions in a long refactoring task, your session starts repeating questions and forgetting earlier decisions. Run Mode A to identify what should have been written to a progress file, then decide whether to compact or start fresh with a handoff doc. ## Quick Start When your session feels like it's losing track of decisions or constraints, run this skill to sort your current context into three bins and decide the best next move.

Frequently Asked Questions about long-session-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
When should I compact context versus start a new session?▼

Compact when working on the same task and needing to preserve tool results and recent decisions. Start fresh if the task changed, you've compacted several times and are drifting, or earlier constraints are being forgotten. Write a handoff doc first if compacting multiple times.

What information must be written to files instead of kept in conversation?▼

Decisions and their reasoning, acceptance criteria, long-lived rules, progress milestones, and discovered blockers should be written to project files or a progress doc. Conversation-only storage is lossy across compactions and session boundaries.

How do I evaluate if an agent's context management is production-ready?▼

Use Mode B to check 12 design dimensions: whether old tool results are cleared, compaction preserves tool-result pairs, key decisions go to files, and automatic compaction triggers early enough. Failing multiple checks indicates gaps in reliability.

Why do sessions start repeating questions after compaction?▼

Repetition signals that critical context (decisions, constraints, or prior attempts) was only in conversation history, not written to files. Compaction removes it, and later context injections lack that history, forcing re-explanation.

What is the difference between session memory and project memory?▼

Session memory applies only to the current conversation and is lost on context compaction. Project memory is long-term, injected each session, and must contain only stable rules—temporary progress and todos belong in session-scoped files or documents.

Can compaction break if quota or model constraints are hit?▼

Yes. Robust agents must check whether compaction succeeded and continue operating if it fails (smaller model fallback, retry logic). Design compaction with headroom so the summary itself fits, and keep the model informed that context is auto-managed.