# WritersLogic Path Portability Checker

> WritersLogic Path Portability Checker is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-19).

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.

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/path-portability?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-path-portability-checker-56405def
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0JUkC8Z3ez6tVEMScBt2N

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 writerslogic-path-portability-checker-56405def -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/writerslogic-path-portability-checker-56405def/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.writerslogic.com](https://www.zero.xyz/host/agents.writerslogic.com/llms.txt)
