{
  "$schema": "https://bestaiskill.com/schemas/agent-install/2.json",
  "skill": "baoyu-translate",
  "built": "2026-10-26",
  "control_level": 4,
  "control_level_label": "L4 高权限",
  "capabilities": [
    "execute_command",
    "network",
    "write_file"
  ],
  "required_controls": {
    "agent": [
      "sandbox_recommended",
      "graded_authorization"
    ],
    "admin": [
      "approval_process",
      "rollback_support",
      "full_audit"
    ]
  },
  "evidence": [
    {
      "file": "scripts/",
      "summary": "Execute local script or command: ${BUN_X} {baseDir}/scripts/main.ts <file> [--max-words N] [--output-dir D] ("
    },
    {
      "file": "网络端点",
      "summary": "Declare external network access: Skill's bundled scripts have zero network calls: chunk.ts only imports fs / path / markdown-it, package.json contains no ht"
    },
    {
      "file": "本地工作目录",
      "summary": "File read/write and artifact output: {source-dir}/{source-basename}-{target-lang}/ output directory (if existing, renamed first to {name}.backup-Y"
    }
  ],
  "verification": {
    "method": "第一遍：本人通读 SKILL.md（模式/风格/受众/工作流/术语合并）与 references 关键节。第二遍：独立只读 scout 逐文件扫描两个脚本与 4 个参考文件，核对 import/env/spawn/URL 命中、核对切块写盘路径与文档一致性；构建脚本再对每条 evidence.quote 做空白归一化逐字断言。",
    "second_pass": [
      {
        "item": "脚本零网络、零凭证",
        "status": "ok",
        "detail": "chunk.ts 仅 import fs/path/markdown-it，main.ts 仅 import node:process + ./chunk.js；grep http/fetch/curl/process.env/API_KEY 在两个脚本内零命中。"
      },
      {
        "item": "切块逻辑与 SKILL.md 描述一致",
        "status": "ok",
        "detail": "chunk.ts 用 markdown-it 解析、在块边界切分、超长块退化处理，默认 maxWords 5000，与 SKILL.md『Splits at markdown block boundaries to preserve structure』一致；frontmatter 被单独抽出为 chunks/frontmatter.md。"
      },
      {
        "item": "依赖面 = markdown-it 单包",
        "status": "ok",
        "detail": "package.json 仅声明 markdown-it 14.1.1，bun.lock 中的其余条目均为其传递依赖（argparse/entities/linkify-it/mdurl/punycode.js/uc.micro），无 postinstall、无网络行为。"
      },
      {
        "item": "subagent 分工与模板内容",
        "status": "ok",
        "detail": "subagent-prompt-template.md 明确 shared context → 02-prompt.md、每块产出 chunks/chunk-{NN}-draft.md；spawn 动作由 agent 执行，脚本不 spawn 任何进程。"
      },
      {
        "item": "URL 输入的网络归属",
        "status": "ok",
        "detail": "workflow-mechanics.md 把 URL 处理写成 agent 的『Fetch content』动作；本 skill 目录内无抓取代码，故网络面不落在 skill 自身。"
      },
      {
        "item": "EXTEND.md 路径不一致（轻微）",
        "status": "ok",
        "detail": "SKILL.md 列三条路径（含 XDG），references/config/extend-schema.md 只列项目与家目录两条；属文档不一致，不影响判级，已在 traits/risks 采信 SKILL.md 的三档说法。"
      },
      {
        "item": "元数据与 pin",
        "status": "ok",
        "detail": "本地 HEAD = 1567581c26ec29f4216c6e6835415bf30343b0e3；GitHub API MIT / 25926 stars / pushed_at 2026-09-10T15:13:43Z；仓库根 LICENSE 为 MIT。"
      }
    ],
    "level": 1,
    "level_label": "V1 已固定",
    "commit": "1567581c26ec29f4216c6e6835415bf30343b0e3",
    "sha256": "38c8846f411e3248a36a0e27f16e88dac40d2ba33bf803566785eb2a856de0c1",
    "reviewed_by": null,
    "reviewed_at": null
  },
  "assessed_at": "2026-10-25",
  "method_version": "2.0",
  "mirror": {
    "archive": "https://skillpub.pages.dev/r2/v/2026-09-15/baoyu-translate.tar.gz",
    "sha256": "38c8846f411e3248a36a0e27f16e88dac40d2ba33bf803566785eb2a856de0c1",
    "commit": "1567581c26ec29f4216c6e6835415bf30343b0e3"
  },
  "original": {
    "github": "https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-translate",
    "path": "skills/baoyu-translate",
    "commit": "1567581c26ec29f4216c6e6835415bf30343b0e3"
  }
}