·smart-query
</>

smart-query

智能数据库查询技能。通过SSH隧道连接线上数据库,支持自然语言转SQL、执行查询、表结构探索。当用户需要查询数据库、问数据、看表结构时使用此技能。

15Installs·1Trend·@zrt-ai-lab

Installation

$npx skills add https://github.com/zrt-ai-lab/opencode-skills --skill smart-query

How to Install smart-query

Quickly install smart-query AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/zrt-ai-lab/opencode-skills --skill smart-query
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: zrt-ai-lab/opencode-skills.

SKILL.md

View raw

| scripts/dbconnector.py | SSH隧道+数据库连接,可单独运行测试连接 | | scripts/query.py | 执行SQL查询,支持表格/JSON输出 | | scripts/schemaloader.py | 加载表结构,生成 schema.md |

智能数据库查询技能。通过SSH隧道连接线上数据库,支持自然语言转SQL、执行查询、表结构探索。当用户需要查询数据库、问数据、看表结构时使用此技能。 Source: zrt-ai-lab/opencode-skills.

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/zrt-ai-lab/opencode-skills --skill smart-query Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Security certified for safe and reliable code One-click installation with simplified configuration Compatible with Claude Code, Cursor, OpenClaw, and more

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/zrt-ai-lab/opencode-skills --skill smart-query
Category
</>Dev Tools
Verified
First Seen
2026-02-25
Updated
2026-03-10

Browse more skills from zrt-ai-lab/opencode-skills

Quick answers

What is smart-query?

智能数据库查询技能。通过SSH隧道连接线上数据库,支持自然语言转SQL、执行查询、表结构探索。当用户需要查询数据库、问数据、看表结构时使用此技能。 Source: zrt-ai-lab/opencode-skills.

How do I install smart-query?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/zrt-ai-lab/opencode-skills --skill smart-query Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/zrt-ai-lab/opencode-skills