← 返回 Skills 市场
lulu-owo

Telegram Import

作者 Lulu-OwO · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
81
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install telegram-import
功能描述
Incrementally import Telegram messages from SQLite to LanceDB with Qwen3-Embedding-4B vectors, supporting checkpoint resume and filtering empty messages.
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install telegram-import
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /telegram-import 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug telegram-import
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Telegram Import 是什么?

Incrementally import Telegram messages from SQLite to LanceDB with Qwen3-Embedding-4B vectors, supporting checkpoint resume and filtering empty messages. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 81 次。

如何安装 Telegram Import?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install telegram-import」即可一键安装,无需额外配置。

Telegram Import 是免费的吗?

是的,Telegram Import 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Telegram Import 支持哪些平台?

Telegram Import 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Telegram Import?

由 Lulu-OwO(@lulu-owo)开发并维护,当前版本 v1.0.0。

💬 留言讨论