db
🔍 导出并模糊搜索 Telegram 聊天记录 | Export and fuzzy search your Telegram chat history
Install / Use
npx skills add groupultra/telegram-searchInstalls into whichever agent you are using.
Cursor Rules
Cursor IDE rules (v2)
Quality Score
Category
Data & AnalyticsSupported Platforms
Skill content
View source on GitHubglobs: drizzle//*, sql//, packages/core/src/schemas/**/, packages/core/src/models/**/*
Database & Migrations
- Role: Provide a consistent schema and migration history that works in both:
- PostgreSQL with pgvector (server mode).
- PGlite (browser-only mode).
Schema Definition
- Treat the TypeScript schema in
packages/core/src/schemas/modelsas the source of truth. - Ensure any schema change is reflected consistently in:
- TS schema/models.
- Generated Drizzle migrations under
drizzle/. - Any raw SQL helpers under
sql/if present.
- Prefer Drizzle's typed query APIs over raw SQL to keep Postgres and PGlite behavior aligned.
Migrations
- Use
drizzle-kit(pnpm run db:generate) to generate new migrations; avoid hand-writing large SQL files. - For production-safe changes:
- Make migrations forward-only and additive when possible.
- Avoid destructive operations without a clear, tested migration path.
- If a generated migration needs manual tweaks:
- Keep custom SQL focused and well-commented.
- Verify both Postgres and PGlite behavior where applicable.
Performance & Indexing
- For vector search:
- Ensure vector dimensions match the configured embedding model.
- Use pgvector indexes where needed, and make them explicit in migrations.
- For analytical queries (stats, charts):
- Prefer precalculated or indexed aggregates over complex ad‑hoc joins on hot paths.
Related Skills
claude-mem
94.4kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Chat2DB
28.2kChat2DB is a free, cross-platform, local-first database client and SQL workspace for developers, DBAs, analysts, and data teams. Connect to 40+ databases, manage data, edit and run SQL, and use your own AI model to generate, explain, and optimize queries.
Douyin_TikTok_Download_API
20.2k🚀 Self-hosted TikTok & Douyin scraper and no-watermark video downloader — async REST API, MCP server, CLI and web console for posts, profiles, comments and playlists. Self-healing identity pool, PostgreSQL archive, one docker compose up. 抖音、TikTok 数据采集与无水印视频下载 API,自托管,支持 MCP 调用与 Docker 一键部署。
dbx
20.3k25 MB lightweight cross-platform database client for 90+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker.
Security Score
Audited on Sep 1, 2026
