rollecode

Claude Chat Backups — AI skill for Claude Code

AI community

Mirror Claude.ai chats and Claude Code sessions into an Obsidian vault as Markdown.

How to install Claude Chat Backups

This entry records only its repository, not the path inside it, so there is no exact command to give. Open rollecode/claude-chat-backups and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Chat Backups does

Mirror Claude.ai chats and Claude Code sessions into an Obsidian vault as Markdown.

Alternatives in AI

  • Claudian — An Obsidian plugin that embeds Claude Code as an AI collaborator in your vault 7.7k ★
  • Kos Community — KOS Community is a free, open-source Markdown workspace for notes, projects and AI-assisted workflows 103 ★
  • Hypernovum — Agent Ops for your second brain - a 3D IDE for Obsidian built on Three.js 90 ★

README

Backup Claude Code & Claude.ai - Own your chat data

image

![Version](https://img.shields.io/badge/version-1.3.0-7c5cfc.svg?style=for-the-badge) ![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54) ![Obsidian](https://img.shields.io/badge/Obsidian-%23483699.svg?style=for-the-badge&logo=obsidian&logoColor=white)


**Claude Chat Backups backs up all your data for 100% offline use**. It mirrors both [Claude.ai](https://claude.ai/) chats and [Claude Code](https://claude.com/product/claude-code) sessions into an Obsidian vault as readable Markdown, incrementally, on a timer.

**Install**

curl -fsSL https://raw.githubusercontent.com/rollecode/claude-chat-backups/master/install.sh | bash

/Claude chat backups/
├── Claude.ai/
│   └── /
│       └── Chat title (abcd1234), 1.7.2026.md
└── Claude Code/
    └── /
        └── /
            └── First prompt of the session (b7aee956), 15.8.2026.md

Claude Code sessions are grouped by machine first, so several computers can write into the same synced vault without colliding. Under the hostname the working directory is mirrored, so `~/Projects/dough` sessions land in `Claude Code//Projects/dough/`.

Claude.ai chats are fetched by [claude-backup](https://github.com/twilligon/claude-backup). Claude Code sessions are read straight from `~/.claude/projects/*/*.jsonl`, which Claude Code writes as it goes, so nothing needs fetching.

Install with Claude Code

Paste this into Claude Code and