Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/benbjohnson/litestream-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/benbjohnson/litestream-skills/ltx)<a href="https://agentmods.dev/commands/benbjohnson/litestream-skills/ltx"><img src="https://agentmods.dev/badge/commands/benbjohnson/litestream-skills/ltx.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00989 |
| Opus 5 | $0.00000 | $0.00495 |
| Sonnet 5 | $0.00000 | $0.00198 |
| Haiku 4.5 | $0.00000 | $0.00099 |
Grade A, and why
ltx scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ltx Command
List LTX files available for a database.
Synopsis
# From configured database
litestream ltx [-config PATH] DB_PATH
# From replica URL
litestream ltx REPLICA_URL
Description
The ltx command lists all LTX (Log Transaction) files available for a database. This is useful for:
- Verifying backups exist
- Finding available restore points
- Debugging replication issues
- Understanding the backup timeline
Flags
| Flag | Description |
|---|---|
-config PATH |
Configuration file path (default: /etc/litestream.yml) |
-no-expand-env |
Disable environment variable expansion |
Output Columns
| Column | Description |
|---|---|
min_txid |
Starting transaction ID |
max_txid |
Ending transaction ID |
size |
File size in bytes |
created |
Creation timestamp (RFC3339) |
Examples
List from Config
$ litestream ltx /data/app.db
min_txid max_txid size created
0000000000000001 0000000000000100 4096 2024-01-15T10:00:00Z
0000000000000101 0000000000000200 8192 2024-01-15T10:30:00Z
0000000000000201 0000000000000300 4096 2024-01-15T11:00:00Z
List from Replica URL
$ litestream ltx s3://mybucket/app-backup
min_txid max_txid size created
0000000000000001 0000000000001000 102400 2024-01-15T00:00:00Z
Check Specific Storage
# S3
litestream ltx s3://bucket/path
# GCS
litestream ltx gs://bucket/path
# Azure
litestream ltx abs://container@account/path
# SFTP
litestream ltx sftp://user@host/path
Understanding Output
Transaction ID Range
Each LTX file covers a range of transactions:
min_txid: First transaction in filemax_txid: Last transaction in file
Files should be contiguous for complete recovery.
Compaction Levels
LTX files exist at different compaction levels:
- L0: Raw files from WAL changes (many small files)
- L1+: Compacted files (fewer, larger files)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 166 lines · 0 tokens per session scan A ed525435dd97
ltx is a command published in the GitHub repository benbjohnson/litestream-skills (5 stars, last pushed 7mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 989 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
init
Initialize configurations for Supabase local development.
database-setup
Use when a project needs to store data and has no database yet. Setting up Supabase, creating tables, writing queries, and connecting them to the frontend. Written for designers.
ingest
Manually add knowledge to the Weaviate store.
json.batch_delete
Delete multiple JSON documents or paths in one itemwise batch.
json.batch_get
Read multiple JSON values by document and path.
json.index.drop
Drop a JSON secondary index by name.