sync-claude-sessions

sync-claude-sessions is a skill for Claude Code, Codex from ArtemXTech/personal-os-skills. It costs 56 tokens per session (682 once invoked), scanned A, original, MIT.

A command-line tool and workflow for exporting Claude Code conversations to Obsidian, a note-taking application that stores information as Markdown files. It also supports resuming, annotating, listing, and closing sessions.

In plain words
What is it for?
Use it to list active sessions, export today's or all sessions, resume a session, add timestamped notes, and mark sessions as finished.
Why use it?
It keeps coding-agent conversations available for later review, notes, analysis, or continuation instead of leaving them only in the session interface.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: reads .claude/ paths; mentions Claude Code; built for openclaw.

Good fit Use it to list active sessions, export today's or all sessions, resume a session, add timestamped notes, and mark sessions as finished.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/artemxtech/personal-os-skills/sync-claude-sessions
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ArtemXTech/personal-os-skills --skill sync-claude-sessions
Clone the repo
git clone --depth 1 https://github.com/ArtemXTech/personal-os-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin sync-claude-sessions-skill/plugin install sync-claude-sessions-skill after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sync-claude-sessions

README.md
[![agentmods](https://agentmods.dev/badge/skills/artemxtech/personal-os-skills/sync-claude-sessions/github.svg)](https://agentmods.dev/skills/artemxtech/personal-os-skills/sync-claude-sessions)
Your own site
<a href="https://agentmods.dev/skills/artemxtech/personal-os-skills/sync-claude-sessions"><img src="https://agentmods.dev/badge/skills/artemxtech/personal-os-skills/sync-claude-sessions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sync-claude-sessions

Your own site · 80×15
<a href="https://agentmods.dev/skills/artemxtech/personal-os-skills/sync-claude-sessions"><img src="https://agentmods.dev/badge/skills/artemxtech/personal-os-skills/sync-claude-sessions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 682 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.00682
Opus 5 $0.00028 $0.00341
Sonnet 5 $0.00011 $0.00136
Haiku 4.5 $0.00006 $0.00068

Measured 11d ago against content hash f0e85a42ca9e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

sync-claude-sessions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/sync-claude-sessions/SKILL.md · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 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: []

Read the full file on GitHub · 85 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 85 lines · 56 tokens per session scan A f0e85a42ca9e

Subscribe to this mod's changes

sync-claude-sessions is a skill published in the GitHub repository ArtemXTech/personal-os-skills (532 stars, last pushed 5mo ago), licensed MIT. It adds 56 tokens to every session and 682 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

Migrate

Intakes external content, classifies chunks against LifeOS taxonomy, commits with provenance. Sources: .md/.txt, stdin, LifeOS dirs, CLAUDE.md/Cursor/OpenAI Custom Instructions, Obsidian/Notion/Apple Notes exports. MigrateScan classifies → routing table. MigrateApprove with…

danielmiessler/LifeOS · 158 tokens

daily-briefing

Proactive daily briefing that fires on a recurring schedule, pulls recent memory and workspace context, composes a structured summary (action items, progress, radar, next steps), and delivers it to all active channels. Enable with a time like "set up my daily briefing at 9am". Disable, reschedule, or check status at…

vellum-ai/vellum-assistant · 75 tokens

company-brain

Your team's shared, AI-ready knowledge base — people, companies, meetings, SOPs, and decisions structured so Claude can answer questions on your team's behalf. Team-scope sibling to second-brain (which is personal-scope). Seven modes — capture (drop something into the right structured dir), compile (process into wiki…

coreyhaines31/makerskills · 322 tokens

email-assistant

Read, search, draft, and send emails via Himalaya CLI or Python IMAP/SMTP. Requires email account configuration.

fuyuxiang/echo-agent · 29 tokens

calendar

Manage calendar events via CalDAV (Google/iCloud/Nextcloud) or local ICS files. View, create, and query events.

fuyuxiang/echo-agent · 29 tokens