sqlite-db-truncate

Installation
SKILL.md

SQLite Truncated Database Recovery

This skill provides systematic approaches for recovering data from SQLite database files that have been corrupted through binary truncation. It emphasizes understanding the SQLite file format before attempting recovery and avoiding common pitfalls that lead to multiple failed iterations.

When to Use This Skill

This skill applies when:

  • A SQLite database file cannot be opened with standard sqlite3 commands
  • The database error indicates corruption or malformed data
  • File size is smaller than expected (suggesting truncation)
  • Standard recovery tools like .recover command fail
  • Manual binary parsing of SQLite page structure is required

Initial Assessment Strategy

Before writing any recovery code, perform a thorough analysis of the corrupted file:

Step 1: Examine File Characteristics

Related skills

More from letta-ai/skills

Installs
36
Repository
letta-ai/skills
GitHub Stars
97
First Seen
Jan 24, 2026