---
name: aso-audit
description: Audit any domain's AI-search and agent discovery readiness (47 HTTP/HTML checks, RFC 9309 robots.txt, llms.txt, mcp.json, agent-card.json, openapi.json, Schema.org JSON-LD), generate a free 3-file starter or stack router, or order the 26-file ASO pack via x402 or Base USDC.
---

# ASO Domain Readiness Audit & Starter Pack

Audit a public domain's machine-discovery surface in one command, generate a tailored free 3-file starter or `<15ms` edge router, and optionally fulfill the full 26-file ASO bundle when requested. Technical readiness does not guarantee AI citations or sales.

## Workflow

1. **Run the free 47-check live HTTP probe (`$0.00`)**
   Query the zero-auth live probe Worker directly (or mount the MCP server `https://aso-live-probe.asostudio.workers.dev/mcp` and call `probe_domain_aso_score`):
   ```bash
   curl -fsS "https://aso-live-probe.asostudio.workers.dev/api/probe?domain=example.com"
   ```
   Extract `score` (`0-100`), `target_score` (`95`), `telemetry` (`ttfb_ms`, `html_kb`, `jsonld_blocks`, and HTTP status codes for `/llms.txt`, `/llms-full.txt`, `/.well-known/ai.txt`, `/pricing.md`, `/ai/summary.json`, `/.well-known/mcp.json`, `/.well-known/agent-card.json`, `/.well-known/openapi.json`), `gaps`, and `generated_llms_txt`.

2. **Check the 2,458-domain SaaS benchmark when comparing peers (`$0.00`)**
   Look up pre-built teardowns or category benchmarks when the user asks how a domain compares:
   ```bash
   curl -fsS "https://aso-live-probe.asostudio.workers.dev/api/lookup?q=example.com"
   ```
   For 40 full platform grade-cards and 24 head-to-head comparisons, read `https://asostudio.dev/audits/data.json`.

3. **Generate the free 3-file starter or stack-specific edge router (`$0.00`)**
   Build the domain's immediate zero-cost starter files from the live probe output:
   - `/llms.txt`: use `generated_llms_txt` from Step 1, verified against the site's real routes and pricing.
   - `/robots.txt`: allow all 29 AI search and training/retrieval user-agents (`GPTBot`, `OAI-SearchBot`, `ChatGPT-User`, `ClaudeBot`, `Claude-SearchBot`, `Claude-User`, `PerplexityBot`, `Google-Extended`, `Applebot-Extended`, `Amazonbot`, `CCBot`, etc.) per RFC 9309, plus `Sitemap: https://<domain>/sitemap.xml`.
   - `/.well-known/ai.txt`: point `LLMs-Txt`, `LLMs-Full`, `AI-Summary`, `MCP-Manifest`, `Agent-Card`, and `OpenAPI` to canonical `https://<domain>/...` URLs.
   To generate a drop-in `<15ms` router (`cloudflare`, `vercel`, `astro`, `fastapi`, or `nginx`), call `generate_starter_aso_router` on `POST https://aso-live-probe.asostudio.workers.dev/mcp`:
   ```bash
   curl -fsS -X POST https://aso-live-probe.asostudio.workers.dev/mcp \
     -H "Content-Type: application/json" \
     -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"generate_starter_aso_router","arguments":{"domain":"example.com","stack":"cloudflare"}}}'
   ```
   To inspect the full 26-file archive layout before any purchase, fetch `https://asostudio.dev/sample-26-file-pack.zip` (`$0.00`).

4. **Verify explicit MIME headers after local or staging changes**
   Serve every machine file with an explicit non-HTML `Content-Type` (`text/plain; charset=utf-8`, `text/markdown; charset=utf-8`, or `application/json; charset=utf-8`) and `Access-Control-Allow-Origin: *`. Single-page app fallbacks that return `HTTP 200` with `text/html` on `/llms.txt` or `/.well-known/*.json` are scored as `404` soft-failures by the probe.

5. **Fulfill the full 26-file `.zip` pack only upon explicit user spend approval (`$49`)**
   Execute paid order or settlement calls only after the user explicitly asks to buy the `$49` `self-serve-pack` (or reserve the `$1,490` Deliver-First `edge-agent-layer` at `$0` upfront):
   - **Inspect x402 v2 payment terms (`HTTP 402` + `PAYMENT-REQUIRED` header)**:
     ```bash
     curl -sS "https://aso-studio-edge.asostudio.workers.dev/api/orders/x402?tier=self-serve-pack"
     ```
     (Static discovery mirror: `https://asostudio.dev/api/orders/x402` and `https://asostudio.dev/.well-known/x402.json`.)
   - **Create a `$49` self-serve order (`company_name` and `contact_email` optional)**:
     ```bash
     curl -fsS -X POST https://aso-studio-edge.asostudio.workers.dev/api/orders \
       -H "Content-Type: application/json" \
       -H "Idempotency-Key: $(uuidgen)" \
       -d '{"domain":"example.com","tier_slug":"self-serve-pack","payment_method":"usdc_erc20"}'
     ```
   - **Verify Base Mainnet USDC (`eip155:8453`) settlement and download `.zip`**:
     After transferring `usdc_settlement.amount_usdc_atomic` (`49000000` atomic USDC on Base `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913`) to `usdc_settlement.pay_to`, POST `{"tx_hash":"0x..."}` to `https://aso-studio-edge.asostudio.workers.dev/api/orders/<order_ref>/verify-usdc` and download `signed_deliverable_zip_url`.

## Completion Criteria

- Live probe `score`, per-endpoint HTTP status matrix, and prioritized `gaps` are reported from fresh telemetry (not guessed from HTML alone).
- Generated starter files or router snippets use the target domain's real hostname and brand (zero `example.com` placeholders unless auditing `example.com`).
- Every recommended or written machine route sets an explicit `text/plain`, `text/markdown`, or `application/json` `Content-Type` without SPA HTML fallback.
- Paid order creation (`POST /api/orders`) and on-chain transfers run only when explicitly requested and approved by the user.

## Reference

| Surface | Endpoint / Command | Cost |
|---|---|---|
| Live 47-check HTTP probe | `GET https://aso-live-probe.asostudio.workers.dev/api/probe?domain=<domain>` | `$0.00` |
| Dynamic SVG score badge | `GET https://aso-live-probe.asostudio.workers.dev/api/badge?domain=<domain>` | `$0.00` |
| 2,458-domain SaaS lookup | `GET https://aso-live-probe.asostudio.workers.dev/api/lookup?q=<query>` | `$0.00` |
| Streamable HTTP MCP | `claude mcp add --transport http aso-studio https://aso-live-probe.asostudio.workers.dev/mcp` | `$0.00` |
| Sample 26-file `.zip` | `GET https://asostudio.dev/sample-26-file-pack.zip` | `$0.00` |
| x402 v2 payment descriptor | `GET https://aso-studio-edge.asostudio.workers.dev/api/orders/x402?tier=self-serve-pack` | `HTTP 402` |
| Self-serve 26-file `.zip` | `POST https://aso-studio-edge.asostudio.workers.dev/api/orders` (`tier_slug: "self-serve-pack"`) | `$49.00` USDC / XMR |
| Deliver-First Edge Layer | `POST https://aso-studio-edge.asostudio.workers.dev/api/orders` (`tier_slug: "edge-agent-layer"`) | `$0` upfront (`$1,490` post-check) |
| EdgeScreen security skill | `GET https://aso-x402-screen.asostudio.workers.dev/SKILL.md` (`npx skills add https://asostudio.dev`) | `$0.00` free hooks / `$0.002` x402 |
