首页龙虾技能列表 › NEXUS Text To Sql — 技能工具

\\u26a1 NEXUS Text To Sql — 技能工具

v1.1.0

Convert natural language to optimized SQL queries

0· 301·1 当前·1 累计
by @cyberforexblockchain (CyberForexBlockchain)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/10
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
medium confidence
The skill is internally consistent: it is an instruction-only wrapper around a paid external Text→SQL API and only requests a payment-proof credential appropriate to that purpose, but you should vet the external service before giving it real payment credentials.
评估建议
This skill is a thin client that sends your text to an external paid API (ai-service-hub-15.emergent.host). Before installing: 1) Verify you trust the NEXUS service and its domain and read its payment/privacy docs. 2) Treat NEXUS_PAYMENT_PROOF as a secret — don’t store production payment credentials in shared shells or repos. 3) Use the provided sandbox mode (X-Payment-Proof: sandbox_test) to test behavior without paying. 4) Be aware the skill will transmit payment proofs and (if using Stellar s...
详细分析 ▾
用途与能力
The name/description match the runtime instructions: this skill forwards input to an external NEXUS Text-to-SQL API and expects a payment proof. Asking for a payment proof (NEXUS_PAYMENT_PROOF) is coherent with a paid API.
指令范围
The SKILL.md instructs the agent to POST requests to https://ai-service-hub-15.emergent.host and to perform payment flows (x402 / MPP / Masumi / legacy X-Payment-Proof). It does not request filesystem or shell access. Note: the instructions explicitly ask you to send payment proofs and potentially signed Stellar XDRs to the sponsor endpoint, which is expected for fee-sponsorship flows but will transmit payment-related data to the external service.
安装机制
Instruction-only skill with no install spec and no code files — nothing is downloaded or written to disk by the skill itself.
凭证需求
Only one required env var (NEXUS_PAYMENT_PROOF) is declared, which matches the documented payment/header flows. This is proportional, but that env var is a sensitive payment credential and should be treated as secret. The SKILL.md refers only to that env var and no other credentials.
持久化与权限
The skill is not always:true and is user-invocable. It requests network access (needed to contact the external API) but no filesystem/shell privileges. Autonomous invocation (disable-model-invocation: false) is the platform default and is not by itself a concern.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.1.02026/3/14

Added x402 payment protocol (Coinbase/Masumi), multi-chain Cardano + Stellar documentation, 10 protocols

● 无害

安装命令 点击复制

官方npx clawhub@latest install nexus-text-to-sql
镜像加速npx clawhub@latest install nexus-text-to-sql --registry https://cn.clawhub-mirror.com

技能文档

Turn data questions into executable queries using your actual table definitions

The Problem This Solves

Agents working with databases need to construct SQL queries dynamically. Generic LLM prompting produces SQL with hallucinated column names. This service takes your real schema as input and generates queries that reference your actual tables and columns.

When to use

Your agent has access to a database schema and receives natural language questions from users or other agents. Instead of maintaining a library of pre-written queries, feed the question and schema to this service and get back executable, optimized SQL.

How it works

  • Agent provides table definitions (CREATE TABLE statements or simplified column lists)
  • Agent provides the natural language question
  • Service returns: executable SQL + English explanation + performance notes

Three-input API call

curl -X POST https://ai-service-hub-15.emergent.host/api/original-services/text-to-sql \
  -H "Content-Type: application/json" \
  -H "X-Payment-Proof: sandbox_test" \
  -d '{
    "question": "Which products had more than 100 returns last month?",
    "table_schema": "products(id, name, category, price), returns(id, product_id, return_date, reason, refund_amount)",
    "database_type": "postgresql"
  }'

What you get back

{
  "sql": "SELECT p.name, p.category, COUNT(r.id) as return_count ...",
  "explanation": "Joins products with returns, filters by last 30 days, groups by product, filters groups with HAVING > 100",
  "performance_notes": "Consider index on returns(product_id, return_date)"
}

External Endpoints

URLMethod
https://ai-service-hub-15.emergent.host/api/original-services/text-to-sqlPOST

Security & Privacy

Table schemas and questions are encrypted via HTTPS/TLS. No data is stored — processed in memory and discarded immediately. Your actual database is never accessed; only the schema definition and question are processed. Payment via Masumi Protocol on Cardano.

Model Invocation Note

Uses server-side LLM processing to parse schemas and generate SQL. Opt out by not installing.

Trust Statement

Schema definitions are transmitted to NEXUS for query generation. No database connections are made. All payments non-custodial via Cardano. Visit https://ai-service-hub-15.emergent.host for terms.

数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务