Logo Video Ingest

Video Ingest

Cộng đồng
chrono-meta
video-ingest

Ingests a video's content (YouTube and similar) for agent context, routing by capability, task need, and video length — a natively multimodal engine (Gemini via agy or the Gemini API) for direct-URL and long video, Claude vision over ffmpeg-extracted frames when no such engine is present, yt-dlp captions when the transcript alone suffices, and the logged-in claude-in-chrome session for auth-gated videos. The governor cross-checks any multimodal comprehensive-read. Triggered by "ingest this video", "what does this video show", "get the transcript from this YouTube video", "video-ingest".

Tổng quan

Nhà phát hànhchrono-meta
Kho mãforge-harness
Tên kỹ năngvideo-ingest
Sao
32
Bản fork
1
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được chrono-meta công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Video Ingest trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/chrono-meta/forge-harness/tree/main/plugins/fh-meta/skills/video-ingest
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/chrono-meta/forge-harness.git /tmp/forge-harness
mkdir -p .claude/skills
cp -r /tmp/forge-harness/plugins/fh-meta/skills/video-ingest .claude/skills/video-ingest
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Video Ingest trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Video Ingest ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Video Ingest với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

video-ingest — Video Content Ingestion (capability-routed)

A video carries two separable signals: the spoken transcript (text) and the visual content (on-screen demos, slides, UI). Captions give only the first. So the route is chosen by what the task needs × what engine is available × video length — not a single fixed path. This reuses frontier-digest's capability-over-engine logic and adds on-demand, need-based routing, a Claude-native frame path, output normalization, and a governance cross-check.

FH's increment over a raw video executor (sister asset claude-video, github bradautomates/claude-video; cross-audit note in a private companion store): the executors watch; FH governs — the governor never trusts a multimodal "comprehensive read" at face value, it cross-checks claims against the transcript / a second pass. Same compose pattern as the other FH↔executor pairs.

Triggers

  • "ingest this video" · "what does this video show / demonstrate"
  • "get the transcript from this YouTube video" · "pull the captions from "
  • "summarize what's on screen in this video"
  • "video-ingest"

Step 0 — What does the task need? (picks the tier)

  • Video understanding (visual: demos, UI walkthroughs, slides, anything not in the spoken words) → a vision path (Tier 1a or 1b below). Captions miss the screen.
  • Transcript only (spoken words suffice — a talk, an interview) → go straight to yt-dlp (Tier 3); do not spend a vision engine when text is all that's needed (cost guard).

Step 1 — Capability + length probe, then tier ladder (REUSE the probe — do not re-specify)

Resolve the engine by capability, not name, via frontier-digest's Sidecar Engine Resolution Protocol (plugins/fh-meta/skills/frontier-digest/SKILL_detail.md §Video-Harvest — single source of the probe commands). Length is the 2nd axis (claude-video is sparse past ~10min). The ladder:

  • Tier 1a — native multimodal, URL-direct (best for LONG video): an engine that watches the video and returns spoken + visual detail, no frame cap. Verified: Gemini ingests a YouTube URL directly (returns verbatim dialogue AND on-screen detail). Probe for a live route — the direct gemini CLI is EOL (2026-06-18), so probe agy / the Gemini API. Caveat (measured): a YouTube URL works, but an arbitrary (non-YouTube) stream is not reachable headless (needs file upload) — degrade for those.
  • Tier 1b — Claude-native frame extraction (Claude-only; SHORT/MEDIUM ≤~10min): when no external multimodal engine is present, do not give up on visual content — ffmpeg extracts frames (auto-scaled, cap ~2fps/100 frames) → Claude's own vision via Read reads them as images (the claude-video pattern). No separate runtime, no Gemini-EOL exposure. Caution: claude-video itself is a 3rd-party executable (brew installs + optional Whisper egress) — if invoking it directly, review first; the ffmpeg+Read mechanism can also be run inline without it.
  • Never route video to a coding-agent CLI (codex, a non-multimodal model) — burns tokens, recovers only metadata.
  • Tier 3 — yt-dlp transcript (text only; conditional — probe first, never assume):
    bash
    yt-dlp --no-update --skip-download --write-auto-subs --sub-langs en \
      --sub-format json3 -o "/tmp/yt_%(id)s.%(ext)s" "<URL>"
    python3 -c "import json,sys,re;d=json.load(open(sys.argv[1]));print(re.sub(r'\s+',' ',' '.join(s.get('utf8','') for e in d['events'] for s in e.get('segs',[]) if s.get('utf8','').strip())).strip())" /tmp/yt_<id>.en.json3
    --write-subs (human captions) preferred when present. Keep yt-dlp current (pip install -U yt-dlp; version/impersonation warnings are non-blocking). yt-dlp also supplies the transcript the governor cross-checks a Tier-1 visual read against.
  • Auth-gated (members-only / age-gated) → claude-in-chrome (operator's logged-in session). video-ingest surfaces this route as a handoff — it does not drive the browser itself (the mcp__claude-in-chrome__* tools are outside this skill's allowed-tools). Caveat: needs the Anthropic "direct" plan — unavailable on a corp Bedrock laptop; surface the limit, do not loop.
  • Unresolvable (no vision engine, yt-dlp probe fails, not auth-fixable) → operator summary remains the path; say so plainly.

Step 1.5 — Governance cross-check (FH's increment; do not skip on a multimodal read)

A Tier-1 engine's "comprehensive read" is a self-report, untrusted like any sidecar output. The governor cross-checks its key claims against the transcript (Tier 3) or a second targeted frame pass before accepting; a visual claim that contradicts the transcript or cannot be re-grounded is flagged, not relayed as fact. (This is the governance claude-video has no equivalent for.)

Step 2 — Normalize + hand off

Write clean text (+ visual notes if Tier 1) and metadata (video id, title, duration, source: multimodal vs transcript, caption type human/auto) to a predictable path (/tmp/yt_<id>_ingest.txt or a caller-specified path). Downstream grounding ingest is corpus-grounding-expander's job — video-ingest produces the artifact, it does not ingest into a store.

Done When

  • Output artifact written AND character count > 0 (or a specific failure reason surfaced). [measured]
  • Tier chosen matches the task need × the live capability probe × length (video-understanding → Tier 1a for long / Tier 1b for short-medium; transcript-only → yt-dlp). [judged, pair: the probe is the mechanical anchor]
  • A Tier-1 multimodal comprehensive-read was cross-checked against the transcript / a second pass before its claims were relayed as fact. [judged, pair: transcript diff is the mechanical anchor]
  • On failure, a specific reason is surfaced (no-captions / auth-required / no-vision-engine / arbitrary-stream-headless-unreachable) — never a silent empty result. [mandatory-pass]

Guards

  • No-reinvention — the capability probe + tier ladder are frontier-digest's Sidecar Engine Resolution Protocol (single source); the executors are yt-dlp (Bash), the Gemini path, ffmpeg+Read (claude-video pattern), and claude-in-chrome (MCP). This skill routes by need × length, cross-checks, normalizes, and reports — it builds no caption engine, no frame extractor, no browser automation.
  • Governor never trusts a multimodal self-report — Step 1.5 cross-check is FH's increment over a raw video executor; a visual claim is grounded before it is relayed.
  • Capability over engine name — probe what an engine can actually do (EOL/availability drifts); never assume gemini/agy/yt-dlp/ffmpeg is present.
  • Cost guard — transcript-only need never spends a vision engine.
  • 3rd-party executable caution — claude-video (brew installs + optional Whisper egress) is reviewed before install; the ffmpeg+Read mechanism can run inline without adopting the whole tool.
  • Corp-host honesty — when a path is unavailable (Bedrock laptop, EOL CLI, headless-stream limit), state it; do not loop on a path that cannot run.

Câu hỏi thường gặp

Kỹ năng AI Video Ingest làm được gì?

Ingests a video's content (YouTube and similar) for agent context, routing by capability, task need, and video length — a natively multimodal engine (Gemini via agy or the Gemini API) for direct-URL and long video, Claude vision over ffmpeg-extracted frames when no such engine is present, yt-dlp captions when the transcript alone suffices, and the logged-in claude-in-chrome session for auth-gated videos. The governor cross-checks any multimodal comprehensive-read. Triggered by "ingest this video", "what does this video show", "get the transcript from this YouTube video", "video-ingest".

Vì sao nên dùng Video Ingest trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Video Ingest là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Video Ingest trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/chrono-meta/forge-harness/tree/main/plugins/fh-meta/skills/video-ingest. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Video Ingest?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Video Ingest với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Video Ingest với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Video Ingest có miễn phí không?

Có. Kỹ năng này được chrono-meta phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇