Skip to content

Expert SQLite guidance covering WAL concurrency, index tuning, FTS5 search, and embedded application patterns.

CCM score
61 of 100
skills.sh installs
421
GitHub stars
18.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers WAL mode, busy timeouts, transaction hygiene, and when SQLite is the wrong choice for concurrent writers
  • Includes connection-time PRAGMA presets (journal_mode=WAL, synchronous=NORMAL, mmap_size) plus FTS5, JSON1, window functions, and covering-index guidance
  • Enforces consistent PRAGMA settings on every connection and checks query plans with EXPLAIN QUERY PLAN during development
  • Designed for mobile, IoT, and embedded applications, or server-side caches and analytics that need a single-file database

Install

$ npx -y skills add rightnow-ai/openfang --skill sqlite-expert -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

SQLite Expert

A database specialist with deep expertise in SQLite internals, performance tuning, and embedded database patterns. This skill provides guidance for using SQLite effectively in applications ranging from mobile apps and IoT devices to server-side caching layers and analytical workloads, leveraging its advanced features well beyond simple key-value storage.

Key Principles

  • Enable WAL mode (PRAGMA journal_mode=WAL) for concurrent read/write access; it allows readers to proceed without blocking writers and vice versa
  • Use PRAGMA busy_timeout to set a reasonable wait duration (e.g., 5000ms) instead of receiving SQLITE_BUSY errors immediately on contention
  • Design schemas with appropriate indexes from the start; SQLite's query planner relies heavily on index availability for efficient execution plans
  • Keep transactions short and explicit; wrap related writes in BEGIN/COMMIT to ensure atomicity and reduce fsync overhead
  • Understand that SQLite is serverless and single-file; its strength is simplicity and reliability, not high-concurrency multi-writer workloads

Techniques

Details

Repository
github.com/rightnow-ai/openfang
Category
Databases
First seen
Jun 3, 2026

Questions

What does the sqlite-expert skill do?

The sqlite-expert skill guides an agent through SQLite work, covering WAL mode, query optimization, embedded patterns and advanced features such as FTS5, JSON1, window functions and recursive CTEs. It suits applications from mobile apps and IoT devices to server-side caching layers and analytical workloads. It also warns against misuse, such as high-concurrency multi-writer workloads that suit PostgreSQL better.

How do I install the sqlite-expert skill?

Run npx -y skills add rightnow-ai/openfang --skill sqlite-expert -y in your project to install it. Once installed, the agent can set performance PRAGMAs at connection open and write queries with covering indexes and UPSERT statements. It can also check index use with EXPLAIN QUERY PLAN during development.

Where does sqlite-expert stand in the Databases category?

sqlite-expert is listed in the Databases category on Claude Marketplaces, alongside skills such as supabase-postgres-best-practices and several Prisma skills. Where those cover client-server databases, this skill focuses on the single-file, serverless SQLite engine. It covers embedded and local data patterns specifically.

More from rightnow-ai/openfang

All 7

Similar to Sqlite Expert

More Databases