📦 sql-explain — SQL解析优化
v1.0.0一键解析并优化 PostgreSQL/MySQL/SQLite 查询计划,提供 SQL 生成、格式化与语法检查,助你快速定位性能瓶颈、改写低效语句。
0· 62·0 当前·0 累计
下载技能包
最后更新
2026/4/7
安全扫描
OpenClaw
安全
high confidenceThe skill's code, instructions, and requirements are consistent with a local SQL parsing/formatting/explain-reporting tool and do not request unrelated credentials or system privileges.
评估建议
This skill appears coherent and local-only: it parses/format/explains SQL text and generates SQL from natural language without contacting external services or requesting credentials. A few non-security inconsistencies to be aware of: SKILL.md and README mention optionally using 'sqlean' and commercial tiers (saving history, Pro/Team) — the included code only uses sqlparse and contains no billing or storage logic. If you plan to run it, review the code in sql_explain.py (already small and readabl...详细分析 ▾
✓ 用途与能力
Name/description (SQL explain/format/check/nl2sql) align with the provided Python modules (sql_explain.py and cli.py). No credentials, binaries, or config paths are requested that would be unrelated to the stated purpose.
ℹ 指令范围
SKILL.md instructs the agent to parse SQL and EXPLAIN output using sqlparse or sqlean; the shipped implementation uses sqlparse + regex/built-in rules and does not access files, environment variables, or network endpoints. There is no instruction to execute SQL against a live database, only to parse/format/analyze text.
✓ 安装机制
No install spec in registry (instruction-only). The code depends on the public Python package sqlparse (README suggests pip install). No remote download/install URLs or archive extraction are present in the package metadata.
✓ 凭证需求
No required environment variables, secrets, or external credentials are requested. The skill does not reference system credentials or unexpected environment variables.
✓ 持久化与权限
always:false and no code attempts to modify other skills or persistent agent-wide settings. The skill is user-invocable and may be invoked autonomously as normal, but it does not request elevated persistence.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.02026/4/7
Initial release
● Pending
安装命令
点击复制官方npx clawhub@latest install sql-explain-cli
镜像加速npx clawhub@latest install sql-explain-cli --registry https://cn.longxiaskill.com镜像同步中