Skip to content
Skills Library
Personal productivity · Automation

sync-claude-sessions

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

Licence
MIT
Last repository change
19.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
5
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 19.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

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

Triggers from the description

sync sessionsexport sessionsresume sessionadd session noteclose sessionlog session
Original author 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".

How it works

  1. Quick Reference
  2. Commands
  3. Workflow Routing
  4. Output
  5. Preserved on Sync
  6. Frontmatter Schema
  7. Tags Schema
Original SKILL.md headings · 81 lines, 307 words
SKILL.md preview
---
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

```bash
# 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.

```yaml
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.
Files in this package (5)
  • SKILL.md 3 KB
  • schema/tags.yaml 6 KB
  • scripts/claude-sessions 30 KB
  • workflows/log-session.md 3 KB
  • workflows/setup.md 1 KB

Versions

The database has no other skills named sync-claude-sessions.

Identical content appears in 1 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version 074d7cd591be (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95search-sessions
    Search across Claude Code and OpenClaw session history, plus Obsidian vaults. Use when you need to find past conversations, query sessions by date range, filter by project, search Obsidian notes, or resume previous sessions by UUID.
  • 100session-close
    End a session under token/iteration limits: write handoff, session log, memory, and teach notes as markdown into the Obsidian personal vault Work/{project}/. Use when session ends, budget hit, user says handoff/close session, or rem-ralph finishes.
  • 100claude-sessions-sync
    Sync Claude Code session records between two Anthropic accounts in the Claude desktop app on macOS. Use when switching accounts (for example when one hits usage limits) and old sessions disappear from the picker, or to mirror records before/after a switch.
  • 100claude-code-sessions
    Search, analyze, and manage Claude Code session history. Use when the user wants to find past sessions, check token usage, review tool breakdowns, resume previous work, or manage tasks across sessions. Provides 11 skills and a web dashboard.
  • 100setup
    Connect the current project to a folder in an Obsidian vault so every Claude Code session gets an automatic note and every new session starts with a brief. Use when the user asks to set up vault-notes, connect Obsidian, stop re-explaining the project between sessions, or…
  • 100obsidian-project-sync
    Keeps the project notes of an Obsidian vault up to date with work done in Claude Code, respecting the vault's own structure and the hand-written prose of each note. Use whenever Obsidian, the vault, a project note or a canvas comes up: \"update the note\", \"document this\",…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.