[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79CAWFJZB8CTD2JSD1QF551":3,"skill-same:01M79CAWFJZB8CTD2JSD1QF551":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":44},"01M79CAWFJZB8CTD2JSD1QF551","download",null,"Step 1: 下載 YouTube 影片音訊與中繼資料","Automata-Theatre\u002Fcui-member-skill","Automata-Theatre","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F88235783?v=4","01M79CAJC6MZ13WPJ2SYYESANP","Automata Theatre(人形劇団)","01M79CAJCWD5B69FCGVMCFWD9C",3,"MIT","https:\u002F\u002Fgithub.com\u002FAutomata-Theatre\u002Fcui-member-skill\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fdownload\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: download\ndescription: 'Step 1: 下載 YouTube 影片音訊與中繼資料'\ndisable-model-invocation: true\n---\n## 任務：下載音訊 (Download Audio)\n\n請根據使用者的作業系統（OS）使用對應的指令下載 YouTube 影片音訊：\n\n### 執行方式 (Mac & Windows 共用)\n無論作業系統為何，請**一律先執行對應的載入腳本**取得環境變數，**絕對不要直接讀取 `.env` 文件**：\n- **Mac**: `source scripts\u002Fload-env.sh`\n- **Windows**: `Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass; . scripts\u002Fload-env.ps1`\n\n執行後，請依據腳本輸出的環境變數或回顯結果，判斷是否需使用容器（依據 `AGENTS.md` 規則）。\n\n### 下載前：決定歸檔資料夾（日期順延判斷）\n請**先**執行以下指令，在下載前取得中繼資料、判斷分類並決定日期資料夾（需使用容器時請加上容器前綴）：\n```\nuv run skills\u002Fresolve_target_dir.py \"${input:url}\" --create\n```\n- 腳本依上傳日期決定 `docs\u002F\u003C分類>\u002F\u003CYYYYMMDD>\u002F`；若該日期資料夾**已有 `summary.md`**（或其他影片的音訊／文字稿），會自動**加 1 天**，直到找到可用資料夾為止，並建立該資料夾。\n- 請解析最後一行 `TARGET_DIR=\u003C路徑>`，作為後續所有步驟的資料夾。若有「日期順延」訊息，請在回報時說明。\n- 若輸出 `[COOKIE_ERROR]`，依下方「處理 Cookie 錯誤」規則立即終止；若輸出 `[UNKNOWN_CATEGORY]`，請改為不加 `--output-dir` 下載，再以 `\u002Forganize` 由 AI 判斷分類。\n- **禁止**建立 `summary_\u003C影片ID>.md` 等替代檔名；同一日期資料夾只能有一份 `summary.md`。\n\n### 下載指令\n- **若需使用容器**：\n  先確保容器已啟動（例如 `... compose -f \u003Ccompose_file> up -d`），再執行下載指令：\n  - Windows: `& $env:CONTAINER_RUNTIME exec $env:CUI_CONTAINER uv run skills\u002Fdownload_audio.py \"${input:url}\" --output-dir \"\u003CTARGET_DIR>\"`\n  - Mac: `$CONTAINER_RUNTIME exec $CUI_CONTAINER uv run skills\u002Fdownload_audio.py \"${input:url}\" --output-dir \"\u003CTARGET_DIR>\"`\n- **若不需使用容器**：\n  直接執行：`uv run skills\u002Fdownload_audio.py \"${input:url}\" --output-dir \"\u003CTARGET_DIR>\"`\n\n### 執行後確認事項與自動化流程\n1. 確認 `\u003CTARGET_DIR>` 下已生成 `.mp3` 音訊檔案與 `.info.json` 中繼資料檔案。\n2. **自動進入後續處理流程**：在成功下載後，請你**自動並依序**執行接下來的處理步驟，直到完成摘要為止：\n   - `\u002Forganize`：檔案已直接下載至 `\u003CTARGET_DIR>`，僅需確認分類結果，**無須再移動**。\n   - 執行 `\u002Ftranscribe` 對 `\u003CTARGET_DIR>` 中的 `.mp3` 檔案進行語音轉文字。\n   - 執行 `\u002Fsummarize` 針對轉換出的文字稿 (`.txt`) 進行分析與摘要。\n3. 全部完成後，向使用者回報流程執行完畢與各檔案產生的結果。\n\n### 注意\n- 預設會讀取 `.env` 中的 `COOKIES_PATH`（通常為 `.\u002Fcookies.txt`）以下載會員限定影片。\n- **⚠️ 處理 Cookie 錯誤（[COOKIE_ERROR]）**：若腳本輸出 `[COOKIE_ERROR]` 或因 YouTube 認證失敗而中斷，請**立即終止**所有後續流程。請向使用者提示目前的 Cookie 檔案路徑（如 `.env` 中的 `COOKIES_PATH` 或是預設的 `.\u002Fcookies.txt`），並詢問使用者要選擇以下哪種方式處理：\n  1. 手動更新目前的 Cookie 檔案（提示檔案路徑）\n  2. 指定另一個新的 Cookie 檔案路徑\n  3. 改為從瀏覽器自動讀取 Cookie（請使用者指定瀏覽器，例如 chrome, edge, firefox）\n- 所有回覆請使用**繁體中文**。\n","## 任務：下載音訊 (Download Audio)\n\n請根據使用者的作業系統（OS）使用對應的指令下載 YouTube 影片音訊：\n\n### 執行方式 (Mac & Windows 共用)\n無論作業系統為何，請**一律先執行對應的載入腳本**取得環境變數，**絕對不要直接讀取 `.env` 文件**：\n- **Mac**: `source scripts\u002Fload-env.sh`\n- **Windows**: `Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass; . scripts\u002Fload-env.ps1`\n\n執行後，請依據腳本輸出的環境變數或回顯結果，判斷是否需使用容器（依據 `AGENTS.md` 規則）。\n\n### 下載前：決定歸檔資料夾（日期順延判斷）\n請**先**執行以下指令，在下載前取得中繼資料、判斷分類並決定日期資料夾（需使用容器時請加上容器前綴）：\n```\nuv run skills\u002Fresolve_target_dir.py \"${input:url}\" --create\n```\n- 腳本依上傳日期決定 `docs\u002F\u003C分類>\u002F\u003CYYYYMMDD>\u002F`；若該日期資料夾**已有 `summary.md`**（或其他影片的音訊／文字稿），會自動**加 1 天**，直到找到可用資料夾為止，並建立該資料夾。\n- 請解析最後一行 `TARGET_DIR=\u003C路徑>`，作為後續所有步驟的資料夾。若有「日期順延」訊息，請在回報時說明。\n- 若輸出 `[COOKIE_ERROR]`，依下方「處理 Cookie 錯誤」規則立即終止；若輸出 `[UNKNOWN_CATEGORY]`，請改為不加 `--output-dir` 下載，再以 `\u002Forganize` 由 AI 判斷分類。\n- **禁止**建立 `summary_\u003C影片ID>.md` 等替代檔名；同一日期資料夾只能有一份 `summary.md`。\n\n### 下載指令\n- **若需使用容器**：\n  先確保容器已啟動（例如 `... compose -f \u003Ccompose_file> up -d`），再執行下載指令：\n  - Windows: `& $env:CONTAINER_RUNTIME exec $env:CUI_CONTAINER uv run skills\u002Fdownload_audio.py \"${input:url}\" --output-dir \"\u003CTARGET_DIR>\"`\n  - Mac: `$CONTAINER_RUNTIME exec $CUI_CONTAINER uv run skills\u002Fdownload_audio.py \"${input:url}\" --output-dir \"\u003CTARGET_DIR>\"`\n- **若不需使用容器**：\n  直接執行：`uv run skills\u002Fdownload_audio.py \"${input:url}\" --output-dir \"\u003CTARGET_DIR>\"`\n\n### 執行後確認事項與自動化流程\n1. 確認 `\u003CTARGET_DIR>` 下已生成 `.mp3` 音訊檔案與 `.info.json` 中繼資料檔案。\n2. **自動進入後續處理流程**：在成功下載後，請你**自動並依序**執行接下來的處理步驟，直到完成摘要為止：\n   - `\u002Forganize`：檔案已直接下載至 `\u003CTARGET_DIR>`，僅需確認分類結果，**無須再移動**。\n   - 執行 `\u002Ftranscribe` 對 `\u003CTARGET_DIR>` 中的 `.mp3` 檔案進行語音轉文字。\n   - 執行 `\u002Fsummarize` 針對轉換出的文字稿 (`.txt`) 進行分析與摘要。\n3. 全部完成後，向使用者回報流程執行完畢與各檔案產生的結果。\n\n### 注意\n- 預設會讀取 `.env` 中的 `COOKIES_PATH`（通常為 `.\u002Fcookies.txt`）以下載會員限定影片。\n- **⚠️ 處理 Cookie 錯誤（[COOKIE_ERROR]）**：若腳本輸出 `[COOKIE_ERROR]` 或因 YouTube 認證失敗而中斷，請**立即終止**所有後續流程。請向使用者提示目前的 Cookie 檔案路徑（如 `.env` 中的 `COOKIES_PATH` 或是預設的 `.\u002Fcookies.txt`），並詢問使用者要選擇以下哪種方式處理：\n  1. 手動更新目前的 Cookie 檔案（提示檔案路徑）\n  2. 指定另一個新的 Cookie 檔案路徑\n  3. 改為從瀏覽器自動讀取 Cookie（請使用者指定瀏覽器，例如 chrome, edge, firefox）\n- 所有回覆請使用**繁體中文**。\n",{"name":5,"description":7,"disable-model-invocation":24},true,"main","10d1fa25c1c0f756d20dcac4dac715fe8201e77d",".github\u002Fskills\u002Fdownload",2,"https:\u002F\u002Fgithub.com\u002FAutomata-Theatre\u002Fcui-member-skill","https:\u002F\u002Fgithub.com\u002FAutomata-Theatre","2026-11-14 17:50:51",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":24},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Automata-Theatre\u002Fcui-member-skill --skill download",{"tool":38,"command":39},"bunx","bunx skills add Automata-Theatre\u002Fcui-member-skill --skill download",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Automata-Theatre\u002Fcui-member-skill --skill download","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAutomata-Theatre\u002Fcui-member-skill\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fdownload\u002FSKILL.md",[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M79CBTNPNHWA9Q4Z9Z5R52HQ","transcribe","Step 3: 使用 Whisper 將音訊轉為文字稿","https:\u002F\u002Fgithub.com\u002FAutomata-Theatre\u002Fcui-member-skill\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftranscribe\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M79CBSE5KKYVD7X36KQ6X7XW","sync-gist","Step 6: 同步至 Gist","https:\u002F\u002Fgithub.com\u002FAutomata-Theatre\u002Fcui-member-skill\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsync-gist\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M79CBP54XZEHNDQRX08M56TC","summarize","Step 4: 閱讀文字稿並生成摘要與投資分析報告","https:\u002F\u002Fgithub.com\u002FAutomata-Theatre\u002Fcui-member-skill\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsummarize\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M79CBHH2VPVKVHT0XBJMJ2PN","stock-eval","特殊任務: 以「股價 = EPS × PE」拆解為核心，並補強內部人\u002F大股東\u002F機構\u002F經營陣容\u002F盈利品質\u002F訴訟與政策風險等視角，客觀評價指定公司或股票代碼（Gemini 提示詞或 Agent 內部分析，僅限手動執行）","https:\u002F\u002Fgithub.com\u002FAutomata-Theatre\u002Fcui-member-skill\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fstock-eval\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M79CBDWTFE8Y5AFF3Q0TBZ8J","scan-meitou-stock","自動掃描美投講美股最新影片（每週日更新），判斷是否已下載，若無則自動執行處理流程","https:\u002F\u002Fgithub.com\u002FAutomata-Theatre\u002Fcui-member-skill\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fscan-meitou-stock\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M79CBA17R44YYVY8E5TN4FRH","scan-meitou-news","自動掃描美投侃新聞最新影片，判斷是否已下載，若無則自動執行處理流程","https:\u002F\u002Fgithub.com\u002FAutomata-Theatre\u002Fcui-member-skill\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fscan-meitou-news\u002FSKILL.md",[],[]]