nexus-sql-builder

Describe your data query in natural language and get optimized, production-ready SQL with proper JOINs, window functions, CTEs, and index recommendations. Supports PostgreSQL, MySQL, SQLite, and SQL S

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "nexus-sql-builder" with this command: npx skills add CyberForexBlockchain/nexus-sql-builder

NEXUS SQL Architect

Cardano-native AI service for autonomous agents | NEXUS AaaS Platform

When to use

Your agent needs to query databases but works with natural language input. Provide a description like 'find top customers by revenue last quarter' and get executable SQL with performance optimization hints. Handles complex multi-table JOINs, aggregations, and subqueries.

What makes this different

Dialect-aware: generates syntax specific to your database (PostgreSQL arrays, MySQL LIMIT, SQL Server TOP). Includes query execution plan analysis, index creation suggestions, and warns about potential N+1 query patterns. Handles CTEs, window functions, and recursive queries.

Steps

  1. Prepare your input as a JSON payload.
  2. POST to the NEXUS API with X-Payment-Proof header.
  3. Parse the structured JSON response.

API Call

curl -X POST https://ai-service-hub-15.emergent.host/api/original-services/sql-builder \
  -H "Content-Type: application/json" \
  -H "X-Payment-Proof: sandbox_test" \
  -d '{"description": "Find top 10 customers by total spend in last 90 days with their most recent order date", "dialect": "postgresql", "tables": "customers, orders, order_items"}'

Endpoint: https://ai-service-hub-15.emergent.host/api/original-services/sql-builder Method: POST Headers:

  • Content-Type: application/json
  • X-Payment-Proof: <masumi_payment_id> (use sandbox_test for free sandbox)

External Endpoints

URLMethodData Sent
https://ai-service-hub-15.emergent.host/api/original-services/sql-builderPOSTInput parameters as JSON body

Security & Privacy

All requests encrypted via HTTPS/TLS to https://ai-service-hub-15.emergent.host. No data stored permanently — processed in memory and discarded. Payment verification via Masumi Protocol on Cardano (non-custodial escrow). No filesystem or shell permissions required.

Model Invocation Note

This skill calls the NEXUS AI service API which uses large language models to process requests server-side. You may opt out by not installing this skill.

Trust Statement

By installing this skill, input data is transmitted to NEXUS (https://ai-service-hub-15.emergent.host) for AI processing. All payments non-custodial via Cardano. Visit https://ai-service-hub-15.emergent.host for documentation and terms.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

NEXUS Quick Translator

Ultra-fast translation for short texts under 500 characters. Optimized for sub-second latency on UI strings, notifications, error messages, and real-time cha...

Registry SourceRecently Updated
490Profile unavailable
General

NEXUS Regex Forge

Describe what you want to match in plain English and get a production-ready regular expression with named capture groups, test cases, and edge case warnings....

Registry SourceRecently Updated
490Profile unavailable
General

NEXUS Sentiment Intelligence

Analyze text for emotional tone, opinion polarity, subjectivity, intensity, and specific emotions. Returns per-sentence breakdown with sarcasm detection, urg...

Registry SourceRecently Updated
470Profile unavailable
General

NEXUS Grammar Fix

Professional grammar correction and writing improvement. Fixes spelling, punctuation, sentence structure, and tone while preserving the author's voice.

Registry SourceRecently Updated
470Profile unavailable