← 返回 Skills 市场
cyz9827

safety-kb-query.

作者 cyz9827 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
64
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install safety-kb-query
功能描述
安全生产法规知识库查询工具。当用户需要查标准是否存在、搜索法规、对比标准清单、查看条款内容、统计知识库规模、检查数据质量时使用。触发词:查知识库、搜法规、标准存在吗、对比标准、查条款、KB查询、safety-review、法规检索、标准时效、数据质量检查
安全使用建议
This skill appears to do what it says: read-only queries against a local SQLite knowledge DB. Before installing, verify: 1) the database path the skill will use (DEFAULT_DB_PATH / KB_PATH) points to the correct knowledge.db and not to any unrelated or sensitive database; 2) inspect scripts/kb_query.py yourself (it's short and uses only sqlite3/os/json/no networking); 3) run the script in a restricted environment or with a copy of the DB if you want to be cautious; and 4) if you expect the DB on a non-Windows host, adjust the default path or set KB_PATH accordingly. If any of these checks raise concerns (e.g., KB_PATH already set to a secret DB), do not install or run the skill until corrected.
功能分析
Type: OpenClaw Skill Name: safety-kb-query Version: 1.0.0 The safety-kb-query skill is a legitimate utility for querying a local SQLite database containing safety regulations. The Python script (scripts/kb_query.py) implements standard database operations such as searching, schema inspection, and data quality checks using parameterized SQL queries to prevent injection. The instructions in SKILL.md are consistent with the code's functionality, and there are no indicators of data exfiltration, malicious execution, or unauthorized access.
能力评估
Purpose & Capability
Name/description (safety KB query) match the implementation: the included script opens a local SQLite database and implements search, check, info, clauses, stats, schema, and conflicts commands. The declared functionality (read/query only) aligns with what the code does.
Instruction Scope
SKILL.md and the script instruct running the local Python CLI against a local DB path. The skill supports overriding the DB via KB_PATH env var (optional); the README default DB path uses a Windows-style path referencing user '13503' while the code uses a tilde-expanded path — minor inconsistency but not a functional mismatch. The script only reads local DB tables and does not reference external network endpoints or other system credentials.
Install Mechanism
No install spec or external downloads. The skill is instruction + a single Python script that runs on the host; nothing is written to disk by an installer and no external packages or URLs are fetched by the skill.
Credentials
No required environment variables or credentials are declared. The skill accepts an optional KB_PATH environment variable to point to the DB; this is reasonable but means the script will open whichever SQLite file path is provided. Users should avoid pointing KB_PATH to unrelated or sensitive databases (the script will read any SQLite file it can access).
Persistence & Privilege
always is false and the skill is read-only; it does not attempt to modify other skills or system-wide settings. Autonomous invocation is allowed (platform default) but the skill's actions are limited to reading the specified DB.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install safety-kb-query
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /safety-kb-query 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
:安全生产法规知识库查询工具,支持标准存在性检查、条款搜索、数据质量检测
元数据
Slug safety-kb-query
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

safety-kb-query. 是什么?

安全生产法规知识库查询工具。当用户需要查标准是否存在、搜索法规、对比标准清单、查看条款内容、统计知识库规模、检查数据质量时使用。触发词:查知识库、搜法规、标准存在吗、对比标准、查条款、KB查询、safety-review、法规检索、标准时效、数据质量检查. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 64 次。

如何安装 safety-kb-query.?

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

safety-kb-query. 是免费的吗?

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

safety-kb-query. 支持哪些平台?

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

谁开发了 safety-kb-query.?

由 cyz9827(@cyz9827)开发并维护,当前版本 v1.0.0。

💬 留言讨论