serendb-memory

Sync Claude Code memory markdown files into SerenDB with encrypted offline queuing.

2|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/terraleiloa/seren-skills --skill serendb-memory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: serendb-memory
Source: https://github.com/terraleiloa/seren-skills/tree/main/claude/serendb-memory
Command: npx skills add https://github.com/terraleiloa/seren-skills --skill serendb-memory

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cryptography, keyring, requests, sqlite3, and includes scripts (resource) components.

What problem does it solve?

Claude Code auto-memory can accumulate as plaintext markdown files on disk, and CLI-only users may want cloud-backed memory without relying on Seren Desktop.

Core Features & Use Cases

  • Sync local memory files to SerenDB: Scans ~/.claude/projects/*/memory/*.md, extracts memory content (including optional frontmatter type/name/description), and persists it to SerenDB-backed memory.
  • Queue encrypted payloads when offline: If the network/API call fails, the skill encrypts and stores the payload in a local queue, then flushes it later.
  • Render a hydrated Memory Index: Rewrites MEMORY.md under each project folder based on what was persisted to SerenDB, so Claude can consult an up-to-date index.

Quick Start

Run a one-pass sync by executing the command: start synchronizing Claude Code auto-memory into SerenDB.

Frequently Asked Questions about serendb-memory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync Claude Code memory files to a cloud database from the command line?

To sync Claude Code memory, this skill scans local `*/memory/*.md` files and persists their content, including frontmatter, directly to SerenDB via cloud APIs for CLI-only users.

What happens to markdown memory sync when the network connection fails?

When network failures occur during markdown memory sync, the skill encrypts the payload using `cryptography` and stores it in a local `sqlite3` queue, flushing it to SerenDB later.

How does cloud memory sync keep the local MEMORY.md index updated?

Cloud memory sync keeps the local index updated by atomically rewriting the `MEMORY.md` file under each project folder based on the latest state persisted to SerenDB.

Can I migrate auto-memory markdown files to SerenDB without the Seren Desktop app?

Yes, you can migrate auto-memory markdown files without Seren Desktop, as this skill specifically targets CLI-only users needing continuous background syncing and idempotent migration to SerenDB.

Does Claude Code memory sync support offline queuing and encrypted payloads?

Claude Code memory sync supports offline queuing by encrypting failed API payloads with `keyring` and `cryptography`, securely storing them until network connectivity is restored.