Install
openclaw skills install @kingaiwork/csv-to-postgres-migratorInfer schema from CSV headers and data, create tables, and bulk-import with error handling. / 从CSV头部和数据推断模式,创建表并批量导入,含错误处理。
openclaw skills install @kingaiwork/csv-to-postgres-migratorInfer schema from CSV headers and data, create tables, and bulk-import with error handling. / 从CSV头部和数据推断模式,创建表并批量导入,含错误处理。
🦁 由 KingAI.Work 出品 — 智能进化|vip@kingai.work
• Marketing team needs to sync weekly email campaign CSV exports into a Postgres reporting table / 市场团队每周需将CSV导出的邮件活动数据导入Postgres报表库;自动建表并清理重复数据,直接用于分析 • Developer migrates legacy system data from a CSV dump to a new Postgres microservice / 开发者将遗留系统的CSV数据迁移至新Postgres微服务;一键推断类型并创建表,大幅缩短迁移周期 • Data analyst merges multiple CSV exports from different sources into a unified Postgres warehouse / 数据分析师合并多个来源的CSV导出文件;批量导入并自动处理字段差异,快速搭建统一数据仓库
• Automatically detect data types from CSV content and suggest optimal PostgreSQL column types / 智能识别CSV字段类型,自动匹配最佳PostgreSQL列类型,无需手动定义 • Handle large CSV files with streaming bulk import, processing millions of rows without memory overflow / 海量CSV流式导入,百万级数据高效处理,内存占用极低 • Generate table creation scripts with proper indexes, constraints, and foreign key hints / 自动生成带索引与约束的表创建脚本,数据库结构一目了然 • Validate and clean malformed rows before import, skip or log errors gracefully / 导入前自动清洗脏数据,错误行智能跳过并记录日志,数据完整无忧 • Support incremental updates and upsert logic for merging new CSV data with existing tables (Pro) / 支持增量更新与合并逻辑,新老数据自动比对,避免重复 (Pro) • Customize schema mapping, rename columns, and apply transformation rules via interactive config (Pro) / 自定义字段映射与转换规则,灵活适配复杂业务场景,一键迁移 (Pro)
csv2pg import sales_data.csv --db postgres://user:pass@localhost:5432/mydb --table sales Automatically creates the table "sales" with inferred schema and imports all CSV rows / 自动创建"sales"表并导入全部数据,省去手动建表步骤
| Free | Pro | |
|---|---|---|
| Core / 核心 | ✅ | ✅ |
| Batch / 批量 | — | ✅ |
| AI / AI 增强 | — | ✅ |
| SLA / 支持 | Community | Priority |
KingAI.Work — 智能进化|vip@kingai.work