Provides commands and patterns for embedding SQLite databases in applications.

Install

mkdir -p .claude/skills/sqlite-ssrjkk && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/19170" && unzip -o skill.zip -d .claude/skills/sqlite-ssrjkk && rm skill.zip

Installs to .claude/skills/sqlite-ssrjkk

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Embeds SQLite databases in applications with zero configuration and single-file storage. Use for local data persistence.
120 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Create SQLite database files
  • Define database schemas using SQL
  • Insert data into tables
  • Query data from tables
  • List tables in a database
  • Show schema for a specific table

How it works

The skill uses the `sqlite3` command-line tool to create and interact with SQLite databases, allowing for schema definition, data insertion, and querying.

Inputs & outputs

You give it
SQL commands for database creation, schema definition, and data manipulation
You get back
A SQLite database file with defined schema and populated data

When to use sqlite

  • Embed SQLite in app
  • Define database schema
  • Query local data

About this skill

SQLite

Self-contained, serverless, zero-configuration SQL database engine.

Quick Start

sqlite3 mydb.db
CREATE TABLE users (id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, email TEXT UNIQUE NOT NULL);
INSERT INTO users (name, email) VALUES ('Alice', '[email protected]');
SELECT * FROM users;

CLI Commands

.tables          # List tables
.schema users    # Show schema
.mode json       # JSON output
.headers on      # Show column headers

Python Integration

import sqlite3
conn = sqlite3.connect('mydb.db')
cursor = conn.execute('SELECT * FROM users WHERE id = ?', (1,))

When to Use

  • Mobile app storage
  • Desktop application data
  • Prototypes and testing
  • Embedded/IoT devices

Validation

  1. Database file creates correctly
  2. SQL queries execute without error
  3. Transactions commit and rollback

When not to use it

  • When a client-server database architecture is required
  • When data persistence is not local or single-file

Limitations

  • Designed for local data persistence
  • Self-contained, serverless database engine
  • Zero-configuration setup

How it compares

This skill provides a zero-configuration, single-file approach to database management, suitable for embedded applications, unlike traditional client-server database systems.

Compared to similar skills

sqlite side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
sqlite (this skill)012dReviewBeginner
sql-optimization-patterns642moNo flagsAdvanced
drizzle-orm321moNo flagsIntermediate
qdrant-vector-search188moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry