Agent skill

Obsidian Conversation Backup

by sundial-org in sundial-org/awesome-openclaw-skills

Automatic conversation backup system for Obsidian with incremental snapshots, hourly breakdowns, and formatted chat-style markdown.

MITAuto-check passedDevOps & Cloud

Install Obsidian Conversation Backup

skills CLI
$ npx skills add sundial-org/awesome-openclaw-skills --skill obsidian-conversation-backup -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sundial-org/awesome-openclaw-skills obsidian-conversation-backup --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sundial-org/awesome-openclaw-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/obsidian-conversation-backup .claude/skills/obsidian-conversation-backup && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
obsidian-conversation-backup
GitHub stars
663
Token cost
~1.9k tokens
SKILL.md length
620 words
Files
9 (incl. scripts)
Skills in repo
383
Repo updated
First seen
Licence
MIT

At a glance

Automatic conversation backup system for Obsidian with incremental snapshots, hourly breakdowns, and formatted chat-style markdown.

  • Works in 3 steps: Copy config.example to config → Edit config with your paths → Make scripts executable: chmod +x…
  • Setting up conversation archival
  • SKILL.md covers Features, Quick Setup, Usage and Chat Format, plus 9 more sections
  • Runs Shell scripts from its folder; calls jq and apt-get

What it does

Obsidian Conversation Backup is an agent skill from sundial-org/awesome-openclaw-skills. Automatic conversation backup system for Obsidian with incremental snapshots, hourly breakdowns, and formatted chat-style markdown. Use when setting up conversation archival, preventing data loss from /new resets, or organizing chat history in Obsidian vault with proper formatting (colored callouts, timestamps, multi-paragraph support).

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts (for example `README.md`, `install.sh` and `scripts/create_hourly_snapshots.sh`).

It sits in DevOps & Cloud, covering Backup and disaster recovery. It works with Obsidian. The repository describes itself as: Top OpenClaw skills, with the most popular and useful ones. The licence is MIT.

When your agent uses it

  • Setting up conversation archival
  • Preventing data loss from /new resets
  • Organizing chat history in Obsidian vault with proper formatting (colored callouts
  • Multi-paragraph support)

Example prompts

  • “/obsidian-conversation-backup”

Requirements

  • A Bash shell

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Copy config.example to config
  2. Edit config with your paths
  3. Make scripts executable: chmod +x scripts/*.sh

What it can do on your machine

Read from SKILL.md and the folder at commit b80cde2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • jq
    • apt-get

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Obsidian Conversation Backup loads about 1.9k tokens when it runs. Until then it costs about 92 tokens; SKILL.md has 620 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~92
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from sundial-org/awesome-openclaw-skills at commit b80cde2, republished under its MIT licence (© sundial-org). 620 words, ~1,927 tokens.

Download SKILL.mdSave it as .claude/skills/obsidian-conversation-backup/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
name
obsidian-conversation-backup
description
Automatic conversation backup system for Obsidian with incremental snapshots, hourly breakdowns, and formatted chat-style markdown. Use when setting up conversation archival, preventing data loss from /new resets, or organizing chat history in Obsidian vault with proper formatting (colored callouts, timestamps, multi-paragraph support).

Obsidian Conversation Backup

Automatically backs up Clawdbot conversations to Obsidian with beautiful chat-style formatting. Prevents data loss from /new resets with hourly incremental snapshots.

Features

  • Incremental backups: Hourly snapshots of new messages only (no duplication)
  • Chat formatting: Obsidian callouts with emojis, timestamps, proper multi-paragraph support
  • Hourly breakdowns: Organize conversations by clock hour for easy reference
  • Zero token cost: Pure shell scripting, no LLM calls
  • Smart filtering: Skips empty messages and system notifications

Quick Setup

Installation
bash
# Extract the skill (if downloaded as .skill file)
unzip obsidian-conversation-backup.skill
cd obsidian-conversation-backup

# Run installer (interactive)
chmod +x install.sh
./install.sh

The installer will ask for:

  • Obsidian vault path
  • Session directory location
  • Tracking files location

Or manual setup:

  1. Copy config.example to config
  2. Edit config with your paths
  3. Make scripts executable: chmod +x scripts/*.sh
Enable Automatic Backups

Add to crontab for hourly backups:

bash
crontab -e

# Add this line (runs every hour at :00)
0 * * * * /path/to/obsidian-conversation-backup/scripts/monitor_and_save.sh
Customize Chat Appearance (Optional)

Edit scripts/format_message_v2.jq to change:

  • User emoji (default: 🐉)
  • Assistant emoji (default: 🦞)
  • Callout types (default: [!quote] for user, [!check] for assistant)

Usage

Automatic Incremental Backups

Once configured in cron, the system runs automatically:

Every hour:

  • Checks for new messages (≥10 lines)
  • Creates incremental snapshot if found
  • Saves to: YYYY-MM-DD-HHmm-incremental.md
  • Skips if no new conversation

Example output:

2026-01-20-1500-incremental.md (messages from last save to now)
2026-01-20-1600-incremental.md (new messages since 15:00)
2026-01-20-1700-incremental.md (new messages since 16:00)

Protection: Max conversation loss = 1 hour

On-Demand Full Snapshot

Save complete conversation anytime:

bash
scripts/save_full_snapshot.sh [topic-name]

Examples:

bash
scripts/save_full_snapshot.sh important-decisions
scripts/save_full_snapshot.sh bug-fix-discussion
scripts/save_full_snapshot.sh  # uses "full-conversation" as default
Hourly Breakdown (Organization)

Create organized breakdown by clock hour:

bash
scripts/create_hourly_snapshots.sh YYYY-MM-DD

Example:

bash
scripts/create_hourly_snapshots.sh 2026-01-20

Output:

2026-01-20-1500-hourly.md (15:00-15:59 messages)
2026-01-20-1600-hourly.md (16:00-16:59 messages)
2026-01-20-1700-hourly.md (17:00-17:59 messages)

Use case: End-of-day organization for easy reference

Chat Format

Messages appear as colored Obsidian callouts:

User messages (blue [!quote] callout):

> [!quote] 🐉 User · 15:30
> This is my message

Assistant messages (green [!check] callout):

> [!check] 🦞 Zoidbot · 15:31  
> This is the response

Features:

  • Timestamps (HH:MM format)
  • Multi-paragraph support (uses <br><br> for paragraph breaks)
  • Proper line wrapping (all lines prefixed with > )
  • Empty messages filtered out
  • System notifications excluded

Token Monitoring

The monitor_and_save.sh script also tracks token usage:

Warnings via Telegram:

  • 800k tokens (80%): "Consider /new soon"
  • 900k tokens (90%): "Run /new NOW"

Implementation:

bash
# Sends warning only when crossing threshold (one-time)
# No repeated warnings
# Resets when back under 800k

File Structure

scripts/
├── monitor_and_save.sh           # Hourly incremental backup + token monitoring
├── save_full_snapshot.sh         # On-demand full conversation save
├── create_hourly_snapshots.sh    # Organize by clock hour
└── format_message_v2.jq          # Chat formatting logic

Configuration

Tracking Files

The system uses hidden files to track state:

bash
/root/clawd/.last_save_line_count       # For token monitoring
/root/clawd/.last_snapshot_timestamp    # For incremental saves
/root/clawd/.token_warning_sent         # For warning deduplication

Note: Do not delete these files or incremental backups may duplicate content

Session File Location

Default: /root/.clawdbot/agents/main/sessions/*.jsonl

If your session files are elsewhere, update the SESSION_FILE path in each script.

Troubleshooting

No snapshots being created
  1. Check cron is running: crontab -l
  2. Verify script has execute permission: chmod +x scripts/*.sh
  3. Check logs: Run manually to see errors
Messages breaking out of callouts
  • Ensure format_message_v2.jq has the gsub("\n\n"; "<br><br>") line
  • Check that all lines have > prefix
  • Verify jq is installed: jq --version
Show full SKILL.md (250 more words)Show less
Duplicated content in snapshots
  • Delete tracking files and let system reset:
    bash
    rm /root/clawd/.last_snapshot_timestamp
Empty callout boxes appearing
  • Update format_message_v2.jq to filter empty messages
  • Check for the if ($text_content | length) > 0 condition

Requirements

  • jq: JSON parsing (apt-get install jq)
  • cron: For automatic backups
  • Obsidian vault: Target directory for markdown files

Advanced Customization

Change Backup Frequency

Edit crontab:

bash
# Every 2 hours
0 */2 * * * /path/to/monitor_and_save.sh

# Every 30 minutes
*/30 * * * * /path/to/monitor_and_save.sh

# Specific times only (9am, 12pm, 6pm, 9pm)
0 9,12,18,21 * * * /path/to/monitor_and_save.sh
Change Minimum Message Threshold

Edit monitor_and_save.sh:

bash
# Change from 10 to 5 messages minimum
if [[ $new_lines -lt 5 ]]; then
Add More Callout Styles

Obsidian callout types:

  • [!quote] - Blue
  • [!check] - Green
  • [!note] - Cyan
  • [!tip] - Purple
  • [!warning] - Orange
  • [!danger] - Red
Customize Telegram Notifications

Edit monitor_and_save.sh to change warning text or add custom notifications.

Best Practices

  1. Run hourly breakdown at end of day - Use as organizational tool, not backup
  2. Keep incremental backups running - This is your safety net
  3. Test scripts after setup - Run manually first to verify output
  4. Backup tracking files - Include .last_snapshot_timestamp in vault backups
  5. Use descriptive topic names - For full snapshots, use meaningful names

Example Workflow

Daily routine:

  1. Automatic incremental backups run hourly (no action needed)
  2. At end of day: scripts/create_hourly_snapshots.sh 2026-01-20
  3. Review organized hourly files in Obsidian
  4. Delete old incrementals if desired (hourly breakdown covers them)

Before /new reset:

  1. Optional: scripts/save_full_snapshot.sh before-reset
  2. Run /new safely - conversation is backed up
  3. Continue chatting - incrementals resume automatically

Integration with Clawdbot

This skill works with:

  • HEARTBEAT.md: Automatic token monitoring
  • MEMORY.md: Conversation archival system
  • Telegram integration: Warning notifications
  • Any Obsidian vault: Works with existing vaults

Credits

Created by the Clawdbot community for reliable conversation backup and beautiful Obsidian formatting.

© sundial-org, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 8 other files (scripts) in skills/obsidian-conversation-backup of sundial-org/awesome-openclaw-skills.

  • SKILL.md
  • LICENSE.txt
  • README.md
  • config.example.txt
  • install.sh
  • scripts/create_hourly_snapshots.sh
  • scripts/format_message_v2.jq.txt
  • scripts/monitor_and_save.sh
  • scripts/save_full_snapshot.sh

Open the folder on GitHubat commit b80cde2

Compare with similar skills

Obsidian Conversation Backup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Obsidian Conversation Backup compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Obsidian Conversation Backup this skillsundial-org/awesome-openclaw-skills663—~1.9kAutomated safety check: PassMIT
Obsidian WriterAtmosphere/atmosphere3.8k—~2.6kAutomated safety check: PassApache-2.0
OmniRoute Backup and Sync CLIdiegosouzapw/OmniRoute75k—~948Automated safety check: PassMIT
Pymobiledevice3 Device Operatordoronz88/pymobiledevice32.9k—~1.8kAutomated safety check: NotesGPL-3.0
Myclaw BackupLeoYeAI/openclaw-backup659—~1.8kAutomated safety check: PassMIT
OmniRoute Database Backupsdiegosouzapw/OmniRoute75k—~395Automated safety check: PassMIT

Similar skills

  • Obsidian Writer

    Atmosphere/atmosphere

    Write well-formatted notes to the atmosphere-vault Obsidian knowledge base.

    3.8k GitHub stars~2.6k tokensUpdated 2 days ago
    DevOps & CloudAuto-check passed
  • OmniRoute Backup and Sync CLI

    diegosouzapw/OmniRoute

    Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.

    75k GitHub stars~948 tokensUpdated today
    DevOps & CloudAuto-check passed
  • Pymobiledevice3 Device Operator

    doronz88/pymobiledevice3

    Operate iOS and iPadOS devices with pymobiledevice3, from a local checkout or straight from PyPI via uvx on a fresh workstation.

    2.9k GitHub stars~1.8k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Myclaw Backup

    LeoYeAI/openclaw-backup

    Backup and restore all OpenClaw configuration, agent memory, skills, and workspace data.

    659 GitHub stars~1.8k tokensUpdated 7 mo ago
    DevOps & CloudAuto-check passed
  • OmniRoute Database Backups

    diegosouzapw/OmniRoute

    Trigger system backups, restore from backup files, and manage the SQLite database lifecycle. Supports export, import, and incremental snapshot strategies.

    75k GitHub stars~395 tokensUpdated today
    DevOps & CloudAuto-check passed
  • Temps

    gotempsh/temps

    Manage, deploy, operate, and instrument applications with Temps.

    833 GitHub stars~2k tokensUpdated today
    DevOps & CloudAuto-check passed

More from sundial-org/awesome-openclaw-skills

All 383 skills in this repo
  • UI UX Pro Max

    sundial-org/awesome-openclaw-skills

    UI/UX design intelligence and implementation guidance for building polished interfaces.

    663 GitHub starsUsed in 2 repos~657 tokens
    Auto-check passed
  • Web Deploy GitHub

    sundial-org/awesome-openclaw-skills

    Create and deploy single-page static websites to GitHub Pages with autonomous workflow.

    663 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Clawd Modifier

    sundial-org/awesome-openclaw-skills

    Modify Clawd, the Claude Code mascot. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~625 tokensUpdated 7 mo ago
    Auto-check passed
  • Figma

    sundial-org/awesome-openclaw-skills

    Professional Figma design analysis and asset export. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~1.7k tokensUpdated 7 mo ago
    Auto-check: notes
  • Habit Flow

    sundial-org/awesome-openclaw-skills

    AI-powered atomic habit tracker with natural language logging, streak tracking, smart reminders, and coaching.

    663 GitHub stars~3.1k tokensUpdated 7 mo ago
    Auto-check passed
  • Edge Tts

    sundial-org/awesome-openclaw-skills

    Text-to-speech conversion using node-edge-tts npm package for generating audio from text.

    663 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed

Works with

Questions about Obsidian Conversation Backup

What does Obsidian Conversation Backup do?

Automatic conversation backup system for Obsidian with incremental snapshots, hourly breakdowns, and formatted chat-style markdown. Obsidian Conversation Backup is an agent skill from sundial-org/awesome-openclaw-skills. Automatic conversation backup system for Obsidian with incremental snapshots, hourly breakdowns, and formatted chat-style markdown.

When should I use Obsidian Conversation Backup?

Obsidian Conversation Backup fits situations like: setting up conversation archival; preventing data loss from /new resets; organizing chat history in Obsidian vault with proper formatting (colored callouts; multi-paragraph support).

How do I install Obsidian Conversation Backup in Claude Code?

Run `npx skills add sundial-org/awesome-openclaw-skills --skill obsidian-conversation-backup -a claude-code`. Or copy the skill folder (skills/obsidian-conversation-backup in sundial-org/awesome-openclaw-skills) into .claude/skills/obsidian-conversation-backup in your project. Claude Code loads it when a task matches its description.

How do I install Obsidian Conversation Backup in Codex?

Run `npx skills add sundial-org/awesome-openclaw-skills --skill obsidian-conversation-backup -a codex`. Or copy the skill folder (skills/obsidian-conversation-backup in sundial-org/awesome-openclaw-skills) into .agents/skills/obsidian-conversation-backup in your project. Codex loads it when a task matches its description.

Can I use Obsidian Conversation Backup in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sundial-org/awesome-openclaw-skills --skill obsidian-conversation-backup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/obsidian-conversation-backup, .gemini/skills/obsidian-conversation-backup, .github/skills/obsidian-conversation-backup and .opencode/skills/obsidian-conversation-backup in your project.

What does Obsidian Conversation Backup need to run?

Going by SKILL.md and its folder, Obsidian Conversation Backup needs a shell for the scripts in its folder and the command-line tools its instructions call (jq and apt-get). Our summary lists: A Bash shell.

Does Obsidian Conversation Backup access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Obsidian Conversation Backup safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Obsidian Conversation Backup use?

Obsidian Conversation Backup is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Obsidian Conversation Backup use?

About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Obsidian Conversation Backup?

Skills that share tags, products or a category with Obsidian Conversation Backup: Obsidian Writer (Atmosphere/atmosphere, 3.8k stars), OmniRoute Backup and Sync CLI (diegosouzapw/OmniRoute, 75k stars), Pymobiledevice3 Device Operator (doronz88/pymobiledevice3, 2.9k stars) and Myclaw Backup (LeoYeAI/openclaw-backup, 659 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Obsidian Conversation Backup?

sundial-org (a GitHub organization) maintains it in sundial-org/awesome-openclaw-skills, which has 663 GitHub stars. The repository holds 383 skills in this directory. The repository was last updated on March 7, 2026.

Source: sundial-org/awesome-openclaw-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.