session-init

Resume coding sessions from .ai-session/STATE.md checkpoints or start fresh.

1|1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/wangke19/my-claude-skills --skill session-init-wangke19
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-init
Source: https://github.com/wangke19/my-claude-skills/tree/main/plugins/cc-aid/skills/session-init
Command: npx skills add https://github.com/wangke19/my-claude-skills --skill session-init-wangke19

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps initialize coding sessions by resuming from saved checkpoints or starting fresh, ensuring clear task definitions and avoiding carryover from prior work.

Core Features & Use Cases

  • Resume from an existing checkpoint at .ai-session/STATE.md and continue from the recorded NEXT ACTION
  • Start a fresh session when no checkpoint exists and prompt for a task definition
  • Enforce execution of NEXT ACTION and provide a safe, deterministic session flow; include optional checkpoint creation
  • No re-explanation of checkpoint; limited clarifying questions when NEXT ACTION is ambiguous

Quick Start

Invoke the /session-init command to begin a new coding session or resume from an existing checkpoint.

Frequently Asked Questions about session-init

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

FAQPage Schema
How do I resume a coding session from a previous checkpoint?

To resume a coding session from a checkpoint, the skill reads .ai-session/STATE.md, displays a session summary, and immediately executes the recorded NEXT ACTION using context from FILES/CONTEXT without re-explaining the checkpoint.

How do I start a fresh coding session and define a new task?

To start a fresh coding session when no checkpoint exists, the skill prompts you for a task definition and offers to create an initial checkpoint to establish a deterministic workflow.

What is the best way to avoid context carryover when starting new AI coding work?

Avoiding context carryover requires starting a fresh session; the skill checks for an existing .ai-session/STATE.md file and prompts for a new task definition if no prior checkpoint is found.

Does initializing a session re-explain previous checkpoint context?

No, initializing a session does not re-explain checkpoint context; it displays a standardized summary and proceeds directly to executing the NEXT ACTION, asking only limited clarifying questions if the action is ambiguous.

Can I execute workflow tasks deterministically when resuming coding work?

Yes, you can execute workflow tasks deterministically when resuming coding work; the skill enforces execution of the NEXT ACTION from the checkpoint to provide a safe and predictable session flow.