openclaw-session-header-fix

Community

Fix OpenClaw session header issues.

Authorcastle-x
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill resolves issues where OpenClaw session JSONL files are missing the crucial session header, leading to session overwrites and context loss.

Core Features & Use Cases

  • Identify Missing Headers: Detects if the first line of a session file lacks the required type: "session" field.
  • Backup and Repair: Creates a backup of the corrupted file and prepends the necessary header to restore session integrity.
  • Use Case: If your OpenClaw sessions are consistently short, get overwritten after each conversation, or openclaw doctor reports missing transcripts, this skill can automatically fix the underlying file structure.

Quick Start

Use the openclaw-session-header-fix skill to repair the session file for session ID 'your-session-id-here'.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: openclaw-session-header-fix
Download link: https://github.com/castle-x/skills-x/archive/main.zip#openclaw-session-header-fix

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.