← 返回
安全合规 中文

BYR CLI Skill

Use BYR CLI for auth, search, detail inspection, and safe torrent download planning with JSON envelopes.
{"answer":"使用 BYR CLI 进行认证、搜索、详情检查及基于 JSON 信封的安全种子下载规划。"}
1morebuild
安全合规 clawhub v0.1.2 1 版本 99745.8 Key: 无需
★ 0
Stars
📥 1,177
下载
💾 8
安装
1
版本
#byr#cli#latest

概述

BYR CLI Skill

When To Use

Use this skill when a task needs any BYR operation via CLI:

  • authenticate/check auth state
  • search torrents with filters
  • browse latest torrents with filters
  • inspect torrent details
  • plan or execute torrent downloads
  • fetch BYR metadata and user info
  • run local diagnostics before live calls

Boundaries

  • Work only through the byr binary.
  • Prefer --json for machine-readable output.
  • Do not infer missing IDs/paths or silently mutate files.
  • Keep read-only commands non-destructive.

Auth Notes

  • Support both cookie formats in auth import-cookie:
  • uid=...; pass=...
  • session_id=...; auth_token=... (optional refresh_token=...)
  • Browser import:
  • chrome (macOS path/decrypt flow)
  • safari best effort with manual fallback
  • Always check status before live operations:
  • byr auth status --verify --json

Commands (JSON First)

Read-only:

  • byr check --json
  • byr whoami --json
  • byr doctor [--verify] --json
  • byr browse [--limit ] [--category ] [--incldead ] [--spstate ] [--bookmarked ] [--page ] --json
  • byr search --query "" --limit --json
  • byr search --imdb [--category ] [--spstate ] --json
  • byr get --id --json
  • byr user info --json
  • byr meta categories --json
  • byr meta levels --json
  • byr auth status [--verify] --json
  • byr auth import-cookie --cookie "" --json
  • byr auth import-cookie --from-browser [--profile ] --json
  • byr auth logout --json

Write side effect:

  • Dry run first: byr download --id --output --dry-run --json
  • Actual write: byr download --id --output --json

Search/Browse Semantics

  • search and browse return paged list data.
  • JSON fields:
  • matchedTotal: estimated total hits inferred from BYR pagination range blocks.
  • returned: number of items returned in current payload.
  • total: backward-compatible alias of returned.
  • If --page is omitted, list commands auto-fetch subsequent pages until --limit is reached.
  • If --page is provided, only that page is fetched.

Side-Effect Policy

Before non-dry-run download:

  1. verify --id and --output are explicit
  2. run dry-run and inspect sourceUrl/fileName
  3. confirm intent for the output path

If parameters are missing, ask for explicit values.

Error handling

  • Surface error.code and error.message.
  • For E_ARG_*: request corrected flags/arguments.
  • For E_AUTH_*: re-auth guidance (auth import-cookie or credential refresh).
  • For E_NOT_FOUND_*: request different query/torrent ID.
  • For E_UPSTREAM_*: suggest retry and capture command/context.

Response Style

  • Keep result summaries short.
  • Include key fields for search/get: id, title, size, seeders, leechers.
  • For list commands include both matchedTotal and returned when present.
  • Include key fields for download: outputPath, sourceUrl, dryRun, bytesWritten.

版本历史

共 1 个版本

  • v0.1.2 当前
    2026-03-29 07:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,210 📥 266,156
security-compliance

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,135
security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,699