Skip to content
cccskills
FreePublished on GitHub

deepchat-data-import

Build third-party tools to inspect, extract, migrate, or analyze DeepChat's local settings and conversations. Work through data locations, database encryption, and table relationships while favoring read-only copies and redacted output.

OriginalShow the original description

Help developers build third-party tools that import, inspect, migrate, or analyze DeepChat data. Use when Codex needs to work with DeepChat provider configuration, model configuration, MCP/app settings, sessions, messages, legacy chat data, `agent.db`, `chat.db`, SQLCipher encrypted SQLite, Electron safeStorage wrapped passwords, Tauri importers, or native macOS/Windows/Linux data access.

See how to install

Good for

  • Building an importer for another application
  • Inspecting provider, model, and MCP settings
  • Extracting conversations for analysis
  • Supporting legacy chat.db data migration

Files included (6)

  • SKILL.md2.9 KB
  • agents/openai.yaml280 B
  • references/data-locations.md2.5 KB
  • references/import-recipes.md4.5 KB
  • references/schema-reference.md7.6 KB
  • references/sqlite-access.md4.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

  • Get explicit user consent before reading local DeepChat data. Provider keys, OAuth tokens, MCP env vars, prompt text, message traces, and chat content may be sensitive.
  • Never open the active agent.db read-write from a third-party tool. Copy agent.db, agent.db-wal, and agent.db-shm, or use SQLite backup APIs through DeepChat itself.
  • If DeepChat is running, either ask the user to quit it or make a WAL-aware snapshot before import.
  • Prefer parameterized key APIs for SQLCipher passwords. Do not interpolate passwords into SQL.
  • Redact secrets by default in logs, telemetry, previews, and generated sample output.
  • When the schema has changed, inspect schema_versions, sqlite_master, and the table classes under src/main/presenter/sqlitePresenter/tables/ before assuming column availability.

Source Files

Use these repository files as the current source of truth when updating the skill or answering version-sensitive questions:

  • src/main/presenter/sqlitePresenter/index.ts
  • src/main/presenter/sqlitePresenter/connectionConfig.ts
  • src/main/presenter/databaseSecurityPresenter/index.ts
  • src/main/presenter/sqlitePresenter/tables/*.ts
  • src/main/presenter/agentRuntimePresenter/messageStore.ts
  • src/main/presenter/agentRuntimePresenter/sessionStore.ts
  • src/main/presenter/configPresenter/**

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

add-provider

FreeSummary

Add an LLM provider to DeepChat by choosing a suitable API connection method, updating authentication and model configuration, and making focused source changes with tests for the affected behavior.

  • Adding an OpenAI-compatible provider
  • Connecting a provider through an existing transport
  • Implementing provider-specific authentication
ThinkInAIXYZ/deepchat6.4KUpdated Oct 13, 2026

algorithmic-art

FreeSummary

Create original generative art with p5.js, using code to produce patterns and motion. Receive a written artistic concept and an interactive HTML viewer with adjustable parameters, reproducible random variations, seed navigation, and PNG downloads.

  • Create art from particle motion and flow fields
  • Explore patterns by adjusting sliders
  • Reproduce a favorite variation with the same seed
ThinkInAIXYZ/deepchat6.4KUpdated Oct 13, 2026

code-review

FreeSummary

Review code for readability, maintainability, security, and performance. Receive an overview, issues grouped by severity, concrete improvements with code examples, and positive feedback on parts of the implementation that work well.

  • Reviewing an implementation before sharing it
  • Checking code for security weaknesses
  • Finding performance improvement opportunities
ThinkInAIXYZ/deepchat6.4KUpdated Oct 13, 2026

computer-use

FreeSummary

Operate desktop applications through DeepChat's built-in Computer Use tools. Inspect windows, click controls, enter text, use menus, and arrange windows, checking the visible result after each action.

  • Entering text and using controls in desktop apps
  • Opening files or URLs in an application
  • Arranging application windows
ThinkInAIXYZ/deepchat6.4KUpdated Oct 13, 2026

deepchat-cli

FreeSummary

Use DeepChat's bundled command-line interface to compare models, generate media, transcribe audio, and extract text from images. Also inspect runtime status, artifact metadata, public settings, installed Skills, and MCP connections to external tools.

  • Comparing models and collecting benchmark results
  • Generating images, video, or speech
  • Transcribing audio and extracting text from images
ThinkInAIXYZ/deepchat6.4KUpdated Oct 13, 2026

deepchat-release

FreeSummary

Prepare and publish DeepChat releases through its project-specific workflow. Update versions and bilingual changelogs, run release checks, manage release branches and tags, and resume unfinished releases before publishing after release PR approval.

  • Prepare a version update and bilingual changelog
  • Check which release steps remain
  • Resume an unfinished release after metadata changes
ThinkInAIXYZ/deepchat6.4KUpdated Oct 13, 2026

See all skills by ThinkInAIXYZ

Report a problem with this skill