Install Sync Claude Sessions
Pick your agent. Every command is ready to paste.
npx skills add ArtemXTech/personal-os-skills --skill sync-claude-sessionsThe open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.
01
Install it
Run the command above, or upload the folder in Claude.
02
Ask naturally
Describe the task. Your agent loads sync-claude-sessions when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the sync-claude-sessions skill”. In Codex, type $sync-claude-sessions.
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 |
| Log/annotate session | 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 Notessection- Frontmatter:
comments,related,status,tags,rating
Frontmatter Schema
See
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 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.
Tips for Sync Claude Sessions
- • Start a fresh session after installing so your agent picks up the new skill.
- • It is part of a pack with 8 skills. Install only the ones you need with --skill to keep triggers precise.
- • If two skills overlap, mention the one you want by name.
Questions about Sync Claude Sessions
What does the Sync Claude Sessions skill do?
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 do I install Sync Claude Sessions?
Run "npx skills add ArtemXTech/personal-os-skills --skill sync-claude-sessions" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.
Does Sync Claude Sessions work in Cursor and Codex?
Yes. Sync Claude Sessions uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.
Is Sync Claude Sessions free?
Sync Claude Sessions is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.
Who made Sync Claude Sessions?
Sync Claude Sessions is published by ArtemXTech in the ArtemXTech/personal-os-skills repository, together with 7 other skills.
