Skip to content
Productivity
Skill

/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".

From plugin
personal-os-skills
5558 skills

Claude Code

$ npx -y skills add ArtemXTech/personal-os-skills --skill sync-claude-sessions --agent claude-code

SKILL.md

sync-claude-sessions.SKILL.md
name: sync-claude-sessions
description: 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".

Sync Claude Sessions

Export Claude Code conversations to Obsidian for observability and analysis.

Quick Reference

# 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

Commands

| 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`) |

Workflow Routing

| Task | Workflow | |------|----------| | Enable live sync hooks | [workflows/setup.md](workflows/setup.md) | | Log/annotate session | [workflows/log-session.md](workflows/log-session.md) |

Output

Sessions exported to `Claude-Sessions/` with:

  • Frontmatter: `type`, `date`, `session_id`, `title`, `summary`, `skills`, `messages`, `status`, `tags`, `rating`, `comments`
  • Content: Summary, Skills Used (linked), Artifacts (wiki-linked), My Notes, Conversation

Preserved on Sync

  • `## My Notes` section
  • Frontmatter: `comments`, `related`, `status`, `tags`, `rating`

Frontmatter Schema

> See `Templates/Types/claude-session.md` for 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 Schema

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.

Read more
@artemxtech
Ships withpersonal-os-skills

Claude Code skills for Obsidian workflows. πŸ“š Take control over your life. Claude Code x Obsidian Lab, 4 weeks live, starts Nov 10: lab.artemzhutov.com

Stars on GitHub

Momentum

stars in total
555
Star history of ArtemXTech/personal-os-skills on GitHub, a chart by star-history.com

Other skills on personal-os-skills.

chief-of-ai

chief-of-ai

Coordinate authorized work across persistent AI agents and existing tasks. Use when the user asks to route work, hand off a task,…

granola

granola

Query and sync Granola meetings to Obsidian vault. Use when user mentions Granola, meeting transcripts, or wants to sync meeting…

notebooklm

notebooklm

Turn expert podcasts into personalized protocols with cited experiments. Load 300 episodes from terminal, run an expert-informed…

recall

recall

Load context from vault memory. Temporal queries (yesterday, last week, session history) use native JSONL timeline. Topic queries…

tasknotes

tasknotes

Manage tasks in Obsidian via TaskNotes plugin API. Use when user wants to create tasks, list tasks, query by status or project,…

More skills from other plugins.

i-have-adhd

i-have-adhd

Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…

@ayghri@ayghriInstall Skill
ab-test-analysis

ab-test-analysis

Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop…

pm-skills13d28k
@phuryn@phurynInstall Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

Questions about sync-claude-sessions.

Which coding agents can use sync-claude-sessions?
sync-claude-sessions installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.