sync-sessions

sync-sessions is a skill for Claude Code from tonydzi/second-brain-starter-kit. It costs 89 tokens per session (990 once invoked), scanned A, a copy of continue, MIT.

A utility that makes Claude Code session records visible across user accounts on the same computer. It adds missing session entries without deleting or overwriting existing data.

In plain words
What is it for?
Use it to synchronise local Claude sessions between accounts on Windows or Mac, including periodic automatic syncing.
Why use it?
Changing accounts can hide older chats even though their text remains stored on disk.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

Part of the second-brain-skills plugin — 248 skills, 3 agents, 1 plugin shipped together

Good fit Use it to synchronise local Claude sessions between accounts on Windows or Mac, including periodic automatic syncing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tonydzi/second-brain-starter-kit/sync-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 tonydzi/second-brain-starter-kit --skill sync-sessions
Clone the repo
git clone --depth 1 https://github.com/tonydzi/second-brain-starter-kit

Made for: Claude Code.

Or install second-brain-skills, the plugin that ships this one along with the rest of its 248 skills, 3 agents, 1 plugin.

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-sessions

README.md
[![agentmods](https://agentmods.dev/badge/skills/tonydzi/second-brain-starter-kit/sync-sessions/github.svg)](https://agentmods.dev/skills/tonydzi/second-brain-starter-kit/sync-sessions)
Your own site
<a href="https://agentmods.dev/skills/tonydzi/second-brain-starter-kit/sync-sessions"><img src="https://agentmods.dev/badge/skills/tonydzi/second-brain-starter-kit/sync-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-sessions

Your own site · 80×15
<a href="https://agentmods.dev/skills/tonydzi/second-brain-starter-kit/sync-sessions"><img src="https://agentmods.dev/badge/skills/tonydzi/second-brain-starter-kit/sync-sessions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 990 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 88% copy Near-identical to another mod 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.00089 $0.00990
Opus 5.5 $0.00036 $0.00396
Sonnet 5.5 $0.00018 $0.00198
Haiku 4.5 $0.00009 $0.00099

Measured 15d ago against content hash 621f92466275, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sync-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 15d 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.

Origin

This is a copy

88% identical to continue — 145 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/sync-sessions/SKILL.md · 68 lines

How it starts

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

/sync-sessions — сессии Claude не пропадают при смене аккаунта

Приложение Claude показывает список сессий только из папки текущего аккаунта. Тексты диалогов при этом остаются на диске в ~/.claude/projects.

Что сделать

python [путь владельца]

Скрипт дописывает недостающие карточки во все аккаунты, которые уже хоть раз входили на этом компьютере. Ничего не удаляет и не перезаписывает. Повторный запуск, когда всё уже совпадает, ничего не копирует.

На этой машине то же самое делает скрытый процесс 4 раза в сутки (интервал 21600с; anton 24.09.2026 голосом: «пять минут реально слишком часто... два-три-четыре раза в сутки, но не больше»). Он стартует при входе в Windows из Start Menu\Programs\Startup\Claude-Sessions-Across-Accounts.vbs. Планировщик задачу создать не смог (Access denied), поэтому используется автозапуск.

Установка на узле флота (Windows и Mac)

python [путь владельца]

(путь = <волт узла>\..\_imports\claude_sessions\; папка синкается Syncthing). Windows → Startup VBS + немедленный старт; Mac → LaunchAgent каждые 21600с; Linux/headless ([машина флота]) → отказ by design, там нет десктоп-приложения. --status показывает, стоит ли лаунчер и бежит ли сторож.

⚠️ Автозапуск срабатывает только при ВХОДЕ в Windows. Если сторож не бежит (проверка: pythonw с sync_sessions.py --watch в списке процессов), подними руками:

wscript "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\Claude-Sessions-Across-Accounts.vbs"

(Пережито 24.09.2026: сторож создан утром, до релогона Windows не бегал — карточки новых сессий копировал только ручной прогон.)

Что сказать Антону

  • Сколько сессий стало видно на каждом аккаунте.
  • Чтобы список в уже открытом приложении обновился, Claude надо полностью закрыть и открыть снова. Пока окно живое, оно держит старый список в памяти.
  • Чаты на сайте claude.ai этим не переносятся: они лежат в облаке того аккаунта, под которым их писали.

Like this skill? It is one of 100 in second-brain-starter-kit: the second brain we built for ourselves and run every day at Palo Alto AI Research Lab. Install the whole set with npx skills add tonydzi/second-brain-starter-kit. Everything is open source and free, so take what you need.

Read the full file on GitHub · 68 lines

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. 15d ago Changed · -1 lines 621f92466275
  2. 20d ago First seen · 69 lines · 89 tokens per session scan A 8a782c35af8a

Subscribe to this mod's changes

sync-sessions is a skill published in the GitHub repository tonydzi/second-brain-starter-kit (12 stars, last pushed today), licensed MIT. It adds 89 tokens to every session and 990 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to continue, differing in 145 lines, and is treated as a copy.

Related

Other skills, from other repositories

superbrain-distill

Internal SuperBrain skill — run by the detached capture child to distill a session-event delta into routed Obsidian notes. Not for direct user invocation.

m3talux/superbrain · 36 tokens

email-sorting

Customize and use a human-reviewed email sorting system for Gmail, Google Workspace, Outlook, Microsoft 365 or another connected mailbox. Use for first-time setup, folder or label recommendations from a read-only email sample, inbox triage, and applying approved sorting batches. Not for sending, replying to or…

AiAi-Mastermind/aiai-mastermind-tools-and-skills · 66 tokens

inbox

An inbox-management skill for scanning an LLM Wiki inbox, previewing pending files, choosing how to process them, and sending selected material through an import step.

johnfkoo951/cmds-llm-wiki · 43 tokens

wiki-retrieve

Build and query a vault-local contextual BM25 retrieval index with optional multilingual Nomic cosine reranking; use for retrieve, hybrid retrieval, BM25, rerank, contextual retrieval, chunk search, vault search, semantic search, find relevant passages, or retrieval diagnostics. Derived caches stay under .vault-meta…

AgriciDaniel/claude-obsidian · 81 tokens

canvas

Create, inspect, and update Obsidian JSON Canvas boards with text, file, link, group, and edge nodes. Use for canvas status, canvas lists, visual maps, zones, spatial layouts, adding vault notes or media to a .canvas file, and requests such as create canvas, add to canvas, or put this on the canvas.

AgriciDaniel/claude-obsidian · 72 tokens

obsidian-markdown

Explain, draft, or validate Obsidian Flavored Markdown syntax: properties, wikilinks, embeds, callouts, tags, comments, highlights, block references, math, and Mermaid. Use when the user explicitly requests Obsidian note formatting or syntax help, not for general Markdown or broad vault operations.

AgriciDaniel/claude-obsidian · 68 tokens