session-sync

Export Claude Code sessions into structured Markdown with frontmatter metadata.

1|1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/thieung/personal-wiki-hub --skill session-sync-thieung
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-sync
Source: https://github.com/thieung/personal-wiki-hub/tree/main/.claude/skills/session-sync
Command: npx skills add https://github.com/thieung/personal-wiki-hub --skill session-sync-thieung

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Exporting Claude Code sessions into structured Markdown with lifecycle management, enabling easy review, search, and archival while preserving key metadata across exports.

Core Features & Use Cases

  • Export sessions from Claude Code to per-session Markdown files with frontmatter containing title, date, conversation, and skills.
  • Preserve critical metadata during re-sync, including status, tags, rating, and user notes, while updating content.
  • Integrate with QMD for search and indexing, enabling fast retrieval and analysis of session histories.

Quick Start

Export all Claude Code sessions to Markdown using the session-sync script.

Frequently Asked Questions about session-sync

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

FAQPage Schema
How do I export Claude Code sessions to Markdown for easy search and review?

Export Claude Code sessions to Markdown by parsing JSONL transcripts into structured files with frontmatter containing title, date, conversation, skills, and artifacts for fast retrieval and archival.

Can I re-sync Claude Code session exports without losing my existing tags and notes?

Re-syncing Claude Code session exports preserves critical metadata including status, tags, rating, and user notes while updating conversation content, ensuring no manual annotations are lost during updates.

What metadata is included when exporting Claude Code conversations to Markdown?

Exporting Claude Code conversations to Markdown includes per-session metadata such as title, date, full conversation, skills used, artifacts generated, and lifecycle fields within the Markdown frontmatter.

Does session-sync work with QMD for indexing and searching Markdown session histories?

Session-sync integrates with QMD for search and indexing, enabling fast retrieval and analysis of exported Markdown session histories through structured frontmatter and project-based organization.

How do I organize exported Claude Code Markdown files by project?

Organize exported Claude Code Markdown files through project-based directory structuring, where the session-extractor parses JSONL transcripts and the markdown_renderer outputs structured Markdown with preserved lifecycle fields.

What's the best way to archive Claude Code session transcripts with lifecycle management?

Archive Claude Code session transcripts by exporting JSONL data into structured Markdown with lifecycle management, preserving status fields and user notes across re-syncs for long-term review and analysis.