← Back to Skills Marketplace
lulu-owo

Telegram Import

by Lulu-OwO · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
81
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install telegram-import
Description
Incrementally import Telegram messages from SQLite to LanceDB with Qwen3-Embedding-4B vectors, supporting checkpoint resume and filtering empty messages.
Usage Guidance
This skill is coherent with its stated purpose, but review these before running: 1) Paths: the script hardcodes Windows paths (e.g., D:\chat\telegram_messages.db and D:\edata.lance). Update them if your files live elsewhere or run in an environment that matches these paths. 2) Dependencies: install the required Python packages (requests, numpy, pyarrow, lance) in a controlled virtual environment. 3) Local embedding service: the embedding endpoint is http://127.0.0.1:1234 — ensure LM Studio (or another compatible service) is running locally and you trust it. 4) Checkpoint safety: the script uses pickle.load to read the checkpoint file; unpickling untrusted files can execute arbitrary code. Only reuse checkpoints you created/trust; if you expect untrusted inputs, replace pickle with a safe format (JSON) or validate the checkpoint file before loading. 5) Backups & permissions: the script will read your Telegram DB and write into the LanceDB directory; back up data and run with appropriate filesystem permissions. If you want higher assurance, inspect and test the script in an isolated VM or container before running on sensitive data.
Capability Analysis
Type: OpenClaw Skill Name: telegram-import Version: 1.0.0 The skill contains security vulnerabilities that could be exploited, specifically the use of 'pickle.load()' in 'scripts/chunk_db.py' to handle checkpoint files, which allows for arbitrary code execution if the checkpoint file is tampered with. Additionally, the script uses f-strings for SQL table and column names, which is a poor practice that can lead to SQL injection. While these behaviors appear to be unintentional flaws in a tool designed for local data processing, they meet the criteria for 'suspicious' due to the presence of high-risk vulnerabilities without clear evidence of malicious intent.
Capability Assessment
Purpose & Capability
The name/description (Telegram -> LanceDB with Qwen3 embeddings) matches the code and SKILL.md. The script reads a local SQLite DB, generates embeddings from a local LM Studio endpoint, and writes to a local LanceDB dataset. No unrelated credentials, remote APIs, or unrelated binaries are requested.
Instruction Scope
Instructions and the script operate on local files and the local LM Studio endpoint (127.0.0.1). They reference explicit Windows paths (D:\...) and the checkpoint file. The script reads the SQLite DB and writes to LanceDB and a checkpoint; it does not contact external domains beyond localhost. Note: the SKILL.md and script assume specific absolute paths which may not exist on a user's machine and will cause failures if paths are different.
Install Mechanism
No install spec is provided (instruction-only plus an included script). The script imports third-party Python packages (requests, numpy, pyarrow, lance). The absence of an install spec is not incoherent, but users must manually ensure these dependencies are installed; missing guidance could lead to runtime errors.
Credentials
No environment variables, credentials, or external tokens are required. The only network call is to http://127.0.0.1:1234 (local LM Studio), which is proportional to producing embeddings.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and only writes its own checkpoint and the LanceDB dataset at the configured paths. It does perform persistent writes to the filesystem (checkpoint and dataset) as expected for an importer.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install telegram-import
  3. After installation, invoke the skill by name or use /telegram-import
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of telegram-import skill: - Incrementally imports Telegram messages from SQLite database (`telegram_messages.db`) to LanceDB vector store. - Uses a defined schema with embedding vectors generated by Qwen3-Embedding-4B (2560 dimensions) via LM Studio API. - Supports checkpointing for resumable import using `telegram.ckpt`. - Skips empty messages and already seen keys, processes in batches (500 rows per checkpoint). - Includes metadata extraction and structured LanceDB storage for further applications.
Metadata
Slug telegram-import
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Telegram Import?

Incrementally import Telegram messages from SQLite to LanceDB with Qwen3-Embedding-4B vectors, supporting checkpoint resume and filtering empty messages. It is an AI Agent Skill for Claude Code / OpenClaw, with 81 downloads so far.

How do I install Telegram Import?

Run "/install telegram-import" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Telegram Import free?

Yes, Telegram Import is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Telegram Import support?

Telegram Import is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Telegram Import?

It is built and maintained by Lulu-OwO (@lulu-owo); the current version is v1.0.0.

💬 Comments