benbjohnsonbenbjohnsonCommunityยท1 Agent Skills Included

litestream

Continuous disaster recovery and replication for SQLite databases

Replicates SQLite databases continuously to S3, GCS, or local files by monitoring the write-ahead log. Eliminates manual backup scripts and data loss risk with immutable, checksummed LTX change files. Guides AI agents through safe contributions, storage backend development, compaction logic, and replication debugging.
npx skills add benbjohnson/litestream --all -g -y
Available:

Gives AI agents the critical invariants, layer boundaries, build commands, and debugging rules needed to safely work on Litestream's SQLite replication codebase.

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install Litestream?โ–ผ

Run `npx skills add benbjohnson/litestream --all -g -y` in your terminal to install all tools in this suite globally.

What does Litestream do for SQLite?โ–ผ

Litestream runs as a background process that streams SQLite changes to cloud storage like S3, giving you continuous backups and point-in-time recovery without corrupting your database.

How to restore a SQLite database with Litestream?โ–ผ

Point Litestream at your replica destination and run the restore command; it replays the immutable LTX change files to rebuild your database to any point in time.

Can AI agents contribute to Litestream safely?โ–ผ

Yes. The AGENTS.md and CLAUDE.md guides teach agents the critical rules, like skipping the 1GB lock page and never modifying LTX files, plus build and test commands.

Which storage backends does Litestream support?โ–ผ

Litestream replicates to S3, Google Cloud Storage, and plain local files, and the skill includes a guide for implementing new storage backends via the ReplicaClient interface.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’