{
  "schemaVersion": "0.1.0",
  "name": "YouTube",
  "behavior": "create",
  "noteNameFormat": "{{title|safe_name}}",
  "path": "00-Inbox",
  "noteContentFormat": "# {{title}}\n\n📺 **YouTube**：{{url}}\n🎙 **頻道**：{{schema:@VideoObject.author.name}}\n⏱ **時長**：{{schema:@VideoObject.duration}}\n📅 **發布**：{{published}}\n\n## 影片描述\n\n{{description}}\n\n---\n\n> 🤖 **待處理（pending-precheck）**：本檔只是剪報空殼（標題、網址、描述），`pending_action: youtube-skill`，本身不直接 ingest。\n>\n> - 單支影片：走 yt-dlp fast-path 產 10 節繁中報告（含全片逐段摘要與查證表），另存 `<本檔名>_報告.md`（Claude 端用 `clip-preprocess`；Hermes 端用 `archiver-yt-fastpath`）\n> - 多支跨來源綜合：才走 [[youtube-to-notebooklm]]\n> - ingest 的是產出的完整報告，不是本檔；本檔落地時歸檔\n>\n> 詳見 [[rule-K-raw-precheck|規則 K]] v2 §K.2（剪報前處理）。\n",
  "context": "",
  "properties": [
    {
      "name": "title",
      "value": "{{title}}",
      "type": "text"
    },
    {
      "name": "source",
      "value": "{{url}}",
      "type": "text"
    },
    {
      "name": "youtube_url",
      "value": "{{url}}",
      "type": "text"
    },
    {
      "name": "channel",
      "value": "{{schema:@VideoObject.author.name}}",
      "type": "text"
    },
    {
      "name": "duration",
      "value": "{{schema:@VideoObject.duration}}",
      "type": "text"
    },
    {
      "name": "published",
      "value": "{{published}}",
      "type": "date"
    },
    {
      "name": "clipped_at",
      "value": "{{date}}",
      "type": "datetime"
    },
    {
      "name": "description",
      "value": "{{description}}",
      "type": "text"
    },
    {
      "name": "type",
      "value": "youtube-clipping",
      "type": "text"
    },
    {
      "name": "status",
      "value": "draft",
      "type": "text"
    },
    {
      "name": "pending_action",
      "value": "youtube-skill",
      "type": "text"
    },
    {
      "name": "tags",
      "value": "youtube, raw, pending-precheck, clippings",
      "type": "multitext"
    }
  ],
  "triggers": [
    "/^https?:\\/\\/(www\\.)?(youtube\\.com\\/watch|youtu\\.be\\/)/"
  ]
}
