Video to knowledge
The installed Hermes plugin handles a bare Bilibili or YouTube URL automatically. For a media attachment, first save the attachment to a private temporary path, then pass that exact path as the source argument. The workflow runs the deterministic transcription stage first, then uses the Hermes host model for two bounded enrichment calls. Do not clone or inspect the by2kb repository.
For an explicit/manual request:
- Check installation with
by2kb version. If missing, use the packagedinstall-by2kbSkill. The default installation ispipx install by2kb[asr-whisper,youtube]withby2kb init --preset agent-local. - Use cloud Doubao ASR only when the user explicitly selects it. Never ask the user to send TOS or ASR credentials through an IM conversation.
- Run
by2kb ingest <URL_OR_LOCAL_PATH> --enricher external_agent --json. - Run
by2kb enrichment next <JOB_ID> --provider <HOST_PROVIDER> --model <HOST_MODEL> --json. - When status is
needs_input, follow the returned system and user prompt exactly, save the bounded response as UTF-8 Markdown, and runby2kb enrichment submit <JOB_ID> --operation-id <ID> --output-file <PATH> --provider <HOST_PROVIDER> --model <HOST_MODEL> --json. - Repeat steps 4–5 until
nextreturns statuscompleted. - Report the three knowledge-base paths: raw transcript, short abstract, and long-form study notes.
Never place model credentials in by2kb when using this path. If enrichment fails,
run by2kb enrichment fail <JOB_ID> --message <ERROR> --retryable so it can be
resumed without retranscribing.