Data & analysis

sql-data-analyst

Try it

使用场景: 当用户要在本机分析 CSV、JSON、XLSX 或 Parquet,提出数据问题、运行只读 SQL,或制作本地 XLSX/HTML 报告时使用。

What it does

在 OpenClaw(龙虾)中用自然语言分析本地数据。宿主模型理解用户问题并解释结果,随 Skill 安装的 Runner 在用户本机读取文件、执行只读 SQL 和生成报告;文件内容、SQL 与结果不会发送给平台。

The skill document

SQL Data Analyst

在 OpenClaw(龙虾)中用自然语言分析本地数据。宿主模型理解用户问题并解释结果,随 Skill 安装的 Runner 在用户本机读取文件、执行只读 SQL 和生成报告;文件内容、SQL 与结果不会发送给平台。

Skill 安装与配置

  1. 在 AI Skills 平台“产品管理”中开通 SQL 数据分析。
  2. 进入「API Key」,选择该产品,创建并复制 API Key。
  3. 在 OpenClaw 中安装 sql-data-analyst Skill,并按安装提示在 Skill 目录运行一次 ./scripts/install.sh。安装器会自动准备 Runner 并完成 doctor 检查。
  4. 将复制的 Key 配置到本 Skill 的 API Key 环境变量,然后重启 Gateway:
openclaw config set env.SQL_DATA_ANALYST_API_KEY "你的平台APIKey"
openclaw gateway restart

Skill 使用

配置完成后,用户只需给出本地文件路径和分析目标,例如:

  • “分析 ~/Downloads/sales.xlsx,按月份汇总销售额,并说明变化趋势。”
  • “检查 orders.csv 中是否有重复订单,并列出重复数量最多的客户。”

执行规则

  1. 先确认本地 Runner 可用,再读取数据集结构。
  2. 宿主模型根据结构和用户问题生成一条只读 SELECTWITH SQL。
  3. 所有文件读取、查询和报告生成必须交给 Runner 在用户本机执行,不得改用 DuckDB CLI、Python REPL 或其他执行器绕过 Runner。
  4. 只解释 Runner 返回的有限结果,并明确说明截断或样本限制。

平台仅接收计费授权所需的 operationrunner_versioninstallation_idinput_fingerprint 四个元数据字段。Runner 自动处理 Authorization: BearerIdempotency-Key、摘要校验和签名票据;这些都不是用户需要配置的内容。

详细参考

Related skills

Read and write Excel workbooks, worksheets, ranges, tables, and charts in OneDrive through Microsoft Graph with managed OAuth.

by byungkyu800 installs42 stars

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.

by fly0pants4.3k installs296 stars

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván555 installs18 stars

More from youteacher

Browse all skills

使用场景: 用户要求处理蒙语、蒙古语或蒙古文,包括中文与传统蒙古文、西里尔蒙古文互译,蒙语问答写作,蒙文图片 OCR、语音识别、语音合成,或 DOCX/PDF 翻译时。

by youteacher59 installs2 stars

Use the Mongol AI API for Mongolian translation, script conversion, conversation, composition, OCR, ASR, TTS, and Word/PDF translation. Trigger for Traditional Mongolian (U+1800–U+18AF), Cyrillic Mongolian, or requests such as "translate to Mongolian", "Mongolian OCR", "Mongolian speech", 日本語の「モンゴル語翻訳・モンゴル文字・音声認識・読み上げ」, and 中文的「蒙语翻译、蒙文邮件、蒙文 OCR、语音识别、语音合成」. Requests send text, images, audio, or documents to https://mongol.open-idea.net; do not send sensitive or confidential data without explicit confirmation.

by youteacher9 installs

使用场景: 用户明确希望通过 AI Skills 平台 API 生成图片、编辑参考图、文生视频、图生视频、制作短视频或查询媒体任务。

by youteacher2 installs

Safely use an installed AIPASS app and OpenClaw tool plugin without exposing credentials. The standalone skill contains instructions only and performs no credential operations.

by youteacher2 installs1 stars

使用场景: 用户要求处理藏语或藏文,包括汉藏翻译、藏语问答写作、DOCX/PDF 翻译或藏文图片 OCR。

by youteacher2 installs