/litestream-tigris-flyio:litestream-tigris-flyiofrom litestream-tigris-flyio
Set up or troubleshoot SQLite replication and restores with Litestream and Tigris on Fly.io.
Ships in litestream-tigris-flyio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Create or update a Fly.io deployment that uses Litestream to replicate a SQLite database to Tigris. Support both Litestream-only (single machine) and LiteFS+Litestream (multi-node) paths, and validate restores.
Litestream provides asynchronous backups. State the expected backup lag, retained recovery window, and steps needed to replace a failed machine or volume. A sync interval is not a maximum data-loss guarantee, and backups do not provide automatic failover. Existing corruption and accidental writes require an operator-selected restore point.
Only one writer may publish to a given bucket and replica path. For LiteFS, tie replication to primary ownership; do not start independent writers against the same replica when scaling or recovering.
LITESTREAM.md and scripts/start_with_litestream.sh when they exist.assets/start_with_litestream.sh as the template.fly.toml or release config.Install the latest stable Litestream release available at setup time, resolving it from the official releases rather than copying a version from this skill. Record that resolved version in the image or build configuration for reproducible builds. Check configuration syntax, restore flags, and backup-format compatibility against that release; the bundled examples target v0.5 and must be adapted if the latest release differs.
litestream.yml, restores on cold start, and then runs litestream replicate -exec.exec.references/tigris-litestream.md for concrete config and env var details.Default new deployments to seven days of backup retention unless the user specifies another policy. For Litestream v0.5, set the global snapshot.retention to 168h; verify the equivalent setting for other versions. Preserve an existing longer retention policy. This controls how long recovery history is kept, independently of the replication interval.
Restore before starting the application or migrations. Missing credentials, network failures, and restore errors must stop startup. Allow an absent replica only during an explicitly chosen first-time bootstrap, then disable that allowance after verifying the first backup. Do not silently start without replication or replace an existing database during ordinary startup. For deliberate recovery, stop the writer, restore to a separate file, validate it, and preserve the original database and sidecars before replacement.
litefs.yml as the primary entrypoint./etc/litestream.yml at runtime so it reads secrets.exec with litestream replicate -exec.meta-path is on a persistent volume and the database path points to the LiteFS mount.assets/start_with_litestream.sh to write /etc/litestream.yml at boot.exec litestream replicate -exec "/app/bin/server".PRAGMA integrity_check, and check meaningful application data. Never validate by overwriting the production database.references/tigris-litestream.md for env vars, endpoints, config examples, and validation commands.LITESTREAM.md and scripts/start_with_litestream.sh for repo-specific expectations.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub dvcrn/skills --plugin litestream-tigris-flyio