← 返回 Skills 市场
shlysz

nl2sqlSkill

作者 Shlysz · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
120
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install nl2sql-skill
功能描述
将自然语言转换为 SQL 查询并生成数据分析报告的完整 Agent 工作流。使用多 Agent 协作模式:并行子 Agent 投票做意图识别、生成-判断模式做 Schema Linking、ReAct 自修复 SQL、最终生成 Markdown 报告。 触发场景: - 用户用自然语言描述想查的数据 - 用户想把问...
安全使用建议
Before installing, ask the skill author how the agent will connect to databases (what connector, which env vars or platform-provided connector), and require them to: (1) declare needed credentials and minimum required privileges (read-only), (2) document where reports/results are stored or transmitted, (3) enforce strict row/column limits and PII redaction rules, and (4) add an explicit confirmation step before executing any query against production data. If you must run this, supply a dedicated read-only test database or limit the agent's DB connection via network controls and audit logging. If you are uncomfortable with autonomous queries against live data, disable autonomous invocation or require user confirmation for each execution.
功能分析
Type: OpenClaw Skill Name: nl2sql-skill Version: 1.0.0 The skill bundle describes a multi-agent workflow for converting natural language to SQL and generating data reports. It includes structured phases for intent recognition, schema linking, and SQL self-healing using a ReAct pattern. There is no evidence of malicious intent, data exfiltration, or unauthorized execution; the instructions specifically restrict SQL generation to SELECT/WITH queries and focus entirely on the stated data analysis purpose (SKILL.md).
能力评估
Purpose & Capability
The skill claims to generate and execute SQL and to inspect table schemas/samples (execute_sql, get_table_schema). However, the registry metadata lists no required environment variables, no primary credential, and no required binaries/connectors. Executing SQL requires a DB connection (host/user/password/driver) or an adapter; that dependency is not declared, which is inconsistent with the stated purpose.
Instruction Scope
SKILL.md instructs the agent to run queries, probe table schemas, fetch sample data, and optionally run additional supplemental queries. Those actions can expose sensitive data (PII, credentials, business secrets). The instructions do not specify where results/reports are stored, redaction rules, or explicit user consent/confirmation steps before executing queries or returning raw rows (>50 rows are summarized but no strict row/column limits).
Install Mechanism
No install spec and no code files (instruction-only). This reduces risk from arbitrary code installation or external downloads; nothing will be written to disk by an installer.
Credentials
The skill requires access to a database to fulfill its purpose but declares no environment variables or credentials (DB_HOST, DB_USER, DB_PASS, connection string, or platform connector). That mismatch makes it unclear how the agent will authenticate to data sources. Also, there are no declarations around required minimum privileges (read-only user) or data scoping, which is disproportionate given the ability to query arbitrary tables and sample data.
Persistence & Privilege
always is false and there is no install persistence. The skill can be invoked autonomously by the agent (default), which is normal — but that combined with the DB-querying behavior would increase risk if the agent is granted live DB access without restrictions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install nl2sql-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /nl2sql-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the nl2sql-report skill. - Supports natural language to SQL conversion and automated data analysis report generation. - Implements a multi-agent workflow: parallel agent voting for intent recognition, generate-judge schema linking, ReAct-based SQL self-repair, and Markdown report writing. - Designed for scenarios where users ask data questions in natural language, want SQL queries, or need analysis reports. - Ensures accuracy and robustness by using parallel, competitive, and self-healing agent strategies in all workflow stages.
元数据
Slug nl2sql-skill
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

nl2sqlSkill 是什么?

将自然语言转换为 SQL 查询并生成数据分析报告的完整 Agent 工作流。使用多 Agent 协作模式:并行子 Agent 投票做意图识别、生成-判断模式做 Schema Linking、ReAct 自修复 SQL、最终生成 Markdown 报告。 触发场景: - 用户用自然语言描述想查的数据 - 用户想把问... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 120 次。

如何安装 nl2sqlSkill?

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

nl2sqlSkill 是免费的吗?

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

nl2sqlSkill 支持哪些平台?

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

谁开发了 nl2sqlSkill?

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

💬 留言讨论