← Back to directory

TOML Repair: Fix Broken TOML, Keep Every Value — skill file for AI agents (AISkills402)

https://api.aiskills402.com/v1/skills/toml-repair/file

Overview

Repairs TOML 1.0 that does not parse (pyproject, Cargo manifests, Worker config files, tool settings) without changing any value's text or type, and answers with the TOML only, no code fence. Fixes unquoted strings, keys with spaces, a missing equals sign, an unclosed quote, bracket or table header, backslashes in Windows paths, numbers with leading zeros, decimal commas, slash dates, a multi-line inline table, and chat text or a fence around the file. A version such as 1.10 is kept as the text 1.10 when the other versions in the file are strings. A table defined twice, a dotted key that writes into a table a header already defined, a key given twice with different values, input that is INI and not TOML, and input with two readings get one line starting with CANNOT REPAIR instead of a guess. Use when a tool, an API or another model returned broken TOML that ends in a TOML parse error, or when asked to fix or clean up invalid TOML. One-time purchase of the SKILL.md file itself (Agent Skills format), not an API call: $0.05 USDC on Base over x402, yours forever incl. free re-downloads and new versions. No account, no API key. Tested with a strong and a weak model; the card tells you where the weak one fails: https://aiskills402.com/skills/toml-repair

Protocol x402
Price $0.05
Payment Asset USD Coin
Payment Network Base
Category ai/agent-skills
Provider aiskills402
Source bazaar
Indexed 2026-10-13 10:29:12

Health

Status healthy
Latency (p50) 806ms
Uptime (30d) 100.0%
Reliability Score 90/100
Last Checked 2026-12-02 08:39:39
Last Healthy 2026-12-02 08:39:39
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "type": "http" }

Output Schema

{ "example": { "file": { "content": "<the SKILL.md file>", "encoding": "utf-8", "name": "SKILL.md" }, "name": "TOML Repair: Fix Broken TOML, Keep Every Value", "ok": true, "receipt": { "settled": true, "tx": "0x<settlement transaction>" }, "redownload": { "token": "<64 hex chars>", "url": "<api>/v1/purchases/<token>" }, "sha256": "<sha256 of SKILL.md>", "skill": "toml-repair", "version": "1.0.0" }, "type": "json" }

Recent Health Checks

Time Status HTTP Latency Error
2026-12-02 08:39:39 healthy 402 692ms
2026-12-01 23:48:34 healthy 402 806ms