技能圖譜SKILLSGROVE
技能圖譜/影片製作/KIRVO-REPORTING/video-to-notes/video-to-notes

video-to-notes

安裝

$npx skills add https://github.com/KIRVO-REPORTING/video-to-notes --skill video-to-notes
$git clone --depth 1 https://github.com/KIRVO-REPORTING/video-to-notes.git /tmp/video-to-notes && mkdir -p ~/.claude/skills && cp -r /tmp/video-to-notes/codex-skill ~/.claude/skills/video-to-notes
請幫我安裝這個 Agent Skill:https://github.com/KIRVO-REPORTING/video-to-notes/tree/aa06415ef985290398db765271d6e85a66c436db/codex-skill ,先閱讀它的 SKILL.md 和指令碼,確認安全後再安裝到我的技能目錄。

簡介

原文描述 · MITUse immediately for any bare YouTube or YouTube Shorts URL, youtu.be link, Bilibili or b23.tv link, or other video URL; do not ask what the user wants. Treat a message containing only a supported video URL as a request to create timestamped notes and a report, then publish to the configured local, Notion, or Obsidian target. Also use for video transcription, summaries, subtitles, reports, publishing, syncing, and dashboards.
以下 SKILL.md 內容轉載自 KIRVO-REPORTING/video-to-notes(提交 aa06415),依據 MIT 許可證轉載正文(文字未改動;僅省略檔案頭後設資料、將圖片顯示為連結,超長內容會截斷);版權歸 2026 KIRVO-REPORTING 所有。許可證:LICENSE。僅展示說明檔案,附帶指令碼請在原倉庫檢視。

Video to Notes

Turn a supported video URL into a transcript-backed report. Prefer downloadable captions; use the configured local Whisper backend only when captions are missing or unusable.

Non-negotiable behavior

  • Treat a message containing only a supported video URL as a complete request. Start the full report workflow immediately; never reply with “What do you want me to do with this link?”
  • Treat YouTube watch, Shorts, live, and youtu.be URLs equally. Preserve query parameters such as t, list, or tracking parameters when passing the URL to the processor.
  • When the user states a narrower goal such as “only download,” “only translate,” or “only extract subtitles,” perform that goal instead of forcing the full report workflow.
  • Do not ask for cookies, credentials, language, or output destination before the first safe attempt. Ask only after a concrete failure proves user input is required.
  • Respect <workspace>/config.json preferences. If no configuration exists, use local output and mention configuration only after delivering the result.
  • Read metadata.json and the complete transcript.txt before writing claims about the video.

Bare URL workflow

  1. Run video-to-notes doctor and use the workspace path it returns. Do not assume the current repository or shell directory is the video workspace. If the command is missing or doctor fails, follow references/setup.md.

  2. Process into local artifacts first, regardless of the configured publishing target:

    video-to-notes process "VIDEO_URL" --environment local
    

    This prevents an incomplete report from being published before summary.md and tags.json exist.

  3. Read the returned metadata.json and the entire transcript.txt.

  4. Follow references/reporting.md to write grounded summary.md and tags.json.

  5. Finalize only after both files are ready. Select exactly one route:

    • Local: video-to-notes finalize "VIDEO_FOLDER" --environment local
    • Notion with CLI credentials: video-to-notes finalize "VIDEO_FOLDER" --environment notion
    • Notion connector without CLI credentials: finalize with --environment local, then follow references/notion.md.
    • Obsidian: follow references/obsidian.md.
  6. Return the primary reader-facing artifact: the Notion row URL, Obsidian note path/URI, or local report.html. Include the local report as the backing archive when publishing remotely.

Do not stop after process; its HTML is preliminary until the summary, tags, and finalize step are complete.

Target selection

Read preferences.output_environment from <workspace>/config.json when it exists:

An explicit user destination overrides configuration for that run. If remote publishing is unavailable, keep the completed local report, state the exact publishing blocker, and return the local path. Never claim a remote sync succeeded unless a URL/path was returned by the publisher or connector.

Failure handling

  • If metadata extraction or captions fail because authentication is required, retry with available browser cookies. Ask the user only if no authorized cookie source is available.
  • If captions are absent and Whisper is not configured, run video-to-notes doctor, then follow references/setup.md. Read references/model-selection.md only when choosing or troubleshooting a backend/model. Do not ask what the link is for.
  • If the source is private, deleted, region-restricted, or unsupported, report that specific reason and preserve any artifacts already created.
  • Never substitute web-search snippets, page metadata, or a guessed summary for a missing transcript. If no transcript can be obtained, report the failure instead of inventing notes.
  • If Notion or Obsidian publishing fails, do not discard or regenerate the completed local report.

Existing reports and dashboards

For an already processed folder, update summary.md or tags.json if requested and run:

video-to-notes finalize "VIDEO_FOLDER"

For dashboard work:

video-to-notes rebuild-index
video-to-notes serve --open

Keep the server bound to 127.0.0.1 unless the user explicitly requests public exposure.

Progress and final response

Keep progress updates short and outcome-oriented. Do not dump download, codec, conversion, or file-by-file logs unless they explain a failure.

When a thread-title tool is available, rename the task using the real video topic rather than generic words such as “transcribe” or “video-to-notes”. Do not block completion when task renaming is unavailable.

Use a compact final response:

Completed: VIDEO_TITLE

Report: PRIMARY_REPORT_URL_OR_PATH
Local report: /absolute/path/to/report.html  # include for remote targets

Summary: One concise answer-first paragraph.

Key Points
- [mm:ss-mm:ss] Main point.
- [mm:ss-mm:ss] Second point.

Notes: Only trust-affecting caveats or publishing failures.

Do not paste the full transcript into chat; keep it in the report or configured publishing target.

檢視許可證全文(MIT)
MIT License

Copyright (c) 2026 KIRVO-REPORTING

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.