Agent skill

DeepChat Data Import Helper

by ThinkInAIXYZ in ThinkInAIXYZ/deepchat

Guides building a third-party importer for DeepChat's local SQLite data, covering schema, encryption and safe read-only access patterns.

Apache-2.0Auto-check passedDatabases

Install DeepChat Data Import Helper

skills CLI
$ npx skills add ThinkInAIXYZ/deepchat --skill deepchat-data-import -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ThinkInAIXYZ/deepchat deepchat-data-import --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ThinkInAIXYZ/deepchat.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/deepchat-data-import .claude/skills/deepchat-data-import && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
deepchat-data-import
GitHub stars
6.4k
Token cost
~738 tokens
SKILL.md length
270 words
Files
6 (incl. references)
Skills in repo
15
Repo updated
First seen
Licence
Apache-2.0

At a glance

Guides building a third-party importer for DeepChat's local SQLite data, covering schema, encryption and safe read-only access patterns.

  • Works in 5 steps: Identify the source: live DeepChat… → Read references/data-locations.md to… → Read references/sqlite-access.md before… → …
  • Building a tool that imports or migrates DeepChat chat history
  • SKILL.md covers Overview, Workflow, Safety Rules and Source Files
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

It treats DeepChat's SQLite schema as a documentable internal contract, inspecting the live schema when precision matters and preferring read-only snapshots over writing to a live profile. The workflow is to identify the data source, a live profile, a copied profile, a sync backup, or a legacy chat database, then read a sequence of reference files: data locations for finding the database and its sidecar and backup paths, SQLite access for deciding whether the database is unencrypted, openable through Electron's safeStorage, or needs a user-supplied password, a schema reference for table relationships, and import recipes for writing extractor code.

Its safety rules require explicit user consent before reading local data, since provider keys, OAuth tokens, MCP environment variables and message content may be sensitive; it never opens the live database read-write, copying the files or using SQLite's own backup APIs instead, and asks the user to quit the app or takes a snapshot first. SQLCipher passwords go through parameterized key APIs rather than being interpolated into SQL, and secrets are redacted by default in logs and generated samples.

When your agent uses it

  • Building a tool that imports or migrates DeepChat chat history
  • Inspecting DeepChat's SQLite schema before writing extractor code
  • Reading encrypted DeepChat data safely without touching the live profile

Example prompts

  • “Help me write an importer that migrates DeepChat sessions to another app.”
  • “What's the current schema for DeepChat's message and session tables?”
  • “How do I safely read an encrypted agent.db without corrupting the live profile?”

Requirements

  • Read access to a copied DeepChat profile or backup
  • Explicit user consent before reading local chat data

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Identify the source: live DeepChat profile, copied profile, sync backup, exported agent.db, or
  2. Read references/data-locations.md to locate agent.db,
  3. Read references/sqlite-access.md before opening SQLite. Decide
  4. Read references/schema-reference.md for provider config,
  5. Read references/import-recipes.md when writing extractor code,

What it can do on your machine

Read from SKILL.md and the folder at commit f873e78. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

DeepChat Data Import Helper loads about 738 tokens when it runs, and up to ~5.7k if it reads all its reference files. Until then it costs about 103 tokens; SKILL.md has 270 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~103
When it runs · the whole SKILL.md, loaded when a task matches
~738
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ThinkInAIXYZ/deepchat at commit f873e78, republished under its Apache-2.0 licence (© ThinkInAIXYZ). 270 words, ~738 tokens.

Download SKILL.mdSave it as .claude/skills/deepchat-data-import/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
deepchat-data-import
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.

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/**

© ThinkInAIXYZ, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (references) in .agents/skills/deepchat-data-import of ThinkInAIXYZ/deepchat.

  • SKILL.md
  • agents/openai.yaml
  • references/data-locations.md
  • references/import-recipes.md
  • references/schema-reference.md
  • references/sqlite-access.md

Open the folder on GitHubat commit f873e78

Compare with similar skills

DeepChat Data Import Helper next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

DeepChat Data Import Helper compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
DeepChat Data Import Helper this skillThinkInAIXYZ/deepchat6.4k—~738Automated safety check: PassApache-2.0
Add Store Queryradimsem/remindb129—~2kAutomated safety check: PassMIT
Init Tauri Appglebis/claude-skills389—~1.5kAutomated safety check: PassMIT
Native Feel Cross Platform Desktopyetone/native-feel-skill1.9k1 repos~1.5kAutomated safety check: PassMIT
Open Computer UseiFurySt/open-codex-computer-use2.4k—~1.5kAutomated safety check: PassMIT
Gearcoleco Debuggingdrhelius/Gearcoleco141—~3.5kAutomated safety check: PassGPL-3.0

Similar skills

  • Add Store Query

    radimsem/remindb

    A skill your agent uses when adding or modifying a SQL query against the SQLite store — symptoms include "add a method to Store", "new column on nodes", "expose X via the store", "add an index"…

    129 GitHub stars~2k tokensUpdated 2 mo ago
    DatabasesAuto-check passed
  • Init Tauri App

    glebis/claude-skills

    Scaffold a new Tauri v2 project with the cenno/cull house conventions — delegates boilerplate to npm create tauri-app, then layers an opinionated core plus opt-in modules (CLI+MCP, SQLite…

    389 GitHub stars~1.5k tokensUpdated 12 days ago
    MobileAuto-check passed
  • Native Feel Cross Platform Desktop

    yetone/native-feel-skill

    A skill your agent uses when the user is designing, prototyping, or rewriting a desktop app that must run on multiple OSes (macOS + Windows, optionally Linux) AND feel indistinguishable from a…

    1.9k GitHub starsUsed in 1 repo~1.5k tokens
    DevelopmentAuto-check passed
  • Open Computer Use

    iFurySt/open-codex-computer-use

    Platform-neutral guidance for using Open Computer Use, the open-source Computer Use MCP server and CLI for macOS, Linux, and Windows.

    2.4k GitHub stars~1.5k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Gearcoleco Debugging

    drhelius/Gearcoleco

    Debug and trace ColecoVision and Super Game Module games using the Gearcoleco emulator MCP server.

    141 GitHub stars~3.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Cortex Mem MCP

    sopaco/cortex-mem

    Persistent memory enhancement for AI agents. An agent skill from sopaco/cortex-mem.

    312 GitHub stars~2.8k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed

More from ThinkInAIXYZ/deepchat

All 15 skills in this repo
  • DeepChat Provider Integration

    ThinkInAIXYZ/deepchat

    Guides adding an LLM provider to DeepChat through explicit source changes: collect the provider details, pick a transport path and add registry entries and tests.

    6.4k GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed
  • DeepChat Release Process

    ThinkInAIXYZ/deepchat

    Runs the DeepChat repository's release flow: prepares bilingual release notes and a version bump on dev, cuts or updates a release branch, then fast-forwards main and tags the version.

    6.4k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • DeepChat CLI

    ThinkInAIXYZ/deepchat

    Lets an agent drive DeepChat's bundled CLI for model calls, media generation, transcription, OCR, artifacts, configuration, Skills and MCP operations, within strict command rules.

    6.4k GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • DeepChat Settings

    ThinkInAIXYZ/deepchat

    Changes DeepChat's own application settings, such as theme, language, font size and sound, through a fixed set of settings tools, and points to the right screen for anything else.

    6.4k GitHub stars~786 tokensUpdated today
    Auto-check passed
  • DeepChat Desktop Control

    ThinkInAIXYZ/deepchat

    Operates native desktop apps through DeepChat's built-in Computer Use tools, following a snapshot-then-act loop with session setup, app launch and window inspection.

    6.4k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • AntV Infographic Syntax Creator

    ThinkInAIXYZ/deepchat

    Turns user content into AntV Infographic syntax, choosing a matching template and structuring the data into a single infographic code block.

    6.4k GitHub stars~278 tokensUpdated today
    Auto-check passed

Categories

Questions about DeepChat Data Import Helper

What does DeepChat Data Import Helper do?

Guides building a third-party importer for DeepChat's local SQLite data, covering schema, encryption and safe read-only access patterns. It treats DeepChat's SQLite schema as a documentable internal contract, inspecting the live schema when precision matters and preferring read-only snapshots over writing to a live profile. The workflow is to identify the data source, a live profile, a copied profile, a sync backup, or a legacy chat database, then read a sequence of reference files: data locations for finding the database and its sidecar and backup paths, SQLite access for deciding whether the database is unencrypted, openable through Electron's safeStorage, or needs a user-supplied password, a schema reference for table relationships, and import recipes for writing extractor code.

When should I use DeepChat Data Import Helper?

DeepChat Data Import Helper fits situations like: building a tool that imports or migrates DeepChat chat history; inspecting DeepChat's SQLite schema before writing extractor code; reading encrypted DeepChat data safely without touching the live profile.

How do I install DeepChat Data Import Helper in Claude Code?

Run `npx skills add ThinkInAIXYZ/deepchat --skill deepchat-data-import -a claude-code`. Or copy the skill folder (.agents/skills/deepchat-data-import in ThinkInAIXYZ/deepchat) into .claude/skills/deepchat-data-import in your project. Claude Code loads it when a task matches its description.

How do I install DeepChat Data Import Helper in Codex?

Run `npx skills add ThinkInAIXYZ/deepchat --skill deepchat-data-import -a codex`. Or copy the skill folder (.agents/skills/deepchat-data-import in ThinkInAIXYZ/deepchat) into .agents/skills/deepchat-data-import in your project. Codex loads it when a task matches its description.

Can I use DeepChat Data Import Helper in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ThinkInAIXYZ/deepchat --skill deepchat-data-import -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/deepchat-data-import, .gemini/skills/deepchat-data-import, .github/skills/deepchat-data-import and .opencode/skills/deepchat-data-import in your project.

What does DeepChat Data Import Helper need to run?

SKILL.md names no scripts, command-line tools or credentials: DeepChat Data Import Helper is instructions for the agent only. Our summary lists: Read access to a copied DeepChat profile or backup; Explicit user consent before reading local chat data.

Does DeepChat Data Import Helper access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is DeepChat Data Import Helper safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does DeepChat Data Import Helper use?

DeepChat Data Import Helper is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does DeepChat Data Import Helper use?

About 738 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5k tokens, read only when the agent opens those files.

What are the alternatives to DeepChat Data Import Helper?

Skills that share tags, products or a category with DeepChat Data Import Helper: Add Store Query (radimsem/remindb, 129 stars), Init Tauri App (glebis/claude-skills, 389 stars), Native Feel Cross Platform Desktop (yetone/native-feel-skill, 1.9k stars) and Open Computer Use (iFurySt/open-codex-computer-use, 2.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains DeepChat Data Import Helper?

ThinkInAIXYZ (a GitHub organization) maintains it in ThinkInAIXYZ/deepchat, which has 6,359 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 8, 2026.

Source: ThinkInAIXYZ/deepchat on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.