prompt-master-coderestart

Generate a structured handoff brief for Claude Code CLI session restarts.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/adriaanmostert1976-lab/adriaan-toolkits --skill prompt-master-coderestart
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: prompt-master-coderestart
Source: https://github.com/adriaanmostert1976-lab/adriaan-toolkits/tree/main/source/prompt-master/prompt-master-coderestart
Command: npx skills add https://github.com/adriaanmostert1976-lab/adriaan-toolkits --skill prompt-master-coderestart

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a structured handoff for restarting Claude Code CLI sessions, ensuring a clean start without losing context or work in progress.

Core Features & Use Cases

  • Clean Restart Brief: Writes a concise handoff brief for a new Claude Code CLI session.
  • Context Management: Helps manage and discard stale context from previous sessions.
  • Goal Setting: Assists in setting clear goals for the new session to prevent drift.
  • Use Case: When Adriaan needs to start a new Claude Code session on the same machine, after a long-running session has accumulated too much context.

Quick Start

Use the prompt-master-coderestart skill to generate a handoff brief for a new Claude Code session by providing the current context and goals.

Frequently Asked Questions about prompt-master-coderestart

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

FAQPage Schema
How do I restart a Claude Code CLI session without losing context?▼

A clean restart of a Claude Code CLI session requires a structured handoff brief that summarizes completed work and sets clear goals to ensure continuity without losing work in progress.

Why does context drift happen in long-running Claude Code CLI sessions?▼

Context drift occurs when long-running Claude Code CLI sessions accumulate excessive background information, causing the model to lose focus; generating a handoff brief manages and discards stale context to prevent this.

What's the best way to manage context when starting a new Claude Code session on the same machine?▼

Managing context for a new Claude Code session involves discarding stale data from previous sessions and setting explicit goals for the new session to prevent drift and maintain development focus.

Does Claude Code CLI need a specific version to support goal setting for clean restarts?▼

Yes, generating a handoff brief for clean restarts requires a Claude Code CLI version that supports the /goal command to effectively set clear goals and manage context for new sessions.

When do I need to generate a handoff brief for Claude Code?▼

You need a handoff brief when a long-running Claude Code CLI session has accumulated too much context, and you want to start a new session on the same machine without losing track of work in progress.

What limitations should I expect when discarding stale context from Claude Code sessions?▼

A limitation of context management during a clean restart is that without a properly structured handoff brief, manually discarding stale context from Claude Code sessions may result in losing track of completed work.