session-reset

Compact long-running AI development session context into structured 6-section blocks.

Updated May 3, 2024
One-click install
npx skills add https://github.com/Kyonax/dot-files --skill session-reset
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-reset
Source: https://github.com/Kyonax/dot-files/tree/main/.config/doom-mac/gptel-directives/skills/session-reset
Command: npx skills add https://github.com/Kyonax/dot-files --skill session-reset

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Long AI development sessions lose critical context when they hit token limits or are manually reset, forcing you to re-explain project background, re-debate past decisions, and re-discover implementation details every time you start a new conversation.

Core Features & Use Cases

  • Structured Context Compaction: Compacts all accumulated session knowledge into a bounded, 6-section markdown context block with a 3693-line limit and smart compression to preserve the most relevant information for future sessions.
  • Architecture Memory Extraction: Optionally pulls reusable cross-project architectural knowledge (decisions, patterns, constraints) into persistent memory files with cross-session reference syntax to avoid re-deriving the same insights across projects.
  • Audit-Ready Activity Log: Mandates a datetime-stamped activity log for every session, providing a full audit trail of work and serving as an accurate input for time-tracking automation tools.
  • Use Case: For long-running software development projects with multiple AI conversations, use this skill to reset your session without losing any context, so you can resume work immediately on your next conversation without re-explaining project state or re-discovering past decisions.

Quick Start

Use the session-reset skill to compact your current AI development session's accumulated context into a structured, reusable session file that preserves all guidelines, decisions, implementations, and activity history for future conversations.

Frequently Asked Questions about session-reset

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

FAQPage Schema
How do I preserve AI context when resetting long-running development sessions?

To preserve AI context during a session reset, compact accumulated session knowledge into a bounded, structured context block with a 6-section architecture. This prevents context loss and enables immediate future AI session resumption without re-explaining project state.

What is context compaction for AI session management?

Context compaction is the process of compressing accumulated knowledge from extended AI conversations into bounded, structured markdown context blocks. It applies a 5-level compression protocol to ensure context blocks remain parseable and optimized for future sessions.

How do I extract reusable architectural knowledge from past AI conversations?

You can extract reusable architectural knowledge by pulling decisions, patterns, and constraints from long-running sessions into persistent memory files. These files use cross-session reference syntax to avoid re-deriving the same insights across multiple projects.

Can I use structured context blocks for time-tracking automation?

Yes, structured context blocks support time-tracking automation through a mandatory datetime-stamped activity log. This append-only log provides a full audit trail of work performed during the software development session.

What is the line limit for oversized context block compression?

Oversized context block compression is triggered by a 3693-line threshold. When this limit is reached, an impact-aware 5-level compression protocol is applied to preserve the most relevant information for future AI session resumption.

Does session-reset work without external dependencies for software engineering workflows?

Yes, session-reset operates independently without external dependencies to compact AI development sessions. It enforces a mandatory 6-section context block architecture to ensure context blocks are parseable, auditable, and optimized for cross-session memory.