ce-session-extract
Installation
SKILL.md
Session extract
Agent-facing primitive. Extract filtered content from a single Claude Code, Codex, or Cursor session file — either a conversation skeleton or error signals.
This skill exists so that agents do not read multi-megabyte session files into context. The scripts under scripts/ own the JSONL shape knowledge and emit a narrative-readable digest.
Arguments
Space-separated positional args:
<file>— absolute path to a session JSONL file (typically afilevalue returned byce-session-inventory).<mode>—skeletonorerrors.<limit>(optional) —head:Nortail:Nto cap output at N lines (e.g.,head:200). Omit to return full extraction.
Execution
Skeleton mode — narrative of user messages, assistant text, and collapsed tool-call summaries: