persistence-and-sync

persistence-and-sync is an agent for coding agents from matthiasn/lotti. It costs 20 tokens per session (7,905 once invoked), scanned A, original, GPL-3.0.

A set of agent guidance for storing data in an SQLite database and synchronising it between devices. SQLite is a small database stored in a file on the device.

In plain words
What is it for?
Use it for work on the agent database model, bulk reads, synchronisation, or device-data boundaries.
Why use it?
It clarifies how entities and links are represented, how large reads are split into batches, and what data is sent away from the device.

Agent

About the project

Lotti is a private logbook that stores tasks, time records, notes, habits, and health data on a person's devices, with personal AI assistants that summarize records and suggest changes for approval. It is for people who want to track intended and completed work while keeping synchronized data end-to-end encrypted. The catalogue add-ons provide agents, skills, and instructions for working with Lotti.

matthiasn/lotti · 1,169 stars · on GitHub

Install

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.

agentmods
npx agentmods add agents/matthiasn/lotti/persistence-and-sync
Clone the repo
git clone --depth 1 https://github.com/matthiasn/lotti

Wrote 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.

agentmods badge for persistence-and-sync

README.md
[![agentmods](https://agentmods.dev/badge/agents/matthiasn/lotti/persistence-and-sync.svg)](https://agentmods.dev/agents/matthiasn/lotti/persistence-and-sync)
Your own site
<a href="https://agentmods.dev/agents/matthiasn/lotti/persistence-and-sync"><img src="https://agentmods.dev/badge/agents/matthiasn/lotti/persistence-and-sync.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,905 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00020 $0.07905
Opus 5 $0.00010 $0.03953
Sonnet 5 $0.00004 $0.01581
Haiku 4.5 $0.00002 $0.00791

Measured 5d ago against content hash 40a8b22938a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

persistence-and-sync 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 5d 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.

knowledge/features/agents/persistence-and-sync.md · 619 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Changes

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.

  1. 5d ago First seen · 619 lines · 20 tokens per session scan A 40a8b22938a2

Subscribe to this mod's changes

persistence-and-sync is an agent published in the GitHub repository matthiasn/lotti (1,169 stars, last pushed today), licensed GPL-3.0. It adds 20 tokens to every session and 7,905 once invoked, about $0.0001 per session on Opus 5. 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-30.

Related

Other agents, from other repositories

apple-neural-performance-expert

Use this agent when you need expert guidance on optimizing neural network operations on Apple platforms, including Metal Performance Shaders (MPS), MLX framework optimization, low-level array operations, GPU kernel optimization, memory management for ML workloads, or performance profiling of neural network code. This…

FluidInference/FluidAudio · 0 tokens

e2e-verifier

FlutterアプリのE2E動作検証エージェント。MCP(dart-mcp + Marionette)を使い、シミュレーター上でUI操作・検証を行う。mobile-automationスキルから呼び出される。.

K9i-0/ccpocket · 65 tokens

demo-agents

We need a steady flow of demo videos — X/Twitter, Reddit, YouTube Shorts, blog posts, App Store-style screen recordings — and we'd like to scale that without scheduling Daniel to record every clip by hand. This doc maps the content-creation agent landscape, names the gap between "synthetic video hype" and "scripted…

moona3k/macparakeet · 0 tokens

dolt-sync-advisor

Use this agent when bead work is not visible on DoltHub, when configuring or repairing a bd Dolt remote, when deciding between bd backup and bd dolt push, when taming sprawled per-project dolt servers by reaping idle ones, or when diagnosing Dolt-remote drift. It knows the #1 root cause (no remote configured) and that…

jeremylongshore/dolt-mcp-vcs-plugin · 92 tokens

apple-platform-builder

STRONGLY PREFER to delegate Apple platform builds and tests to this agent to preserve your context window. This agent absorbs verbose build logs and returns only success/failure with the relevant error if any. Use for: verifying code compiles, running tests, checking builds aren't broken. Discovers schemes and…

rhyean88/apple-platform-build-tools-claude-code-plugin · 69 tokens

architecture

Bazel-first MCP server + CLI for iOS, modeled after getsentry/XcodeBuildMCP but swapping xcodebuild for bazel.

DebugSwift/XcodeBazelMCP · 0 tokens