# AISkills402: Robots.txt Policy Writer — SKILL.md Download

> AISkills402: Robots.txt Policy Writer — SKILL.md Download is a paid API for AI agents from api.aiskills402.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-23).

Purchases and downloads the 'robots-txt-policy' SKILL.md file, a tested AI agent skill for writing robots.txt policies, paid once via x402 in USDC on Base.

## Facts

- Endpoint: GET https://api.aiskills402.com/v1/skills/robots-txt-policy/file?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aiskills402-robots-txt-policy-writer-skill-md-download-f6cdfa32
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ksWen8dSjT8sJRoZR_r0z

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 aiskills402-robots-txt-policy-writer-skill-md-download-f6cdfa32
```

Example prompt: Buy me the robots-txt-policy skill from AISkills402 using x402 and give me the SKILL.md file so I can write robots.txt policies — keep the redownload token for later.

## When to prefer this

Choose this endpoint when an AI agent needs to acquire the robots.txt policy writing capability as a one-time purchase. It is ideal when the agent environment supports x402 micropayments in USDC on Base, and when you want a tested, versioned SKILL.md file with a permanent redownload token rather than building the skill from scratch. Prefer this over generic prompt engineering when you need a maintained, auditable skill artifact with a cryptographic receipt.

## Known failure modes

- Payment not submitted or insufficient USDC balance — x402 payment required response with payment details
- Invalid or malformed x402 payment header — 402 or 400 error
- Network or API downtime — 5xx server error
- Skill identifier not found — 404 not found
- Redownload token used on wrong endpoint — 404 or unauthorized error

## How this service works

Robots.txt Policy Writer — Turns a crawler policy written in words into a correct robots.txt, answered as the file only. Knows the mistakes that make a file do the opposite of what was meant - a crawler obeys only the one group that names it, so a GPTBot group silently drops every rule written for the star group and the private paths must be repeated; longest match wins and Allow wins a tie; Google ignores Crawl-delay; Host is a Yandex-only line; Sitemap must be an absolute address; Google-Exte…

## Output

Returns a JSON object containing the full SKILL.md file content (UTF-8 encoded), the skill's name ('Robots.txt Policy Writer'), its identifier ('robots-txt-policy'), a SHA256 checksum of the file, the version (e.g. '1.0.0'), a payment receipt with the Base settlement transaction hash and settled status, and a redownload URL and token for future free re-downloads.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "file": {
   "name": "SKILL.md",
   "content": "<the SKILL.md file>",
   "encoding": "utf-8"
  },
  "name": "Robots.txt Policy Writer",
  "skill": "robots-txt-policy",
  "sha256": "<sha256 of SKILL.md>",
  "receipt": {
   "tx": "0x<settlement transaction>",
   "settled": true
  },
  "version": "1.0.0",
  "redownload": {
   "url": "<api>/v1/purchases/<token>",
   "token": "<64 hex chars>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aiskills402-robots-txt-policy-writer-skill-md-download-f6cdfa32/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.aiskills402.com](https://www.zero.xyz/host/api.aiskills402.com/llms.txt)
