{"uid":"cap_4E5lMSZQtGOP7QwoHbFNt","slug":"aiskills402-xml-repair-skill-file-08dc59bc","name":"AISkills402 XML Repair Skill File","description":"XML Repair: Fix Broken XML, Change No Text — Repairs broken XML so a standard parser accepts it, without changing a single text node, attribute value, comment or CDATA section, and answers with the XML only, no code fence. Fixes a raw ampersand or less-than sign in text or in an attribute value, an HTML entity name such as nbsp that plain XML does not define, an attribute value without quotes, an end tag that is missing in one place only, a declaration that is not the first thing in the file, a…","url":"https://api.aiskills402.com/v1/skills/xml-repair/file?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"file":{"name":"SKILL.md","content":"<the SKILL.md file>","encoding":"utf-8"},"name":"XML Repair: Fix Broken XML, Change No Text","skill":"xml-repair","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>"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hxQXdwD_lND3Q2i7rOnjn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases and downloads the XML Repair SKILL.md file — a tested AI agent skill for fixing broken XML without altering text content — paid once via x402 in USDC on Base.","exampleAgentPrompt":"Buy me the XML Repair skill file from AISkills402 — I need it to fix broken XML in my pipeline without changing any text content.","exampleUseCases":[{"title":"Agent pipeline XML repair skill","prompt":"Get me the XML Repair SKILL.md from AISkills402 so my agent can automatically fix malformed XML documents without touching the actual text content."},{"title":"One-time skill purchase for XML fixing","prompt":"Pay for and download the XML repair skill from AISkills402 — I only want to buy it once and keep the redownload token so I can grab updates later."},{"title":"Adding XML repair capability to an agent","prompt":"I'm building an AI agent that processes XML feeds that sometimes come in broken — can you purchase the AISkills402 XML Repair skill file so we can add that fix-without-altering-text capability to the agent?"}],"resultDescription":"Returns a JSON object containing the SKILL.md file content (name, content string, encoding), the skill identifier ('xml-repair'), version number (e.g. '1.0.0'), a SHA256 checksum of the file, a blockchain settlement receipt with transaction hash and settled status, and a redownload token plus URL for future free re-downloads.","failureModes":["Payment not settled on Base — returns error if USDC transaction fails or is not confirmed","Missing or invalid x402 payment header — returns 402 Payment Required","Network timeout during blockchain settlement verification","Invalid HTTP method — only GET and HEAD are accepted","Redownload token not yet issued if settlement is still pending"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a tested, ready-to-use SKILL.md for repairing broken XML without modifying text, and wants a one-time purchase model with permanent access and free re-downloads. Prefer this over building custom XML repair logic when you want a vetted, versioned skill file delivered instantly via x402 micropayment on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T01:12:04.303Z","isFirstParty":false,"canonicalSlug":"aiskills402-xml-repair-skill-file-08dc59bc"}