# Delx Commerce — Skill Markdown Stub Generator

> Delx Commerce — Skill Markdown Stub Generator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Generates a markdown-formatted stub document listing Delx x402 tools for a given skill or document title and set of tool names

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/skill-md-stub?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-skill-markdown-stub-generator-1b59e218
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hGIqCT2PAE3BrVQ9T5wNU

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-skill-markdown-stub-generator-1b59e218 -d '<json body>'
```

Example prompt: Generate a markdown skill stub titled 'Prediction Math' listing these Delx x402 tools: util_kelly_binary and util_binary_ev.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically generate a structured markdown reference stub for a named skill and a specific list of Delx x402 tool names — particularly when building agent context documents, onboarding prompts, or tool-listing cards on the fly. It is purpose-built for Delx x402 tool ecosystems and pays per result with no signup, making it ideal for autonomous agents operating with micropayment budgets. Prefer this over generic markdown generators when you need the Delx schema versioning and tool-list formatting conventions.

## Known failure modes

- Missing or empty 'title' field may produce a malformed or untitled stub
- Empty 'tool_names' array results in a stub with no tool entries listed
- Payment failure via x402 (insufficient USDC balance on Base or Solana) returns HTTP 402
- Malformed input schema (e.g. non-array tool_names) may return a 4xx validation error
- Network or service unavailability returns 5xx errors

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object with a schema identifier (e.g. 'delx/util-skill-md-stub/v1') and a 'markdown' field containing a formatted Markdown document. The document includes a heading with the skill title and a bullet list of the provided tool names, suitable for injection into an agent's context or system prompt as a tool reference card.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "title": {
   "type": "string",
   "description": "Skill or document title"
  },
  "tool_names": {
   "type": "array",
   "description": "List of tool names"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-skill-md-stub/v1",
  "markdown": "# Prediction math\n\nUse these Delx x402 tools (USDC on Base):\n- `util_kelly_binary`\n- `util_binary_ev`\n"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-skill-markdown-stub-generator-1b59e218/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
