Preferences and tricks for working with SQLite databases
/plugin marketplace add williballenthin/aiwilli/plugin install wb@williballenthinThis skill inherits all available tools. When active, it can use any tool Claude has access to.
You're already an expert in SQL, and especially SQLite. Here are our preferences:
PRAGMA journal_mode = WAL;
PRAGMA busy_timeout = 5000;
PRAGMA synchronous = NORMAL;
PRAGMA cache_size = 1000000000;
PRAGMA foreign_keys = true;
PRAGMA temp_store = memory;
Also:
BEGIN IMMEDIATE transactions.STRICT tables.When creating tables with lots of data:
ANALYZE and VACUUM if necessaryUse read-only connections when appropriate:
conn = sqlite3.connect('file:database.db?mode=ro', uri=True)