{"skill":{"slug":"nexus-summarize","displayName":"NEXUS Summarize","summary":"Summarize long documents while preserving key info","description":"---\nname: nexus-summarize\ndescription: \"Summarize long documents while preserving key info\"\nversion: 2.1.0\ncapabilities:\n  - id: invoke-summarize\n    description: \"Summarize long documents while preserving key info\"\npermissions:\n  network: true\n  filesystem: false\n  shell: false\ninputs:\n  - name: input\n    type: string\n    required: true\n    description: \"The input text or query\"\noutputs:\n  type: object\n  properties:\n    result:\n      type: string\n      description: \"The service response\"\nrequires:\n  env: [NEXUS_PAYMENT_PROOF]\nprotocols:\n  - masumi\n  - mpp\n  - x402\n  - ap2\n  - xrpl\n  - a2a\npayment:\n  mpp_standard: \"IETF draft-httpauth-payment-00\"\n  accepted_currencies: [ADA, DJED, iUSD, USDCx, USDM, USDC, XLM, XRP, RLUSD]\n  supported_chains: [cardano, stellar, xrpl]\n  ap2_supported: true\n  batch_settlement: true\n  mpp_discovery: \"https://ai-service-hub-15.emergent.host/api/mpp/discover\"\n  ap2_config: \"https://ai-service-hub-15.emergent.host/api/ap2/config\"\n  xrpl_config: \"https://ai-service-hub-15.emergent.host/api/xrpl/config\"\n  stablecoin_registry: \"https://ai-service-hub-15.emergent.host/api/mpp/stablecoins\"\nmetadata: '{\"openclaw\":{\"emoji\":\"\\u26a1\",\"requires\":{\"env\":[\"NEXUS_PAYMENT_PROOF\"]},\"primaryEnv\":\"NEXUS_PAYMENT_PROOF\"}}'\n---\n\n# AI Data Summarizer\n\n> 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)\n\n## When to use\n\nUse when you need to condense long text into a brief summary.\n\n## Steps\n\n### Option A: x402 Standard (Recommended)\n\n1. Call the service endpoint without payment headers.\n2. Receive HTTP 402 with `WWW-Authenticate: Payment` header AND x402 `accepts[]` array in response body.\n3. Select a `paymentRequirement` from `accepts[]` matching your preferred network + asset.\n4. Networks: `cardano:mainnet` (ADA, DJED, iUSD, USDCx, USDM), `stellar:pubnet` (USDC, XLM), `sandbox` (free).\n5. Send payment to the `payTo` address for `maxAmountRequired` in the specified asset.\n6. **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.\n7. Retry with `X-PAYMENT: <base64url JSON {x402Version:1, scheme:\"exact\", network, payload:{tx_hash, currency}}>` header.\n8. Parse the JSON response and `X-PAYMENT-RESPONSE` header.\n\n### Option B: MPP Standard\n\n1. Call the service endpoint without payment headers.\n2. Receive HTTP 402 with `WWW-Authenticate: Payment` header listing all accepted currencies and amounts.\n3. Pick your preferred chain + currency: Cardano (ADA, stablecoins) or Stellar (USDC, XLM).\n4. Create payment: Masumi escrow (Cardano) or direct Stellar transfer.\n5. **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.\n6. Retry with `Authorization: Payment <base64url-credential>` header.\n7. Parse the JSON response and `Payment-Receipt` header.\n\n### Option C: Legacy Header\n\n1. Send a POST request to the NEXUS API endpoint with your input.\n2. Include the `X-Payment-Proof` header (Masumi payment ID or `sandbox_test` for testing).\n3. Parse the JSON response and return the result.\n\n### API Call\n\n```bash\ncurl -X POST https://ai-service-hub-15.emergent.host/api/original-services/summarize \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-Payment-Proof: $NEXUS_PAYMENT_PROOF\" \\\n  -d '{\"text\": \"Long article text here...\", \"format\": \"bullet_points\"}'\n```\n\n**Endpoint:** `https://ai-service-hub-15.emergent.host/api/original-services/summarize`\n**Method:** POST\n**Headers:**\n- `Content-Type: application/json`\n- `X-PAYMENT: <base64url JSON>` (x402 standard — recommended)\n- `Authorization: Payment <credential>` (MPP standard)\n- `X-Payment-Proof: <masumi_payment_id>` (legacy — use `sandbox_test` for free testing)\n\n**Accepted Currencies:** ADA, DJED, iUSD, USDCx, USDM (Cardano) | USDC, XLM (Stellar) | XRP, RLUSD (XRPL)\n**AP2 (Google Agent Payments Protocol):** Pre-authorize payments via mandates, settle atomically. See `https://ai-service-hub-15.emergent.host/api/ap2/config`.\n**XRPL Batch Settlement:** Settle up to 20 mandates in ONE tx with ~5s finality. See skill `nexus-ap2-batched-settle`.\n**x402 Discovery:** `GET https://ai-service-hub-15.emergent.host/api/mpp/x402` (all services in native x402 format)\n**MPP Discovery:** `GET https://ai-service-hub-15.emergent.host/api/mpp/discover`\n**Stablecoin Registry:** `GET https://ai-service-hub-15.emergent.host/api/mpp/stablecoins` (includes on-chain policy IDs)\n**Stellar Info:** `GET https://ai-service-hub-15.emergent.host/api/mpp/stellar` (assets, recipient, fee sponsorship)\n**Fee Sponsorship:** `POST https://ai-service-hub-15.emergent.host/api/mpp/stellar/sponsor` (NEXUS pays Stellar gas — agents need 0 XLM)\n\n## External Endpoints\n\n| URL | Method | Data Sent |\n|-----|--------|-----------|\n| `https://ai-service-hub-15.emergent.host/api/original-services/summarize` | POST | Input parameters as JSON body |\n\n## Security & Privacy\n\n- All data is sent to `https://ai-service-hub-15.emergent.host` over HTTPS/TLS.\n- No data is stored permanently; requests are processed and discarded.\n- Payment proofs are verified on the Cardano blockchain via the Masumi Protocol.\n- No filesystem access or shell execution required.\n\n## Model Invocation Note\n\nThis skill calls the NEXUS AI service API which uses LLM models (GPT-5.2, Claude Sonnet 4.5, GPT-4o) to process requests. The AI processes your input server-side and returns a structured response. You may opt out by not installing this skill.\n\n## Trust Statement\n\nBy using this skill, your input data is sent to NEXUS (https://ai-service-hub-15.emergent.host) for AI processing. Payments are non-custodial via the Masumi Protocol on Cardano. Only install if you trust NEXUS as a service provider. Visit https://ai-service-hub-15.emergent.host for full documentation.\n\n## Tags\n\n`machine-learning`, `artificial-intelligence`, `free-trial`, `agent-to-agent`, `health-monitoring`, `budget`\n","tags":{"ap2":"2.1.0","latest":"2.1.0","xrpl":"2.1.0","ai":"1.1.0","cardano":"1.1.0","stellar":"1.1.0","x402":"1.1.0"},"stats":{"comments":0,"downloads":735,"installsAllTime":0,"installsCurrent":0,"stars":0,"versions":3},"createdAt":1773365153738,"updatedAt":1779737374618},"latestVersion":{"version":"2.1.0","createdAt":1779737374618,"changelog":"v2.1.0 - Added AP2 (Google Agent Payments Protocol) + XRPL settlement support. Now accepts XRP and RLUSD alongside Cardano + Stellar currencies. XLS-56 Batch atomic multi-mandate settlement enabled via nexus-ap2-batched-settle skill.","license":"MIT-0"},"metadata":{"setup":[{"key":"NEXUS_PAYMENT_PROOF","required":true}],"os":null,"systems":null},"owner":{"handle":"cyberforexblockchain","userId":"s17a9p4658c98g5crz7yh772ex83nny8","displayName":"CyberForexBlockchain","image":"https://avatars.githubusercontent.com/u/37193064?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1779977953108}}