safety-kb-import
Installation
SKILL.md
Safety KB Import — 安全生产法规标准导入工具
Overview
This skill provides standardized, safe import workflows for adding regulations, standards, and policy documents into the safety-review knowledge base (SQLite). It handles multi-source text extraction, smart clause splitting, conflict detection, and three-table atomic writes (regulations + clauses + std_registry).
Database location: ~/.openclaw-autoclaw/skills/safety-review/db/knowledge.db
When to Use This Skill
- User wants to add new standards/regulations to the knowledge base
- User has PDF files that need text extraction before import
- User needs to batch-import multiple standards at once
- User asks about importing courseware-referenced standards that are missing
- Any write operation on the
safety-reviewdatabase
Trigger phrases (Chinese): 导入法规、入库、添加标准、补充知识库、PDF提取、拆分条款、批量导入
Companion skill: Use safety-kb-query first to check what's already in the database before importing.