{"uid":"cap_1LpTFVvqJue2u_eKj20Gf","slug":"aiskills402-yaml-repair-51993de1","name":"AISkills402: YAML Repair","description":"YAML Repair: Fix Broken YAML, Keep Every Value — Repairs broken YAML and Markdown front matter so a program can parse it, without changing any value's text or type, and answers with the YAML only, no code fence. Fixes tabs used as indentation, indentation that fits no parent, a missing closing quote or bracket, values that need quotes (a colon inside, a leading star or at sign), and output cut off in the middle, where the cut value is kept as cut and never completed. Yes, no, on, off and NO sta…","url":"https://api.aiskills402.com/v1/skills/yaml-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":"YAML Repair: Fix Broken YAML, Keep Every Value","skill":"yaml-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_FlnGt1AL-Xi_wZWfoJnoZ","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":"Repairs broken or malformed YAML (including Markdown front matter) so it is parseable, preserving all original values without changes","exampleAgentPrompt":"My Jekyll post's YAML front matter is broken and won't parse — can you run it through the YAML repair skill to fix the indentation and missing quotes without changing any of the values?","exampleUseCases":[{"title":"Fix broken CI config YAML","prompt":"My GitHub Actions workflow YAML file is throwing a parse error — it has some tabs mixed in and a colon inside a value that's not quoted. Can you repair it so it parses correctly without changing any of the values?"},{"title":"Repair truncated Hugo front matter","prompt":"The YAML front matter at the top of my Hugo Markdown post got cut off mid-value when I copied it. Can you repair just that YAML block so it's parseable again, keeping whatever text was there exactly as-is?"},{"title":"Fix Kubernetes manifest indentation","prompt":"This Kubernetes YAML manifest has indentation that doesn't match its parent elements and a few unquoted values starting with an at sign. Can you fix the YAML so kubectl can parse it without altering any of the actual values?"}],"resultDescription":"Returns the repaired, parseable YAML as plain text (no code fence), with all original values preserved verbatim — only structural issues like tabs, bad indentation, missing quotes, unclosed brackets, and truncation are corrected. Also includes metadata such as skill name, version, a SHA256 hash of the skill file, and a redownload token.","failureModes":["Input YAML is so severely malformed that intent cannot be inferred — returns best-effort repair or error","Truncated values are kept truncated as-is per design — agent may expect completion but none is provided","Boolean-like strings (yes, no, on, off) are handled specially — may not match all parser expectations","Payment failure via x402 protocol — returns 402 Payment Required","Network timeout or service unavailability"],"whenToPreferThis":"Use this endpoint when you have YAML or Markdown front matter that fails to parse due to structural issues like tabs, bad indentation, missing quotes, unclosed brackets, or truncation, and you need the values preserved exactly. Prefer this over a generic LLM rewrite when value fidelity is critical and you cannot risk paraphrasing. Ideal for CI/CD configs, Kubernetes manifests, Jekyll/Hugo front matter, and any machine-generated YAML that got corrupted.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:44:43.243Z","isFirstParty":false,"canonicalSlug":"aiskills402-yaml-repair-51993de1"}