← 返回 Skills 市场
lovenervermore

chat-ai

作者 LoveNerverMore · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
295
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install chat-ai
功能描述
将自然语言问题转化为 SQL 查询并执行,支持多轮对话、意图识别、SQL 审计、可视化推荐等全流程。
使用说明 (SKILL.md)

\r \r

chat_ai(文本问数)\r

\r

功能\r

将自然语言问题转化为 SQL 查询并执行,支持多轮对话、意图识别、SQL 审计、可视化推荐等全流程。\r \r

触发方式\r

  • “查一下上个月销售额最高的5个产品”\r
  • “对比华东和华北的GMV”\r
  • “用 text2sql 帮我分析用户留存”\r \r

输入参数\r

  • query: 用户自然语言问题(必填)\r \r

输出格式\r

{\r
  "status": "success|error",\r
  "sql": "SELECT ...",\r
  "result": [{...}],  // 表格数据\r
  "summary": "简要结论",\r
  "regions": ["recognize_intent", "sql_generator", ...]\r
}
安全使用建议
Do not install or enable this skill without further review. The main.py file inserts a hard-coded local path (D:\javaworkspace\Winner-Ai) into sys.path and imports modules not included in the package; if that path exists on your machine the skill will execute code from it, which could access credentials, databases, or network resources. Ask the publisher to either (a) include all required modules in the skill bundle, (b) remove the sys.path injection and rely on standard packaging, or (c) provide a clear list of required environment variables and external services. If you must test it, run it in an isolated sandbox with no access to sensitive credentials, inspect the AIChatOrchestrator and related project code for networking/secret access, and verify what external endpoints and environment variables it uses.
能力评估
Purpose & Capability
The SKILL.md describes a text-to-SQL assistant and requires only a 'query' input, but main.py modifies sys.path to include a hard-coded local Windows project root (D:\javaworkspace\Winner-Ai) and imports AIChatOrchestrator and other modules that are not part of the skill bundle. This mismatch (expecting a separate developer project on disk) is not justified by the stated purpose and is disproportionate.
Instruction Scope
SKILL.md instructions are scoped to converting queries to SQL, but main.py's runtime behavior goes beyond that: it injects an external project path, imports app.* modules (including a redis client and orchestrator), and will execute that external project's logic if present. The SKILL.md does not mention reading local code/config or contacting external systems that the imported orchestrator might use.
Install Mechanism
There is no install spec (instruction-only), which reduces direct install risk. However, the bundled main.py will attempt to import code from an external, hard-coded filesystem location rather than relying only on bundled code or declared dependencies — effectively making the skill depend on arbitrary host files at runtime.
Credentials
The skill declares no required env vars or credentials, yet main.py imports components (AIChatOrchestrator, get_redis_client) that commonly require DB/LLM/Redis credentials. Those credentials are not declared, so the code could read them from the host environment or project config without user expectation or consent.
Persistence & Privilege
The skill does not request always:true and does not persist configuration itself. However, by adding a local project path to sys.path it gains the ability to execute arbitrary code from the host filesystem during invocation — increasing its runtime privileges compared with a self-contained instruction-only skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install chat-ai
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /chat-ai 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
chat-ai 1.0.0 - Initial release. - Converts natural language questions into SQL queries and executes them. - Supports multi-turn conversation, intent recognition, SQL auditing, and visualization recommendations. - Provides concise summary and visual suggestions in the output.
元数据
Slug chat-ai
版本 1.0.0
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 1
常见问题

chat-ai 是什么?

将自然语言问题转化为 SQL 查询并执行,支持多轮对话、意图识别、SQL 审计、可视化推荐等全流程。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 295 次。

如何安装 chat-ai?

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

chat-ai 是免费的吗?

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

chat-ai 支持哪些平台?

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

谁开发了 chat-ai?

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

💬 留言讨论