skills/claude-session-manager/SKILL.md
Manage Claude Code session transcripts from local JSONL storage, including listing candidate sessions, exporting full or selected sessions to organized Markdown, inspecting archives, and summarizing tool-call history. Use when the user asks to scan, parse, archive, inspect, recover, summarize, manage, or convert Claude Code sessions, `~/.claude/projects` data, `.jsonl` transcripts, tool-call history, or hard-to-read Claude Code conversation logs.
npx skillsauth add sugarforever/01coder-agent-skills claude-session-managerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Claude Code stores session transcripts as JSONL files under ~/.claude/projects/<project-key>/<session-id>.jsonl. Use the bundled manager to list candidates or export sessions into project-organized Markdown transcripts with a digest, a clean user/Claude conversation, and linked tool-call details.
Default output folder: ~/.claude/session-markdown. Tell the user before exporting there, and mention any custom output folder they requested.
Let the user's wording choose the mode when it is clear; otherwise ask them to choose before exporting:
Run from any directory:
python3 /path/to/claude-session-manager/scripts/manage_claude_sessions.py
Equivalent explicit form:
python3 /path/to/claude-session-manager/scripts/manage_claude_sessions.py \
--source ~/.claude/projects \
--output ~/.claude/session-markdown
Useful options:
--mode full: export all matching sessions. This is the default.--mode specific --list-candidates: print a numbered candidate table and do not export.--mode specific --pick N: export the Nth candidate from the same filtered candidate list.--project <text>: only export project folders whose key contains this text.--session <text>: only export sessions whose id or filename contains this text.--since YYYY-MM-DD: only export sessions modified on or after this date.--limit N: export the N most recently modified matching sessions.--include-tool-details-inline: embed full tool inputs/results in the main session Markdown. By default, the main transcript keeps compact collapsible tool summaries and links full payloads through the sidecar file.Use this flow when the user wants one session, is unsure which session they need, or asks to inspect recent sessions before converting.
--limit 20 by default unless the user asks for a different count.python3 /path/to/claude-session-manager/scripts/manage_claude_sessions.py \
--mode specific \
--list-candidates \
--limit 20
python3 /path/to/claude-session-manager/scripts/manage_claude_sessions.py \
--mode specific \
--list-candidates \
--project my-repo \
--since 2026-06-01 \
--limit 20
--pick N:python3 /path/to/claude-session-manager/scripts/manage_claude_sessions.py \
--mode specific \
--pick 3 \
--limit 20
If the user already gives an exact session id or unique fragment, use --mode specific --session <id-or-fragment> --list-candidates first when there is any ambiguity. Export with --pick 1 only when the candidate list has exactly one match.
The exporter writes:
~/.claude/session-markdown/
├── index.md
└── <project-key>/
├── index.md
├── <session-id>.md
└── tool-details/
└── <session-id>.tools.md
Keep the original Claude project key as the folder name. It is stable and avoids guessing at path decoding.
Each session Markdown includes:
## Timeline section as numbered third-level headers in ISO-8601 format: ### N. user - <ISO> for user turns and ### N. assistant - <ISO> for assistant turns.<tool_call_000001> Bash - command: npm test - result inside the relevant assistant turn, with matching sections in the sidecar details file by default.### N. attachment - <ISO>, ### N. permission-mode, ### N. file-history-snapshot, ### N. last-prompt, etc.) and [thinking] blobs in assistant turns are emitted as their own numbered events in the timeline. Readers should skip them as noise; they do not carry conversation content.<tool_call_000001> reference as a pointer into tool-details/<session-id>.tools.md.~/.claude/projects.~/.claude/session-markdown.--pick..jsonl files.tools
Design typography-driven video cover images using HTML/CSS + Chrome DevTools screenshot. Generates covers in all needed aspect ratios - 16:9 (YouTube), 16:10 (Bilibili), 9:16 and 3:4 (抖音/视频号 竖屏短视频) - with big readable text. Different from `cover-image` (AI hand-drawn aesthetic) - this is precise typography control via code. Use when user asks for "视频封面", "thumbnail", "做封面", "cover design", "缩略图", "横屏/竖屏封面", "抖音封面", "视频号封面".
data-ai
Produce slides-driven narration videos (口播视频) where each slide maps 1:1 to one voiceover section. Orchestrates a slides-generating skill (PPT, chosen from whatever is available) and `video-planner` (script + publishing materials) with a method-focused production workflow. Use when user wants to make a video that uses slides to explain a topic - e.g. 发布解读 / 产品评测 / 行业观察 / 技术解读 / 趋势分析. Triggers on "做一期视频 + PPT", "slides 视频", "发布解读视频", "深度讲解视频", or similar requests for structured narration videos.
development
Review one completed Claude Code session and propose a skill to create, update, or reuse so similar work goes faster next time. Use when the user asks to "mine a session for skills", "what skill can be created or updated from the session where I…", "extract a skill from this chat", or to review a past session for reusable workflows. Operates on exported session markdown from claude-session-manager. Not for exporting/converting sessions (use claude-session-manager) and not for writing blogs or TODOs from sessions.
tools
Manage local Codex session transcripts, including listing candidate sessions, exporting full or selected sessions to organized Markdown, inspecting archived sessions, and summarizing tool-call history. Use when the user asks to scan, parse, archive, inspect, recover, summarize, manage, or convert Codex sessions, `~/.codex/sessions` data, `~/.codex/archived_sessions` data, `.jsonl` transcripts, tool-call history, or hard-to-read Codex conversation logs.