From sync-claude-sessions
Sync Claude Code sessions to Obsidian markdown. Export, resume, add notes, close sessions. USE WHEN user says "sync sessions", "export sessions", "resume session", "add session note", "close session", "log session".
How this skill is triggered — by the user, by Claude, or both
Slash command
/sync-claude-sessions:sync-claude-sessionsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Export Claude Code conversations to Obsidian for observability and analysis.
Export Claude Code conversations to Obsidian for observability and analysis.
# Alias (add to ~/.zshrc)
alias cs="python3 ~/.claude/skills/sync-claude-sessions/scripts/claude-sessions"
# Common commands
cs list # Active sessions
cs list --all # All sessions
cs export --today # Export today's sessions
cs resume --pick # Interactive resume
cs note "got it working" # Add timestamped comment
cs close "done" # Mark session done
| Command | Description |
|---|---|
sync | Sync session (hook or explicit) |
export | Batch export (--today, --all, <file>) |
resume | Resume session (--pick, --active, <file>) |
note | Add timestamped comment |
close | Mark done + optional comment |
list | List sessions (--active, --all, --json) |
| Task | Workflow |
|---|---|
| Enable live sync hooks | workflows/setup.md |
| Log/annotate session | workflows/log-session.md |
Sessions exported to Claude-Sessions/ with:
type, date, session_id, title, summary, skills, messages, status, tags, rating, comments## My Notes sectioncomments, related, status, tags, ratingSee
Templates/Types/claude-session.mdfor the canonical template.
type: claude-session
date: YYYY-MM-DD
session_id: uuid
title: "..."
summary: "..." # auto-generated by Claude Code or haiku
skills: [skill1, skill2]
messages: 42
last_activity: ISO timestamp
status: active | done | blocked | handoff
tags: [] # see schema/tags.yaml
rating: null # 1-10
comments: |
[2026-02-05 14:30] Comment here
[2026-02-05 15:00] Another comment
related: []
Tags are defined in schema/tags.yaml with descriptions, keywords, and examples.
Type tags: research, implementation, debugging, planning, brainstorm, admin, quick, video, automation, writing
Project tags: lab, openclaw, personal, client
Agent should read schema/tags.yaml to validate tags when logging sessions.
npx claudepluginhub adamlevoy/claude-plugins --plugin sync-claude-sessionsExports Claude Code session JSONL files to human-readable markdown with role markers and timestamps. Use to save, review, share transcripts, or feed dev-diary pipelines.
Browses, inspects, and imports Claude Code session history. Lists sessions by project/tool/date, shows details or full conversations, imports to markdown journals.
Manages continuity between Claude Code sessions: saves summaries, decisions, pending tasks from JSONL logs and loads automatic briefings with SQLite-backed search.