thinkinaixyz avatar

Deepchat Data Import

When you're building a tool that needs to read DeepChat's local databases, this skill walks you through the entire import path: finding agent.db on disk, handling SQLCipher encryption and Electron safeStorage wrappers, navigating the SQLite schema for providers, sessions, messages, and legacy chat.db migrations. The safety rules are the real value here. They're explicit about consent, warn you not to write to a live profile, and remind you to copy WAL files or wait for the app to quit. References cover data locations across macOS, Windows, and Linux, plus schema inspection strategies when table structure has evolved. It treats DeepChat's internal format as documentable but not stable, so you inspect first rather than hardcode assumptions.

GitHub stars
6K
last updated
Jun 11, 2026

Install

$ npx -y skills add thinkinaixyz/deepchat --skill deepchat-data-import --agent claude-code

Installs into .claude/skills of the current project.

Files

DeepChat Data Import

Overview

Use this skill to design or implement importers for DeepChat local data. Treat DeepChat's SQLite schema as an internal but documentable contract: inspect the current schema when precision matters, prefer read-only snapshots, and avoid writing to a live profile.

Workflow

  1. Identify the source: live DeepChat profile, copied profile, sync backup, exported agent.db, or legacy chat.db.
  2. Read references/data-locations.md to locate agent.db, sidecar files, encryption metadata, and backup paths.
  3. Read references/sqlite-access.md before opening SQLite. Decide whether the database is unencrypted, can be unlocked through Electron safeStorage, or must ask the user for the SQLite password.
  4. Read references/schema-reference.md for provider config, settings, session, message, and legacy table relationships.
  5. Read references/import-recipes.md when writing extractor code, mapping DeepChat data to another app, or creating a compatibility import.

Safety Rules

Sponsors

Details

Repository
github.com/thinkinaixyz/deepchat
Categories
DevOps & CI/CD, AI & Agent Building, Mobile Development, Databases
License
Apache-2.0
First seen
Jun 11, 2026

More from thinkinaixyz/deepchat

All 19
1thinkinaixyz avatarfrontend-designthinkinaixyz/deepchatCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, 0skills.sh installs
2tursodatabase avatardebuggingtursodatabase/tursoHow to debug tursodb using Bytecode comparison, logging, ThreadSanitizer, deterministic simulation, and corruption analysis tools0skills.sh installs
3vila-lab avataropenspec-proposevila-lab/figmirrorPropose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal w0skills.sh installs
4YurunChen avatarrepo-docsYurunChen/repo-docs-skillsBuild and maintain a Markdown guide that helps humans understand a repository through real behavior, concepts, and evidence. Use when a user asks to understand 0skills.sh installs
5zhixiangluo avatarcreate-workflowzhixiangluo/10xproductivityDesign and build automation workflows using building blocks — clarify outcomes, decompose by dependencies, reuse prior art, verify each block before chaining, a0skills.sh installs
6zhixiangluo avatartool-connectorzhixiangluo/10xproductivityConnect any tool you use at work to your agent — including internal company tools, custom-built systems, deployment portals, incident trackers, internal knowled0skills.sh installs