Install
openclaw skills install byr-cliUse BYR CLI for auth, search, detail inspection, and safe torrent download planning with JSON envelopes.
openclaw skills install byr-cliUse this skill when a task needs any BYR operation via CLI:
byr binary.--json for machine-readable output.auth import-cookie:
uid=...; pass=...session_id=...; auth_token=... (optional refresh_token=...)chrome (macOS path/decrypt flow)safari best effort with manual fallbackbyr auth status --verify --jsonRead-only:
byr check --jsonbyr whoami --jsonbyr doctor [--verify] --jsonbyr browse [--limit <n>] [--category <alias|id>] [--incldead <alias|id>] [--spstate <alias|id>] [--bookmarked <alias|id>] [--page <n>] --jsonbyr search --query "<text>" --limit <n> --jsonbyr search --imdb <tt-id> [--category <alias|id>] [--spstate <alias|id>] --jsonbyr get --id <torrent-id> --jsonbyr user info --jsonbyr meta categories --jsonbyr meta levels --jsonbyr auth status [--verify] --jsonbyr auth import-cookie --cookie "<cookie-header>" --jsonbyr auth import-cookie --from-browser <chrome|safari> [--profile <name>] --jsonbyr auth logout --jsonWrite side effect:
byr download --id <torrent-id> --output <path> --dry-run --jsonbyr download --id <torrent-id> --output <path> --jsonsearch and browse return paged list data.matchedTotal: estimated total hits inferred from BYR pagination range blocks.returned: number of items returned in current payload.total: backward-compatible alias of returned.--page is omitted, list commands auto-fetch subsequent pages until --limit is reached.--page is provided, only that page is fetched.Before non-dry-run download:
--id and --output are explicitsourceUrl/fileNameIf parameters are missing, ask for explicit values.
error.code and error.message.E_ARG_*: request corrected flags/arguments.E_AUTH_*: re-auth guidance (auth import-cookie or credential refresh).E_NOT_FOUND_*: request different query/torrent ID.E_UPSTREAM_*: suggest retry and capture command/context.id, title, size, seeders, leechers.matchedTotal and returned when present.outputPath, sourceUrl, dryRun, bytesWritten.