{"uid":"cap_0JUkC8Z3ez6tVEMScBt2N","slug":"writerslogic-path-portability-checker-56405def","name":"WritersLogic Path Portability Checker","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/path-portability?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"paths":{"type":"array","items":{"type":"string","maxLength":4096,"minLength":1},"maxItems":500,"minItems":1,"description":"Relative paths with \"/\" separators. At most 200000 characters in total."},"targets":{"type":"array","items":{"enum":["windows","macos","linux"],"type":"string"},"maxItems":3,"description":"Default: windows, macos and linux."},"destinationRoot":{"type":"string","maxLength":1024,"description":"Directory the paths will be created under; counted towards the total path length."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZUWDC5AqX6HgwtPH-AK74","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates up to 500 relative file paths for cross-platform naming issues including reserved names, illegal characters, length limits, and case/normalization collisions across Windows, macOS, and Linux.","exampleAgentPrompt":"Before I extract this archive to disk, check these 50 file paths for any naming problems on Windows, macOS, and Linux — flag reserved names like CON or NUL, illegal characters, paths that are too long, and any pairs that would collide through case folding or NFC/NFD normalization.","exampleUseCases":[{"title":"Archive extraction safety check","prompt":"I'm about to unzip this archive and write the files to C:\\Projects\\myrepo — can you check all 120 paths inside it for Windows, macOS, and Linux naming issues? Flag anything with reserved names, bad characters, or paths that would collide on a case-insensitive volume."},{"title":"Generated file tree validation","prompt":"My code generator just produced a tree of 300 file paths. Before I write them out, check them all for portability problems on Windows and macOS — I need to catch reserved device names, trailing dots or spaces, and any paths that would become the same file after case folding."},{"title":"Repository cross-platform audit","prompt":"I'm open-sourcing my repo and want it to work on all three platforms. Can you check these 85 file paths for anything that would break or silently collide on Windows, macOS, or Linux — including CON/NUL/COM names, illegal characters, length limits, and normalization conflicts?"}],"resultDescription":"A structured report for each submitted path indicating whether it is portable, along with specific violations found: reserved device name matches, forbidden characters, trailing dot or space issues, component or total length limit breaches, and sets of paths that would collide through case folding or Unicode NFC/NFD normalization on the target platforms.","failureModes":["Exceeding 500 paths or 200,000 total characters returns a validation error","Submitting absolute paths instead of relative paths may produce inaccurate results","macOS results model APFS default behavior, not the user's actual volume settings","8.3 short name collisions and environment-level long-path settings are not modeled","Invalid target OS enum values cause request rejection"],"whenToPreferThis":"Use this endpoint when an AI agent needs to safely write files from an archive, generated file tree, or repository to disk across multiple operating systems without first touching the filesystem. It is the right choice when you need to catch Windows reserved names (CON, NUL, COM ports), illegal characters, path length violations, and silent case or Unicode normalization collisions before any disk I/O occurs. Prefer it over manual checks or generic linting when dealing with cross-platform deployment, open-source repository preparation, or automated file generation pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T00:31:19.887Z","isFirstParty":false,"canonicalSlug":"writerslogic-path-portability-checker-56405def"}