Xpersona
N

NEXUS Sql Builder

CLAWHUB · Unverified

Generate complex SQL queries from requirements

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17a9p4658c98g5crz7yh772ex83nny8:nexus-sql-builder
  1. Install using `clawhub skill install s17a9p4658c98g5crz7yh772ex83nny8:nexus-sql-builder` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/cyberforexblockchain/nexus-sql-builder before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-cyberforexblockchain-nexus-sql-builder/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

26,962 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: nexus-sql-builder
description: "Generate complex SQL queries from requirements"
version: 2.1.0
capabilities:
  - id: invoke-sql-builder
    description: "Generate complex SQL queries from requirements"
permissions:
  network: true
  filesystem: false
  shell: false
inputs:
  - name: input
    type: string
    required: true
    description: "The input text or query"
outputs:
  type: object
  properties:
    result:
      type: string
      description: "The service response"
requires:
  env: [NEXUS_PAYMENT_PROOF]
protocols:
  - masumi
  - mpp
  - x402
  - ap2
  - xrpl
  - a2a
payment:
  mpp_standard: "IETF draft-httpauth-payment-00"
  accepted_currencies: [ADA, DJED, iUSD, USDCx, USDM, USDC, XLM, XRP, RLUSD]
  supported_chains: [cardano, stellar, xrpl]
  ap2_supported: true
  batch_settlement: true
  mpp_discovery: "https://ai-service-hub-15.emergent.host/api/mpp/discover"
  ap2_config: "https://ai-service-hub-15.emergent.host/api/ap2/config"
  xrpl_config: "https://ai-service-hub-15.emergent.host/api/xrpl/config"
  stablecoin_registry: "https://ai-service-hub-15.emergent.host/api/mpp/stablecoins"
metadata: '{"openclaw":{"emoji":"\u26a1","requires":{"env":["NEXUS_PAYMENT_PROOF"]},"primaryEnv":"NEXUS_PAYMENT_PROOF"}}'
---

# SQL Query Builder

> NEXUS Agent-as-a-Service on Cardano + Stellar + XRPL | Price: $0.15/request | Accepts: ADA, DJED, iUSD, USDCx, USDM (Cardano) + USDC, XLM (Stellar) + XRP, RLUSD (XRPL)

## When to use

Use when you need to generate complex sql queries from requirements.

## Steps

### Option A: x402 Standard (Recommended)

1. Call the service endpoint without payment headers.
2. Receive HTTP 402 with `WWW-Authenticate: Payment` header AND x402 `accepts[]` array in response body.
3. Select a `paymentRequirement` from `accepts[]` matching your preferred network + asset.
4. Networks: `cardano:mainnet` (ADA, DJED, iUSD, USDCx, USDM), `stellar:pubnet` (USDC, XLM), `sandbox` (free).
5. Send payment to the `payTo` address for `maxAmountRequired` in the specified asset.
6. **Stellar fee sponsorship:** POST your signed XDR to `https://ai-service-hub-15.emergent.host/api/mpp/stellar/sponsor` — NEXUS pays gas, you need 0 XLM.
7. Retry with `X-PAYMENT: <base64url JSON {x402Version:1, scheme:"exact", network, payload:{tx_hash, currency}}>` header.
8. Parse the JSON response and `X-PAYMENT-RESPONSE` header.

### Option B: MPP Standard

1. Call the service endpoint without payment headers.
2. Receive HTTP 402 with `WWW-Authenticate: Payment` header listing all accepted currencies and amounts.
3. Pick your preferred chain + currency: Cardano (ADA, stablecoins) or Stellar (USDC, XLM).
4. Create payment: Masumi escrow (Cardano) or direct Stellar transfer.
5. **Stellar fee sponsorship:** POST your signed XDR to `https://ai-service-hub-15.emergent.host/api/mpp/stellar/sponsor` — NEXUS pays gas, you need 0 XLM.
6. Retry with `Authorization: Payment <base64url-credential>` header.
7. Parse the JSON response and `Payment-Receipt` heade

README.md

# nexus-sql-builder

**SQL Query Builder** — Generate complex SQL queries from requirements

Part of the [NEXUS Agent-as-a-Service Platform](https://ai-service-hub-15.emergent.host) on Cardano.

## Installation

```bash
clawhub install nexus-sql-builder
```

Or manually copy the `SKILL.md` to your OpenClaw skills directory:

```bash
cp SKILL.md ~/.openclaw/skills/nexus-sql-builder/SKILL.md
```

## Usage

This skill is automatically invoked by your OpenClaw agent when a matching task is detected.

### Direct API Usage (x402 / MPP Standard)

Any call without payment returns HTTP 402 with a `WWW-Authenticate: Payment` header AND x402 `accepts[]` array in response body:

```bash
# Step 1: Get the x402/MPP challenge
curl -X POST https://ai-service-hub-15.emergent.host/api/original-services/sql-builder \
  -H "Content-Type: application/json" \
  -d '{"input": "your query here"}'
# Returns 402 + WWW-Authenticate: Payment header

# Step 2: After payment, retry with credential
curl -X POST https://ai-service-hub-15.emergent.host/api/original-services/sql-builder \
  -H "Content-Type: application/json" \
  -H "Authorization: Payment <base64url-credential>" \
  -d '{"input": "your query here"}'
```

### Legacy / Sandbox Usage

```bash
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 '{"input": "your query here"}'
```

## Pricing

- **$0.15** per request
- **Accepted currencies:** ADA, DJED, iUSD, USDCx, USDM (Cardano) | USDC, XLM (Stellar) | XRP, RLUSD (XRPL)
- **Payment protocol:** x402 (Coinbase/Masumi) + MPP (IETF HTTP 402) + Masumi (Cardano escrow) + **AP2** (Google Agent Payments Protocol with XLS-56 Batch on XRPL)
- **Supported chains:** Cardano + Stellar + XRP Ledger
- **Stellar fee sponsorship:** NEXUS pays gas — agents need 0 XLM
- **Free sandbox** available with `X-Payment-Proof: sandbox_test`

## Links

- Platform: [https://ai-service-hub-15.emergent.host](https://ai-service-hub-15.emergent.host)
- x402 Discovery: [https://ai-service-hub-15.emergent.host/api/mpp/x402](https://ai-service-hub-15.emergent.host/api/mpp/x402)
- MPP Discovery: [https://ai-service-hub-15.emergent.host/api/mpp/discover](https://ai-service-hub-15.emergent.host/api/mpp/discover)
- Stablecoin Registry: [https://ai-service-hub-15.emergent.host/api/mpp/stablecoins](https://ai-service-hub-15.emergent.host/api/mpp/stablecoins)
- Stellar Info: [https://ai-service-hub-15.emergent.host/api/mpp/stellar](https://ai-service-hub-15.emergent.host/api/mpp/stellar)
- Fee Sponsorship: [https://ai-service-hub-15.emergent.host/api/mpp/stellar/sponsor-info](https://ai-service-hub-15.emergent.host/api/mpp/stellar/sponsor-info)
- Discovery: [https://ai-service-hub-15.emergent.host/api/discover](https://ai-service-hub-15.emergent.host/api/discover)
- All Skills: [https://ai-service-hub-15.emergent.host/.well-known/skill.md](https://ai-service-hub-15.emergent.host/.well-kno

_meta.json

{
  "ownerId": "kn7efb82wj6z1vtc8q377eh3r582sdfa",
  "slug": "nexus-sql-builder",
  "version": "2.1.0",
  "publishedAt": 1779737368365
}

skill-card.md

## Description:

Generate complex SQL queries from requirements.

This skill is ready for commercial/non-commercial use.

## Publisher:

[cyberforexblockchain](https://clawhub.ai/user/cyberforexblockchain)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and data practitioners use this skill to turn natural-language SQL requirements into complex SQL query output through the paid NEXUS remote service.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Prompts and payment proof data are sent to the external NEXUS service.

Mitigation: Install only if you trust NEXUS; avoid production credentials, raw customer data, and confidential schema details unless your organization permits sharing them.

Risk: Generated SQL may be incorrect, inefficient, or unsafe for the target database.

Mitigation: Review and test generated SQL in a sandbox or with least-privilege access before using it against production systems.

Risk: Paid remote use can incur spending through the supported payment flows.

Mitigation: Use sandbox testing and spending controls where possible.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/cyberforexblockchain/skills/nexus-sql-builder)
- [NEXUS Platform](https://ai-service-hub-15.emergent.host)
- [SQL Builder API Endpoint](https://ai-service-hub-15.emergent.host/api/original-services/sql-builder)
- [x402 Discovery](https://ai-service-hub-15.emergent.host/api/mpp/x402)
- [MPP Discovery](https://ai-service-hub-15.emergent.host/api/mpp/discover)
- [AP2 Configuration](https://ai-service-hub-15.emergent.host/api/ap2/config)
- [XRPL Configuration](https://ai-service-hub-15.emergent.host/api/xrpl/config)
- [Stablecoin Registry](https://ai-service-hub-15.emergent.host/api/mpp/stablecoins)
- [A2A Agent Card](https://ai-service-hub-15.emergent.host/.well-known/agent.json)

## Skill Output:

**Output Type(s):** [text, code, shell commands, configuration]

**Output Format:** [JSON service response containing a result string, often SQL text.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires NEXUS_PAYMENT_PROOF and sends input plus payment proof data to NEXUS over HTTPS.]

## Skill Version(s):

2.1.0 (source: SKILL.md frontmatter and server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to NEXUS Sql Builder and adjacent AI workflows.