install-by2kb

install-by2kb is a skill for Claude Code, Codex from Charlesmpc/by2kb. It costs 45 tokens per session (875 once invoked), scanned A, original, MIT.

An installer and diagnostic guide for by2kb, a tool that turns audio and online videos into searchable notes for an agent's knowledge library.

In plain words
What is it for?
Use it to install, configure, update, or troubleshoot by2kb with local faster-whisper transcription, Markdown storage, and supported Bilibili or YouTube sources.
Why use it?
It provides a defined setup path and checks the machine before changing anything, while keeping speech recognition local by default.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to install, configure, update, or troubleshoot by2kb with local faster-whisper transcription, Markdown storage, and supported Bilibili or YouTube sources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/charlesmpc/by2kb/install-by2kb
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Charlesmpc/by2kb --skill install-by2kb
Clone the repo
git clone --depth 1 https://github.com/Charlesmpc/by2kb

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for install-by2kb

README.md
[![agentmods](https://agentmods.dev/badge/skills/charlesmpc/by2kb/install-by2kb/github.svg)](https://agentmods.dev/skills/charlesmpc/by2kb/install-by2kb)
Your own site
<a href="https://agentmods.dev/skills/charlesmpc/by2kb/install-by2kb"><img src="https://agentmods.dev/badge/skills/charlesmpc/by2kb/install-by2kb/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for install-by2kb

Your own site · 80×15
<a href="https://agentmods.dev/skills/charlesmpc/by2kb/install-by2kb"><img src="https://agentmods.dev/badge/skills/charlesmpc/by2kb/install-by2kb.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 875 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.00875
Opus 5 $0.00023 $0.00438
Sonnet 5 $0.00009 $0.00175
Haiku 4.5 $0.00005 $0.00088

Measured 8d ago against content hash 4e9634358349, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

install-by2kb scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/install-by2kb/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Install by2kb

Install by2kb as an independent CLI package, then install its adapter into the active Agent. Do not clone or inspect the by2kb source repository as an installation method.

Before changing the system

  1. Confirm the target machine is controlled by the user.
  2. Check for Python 3.12+, pipx, ffmpeg, ffprobe, by2kb, and the Agent host.
  3. If by2kb already has configuration, do not replace it. Run by2kb doctor --json, explain any failures, and preserve the current ASR and knowledge-base choices unless the user asks to change them.

Default: local Agent installation

Use this path unless the user explicitly requests cloud ASR:

  1. Install from PyPI with pipx install "by2kb[asr-whisper,youtube]".
  2. Create a cloud-free Agent configuration with by2kb init --preset agent-local. This selects local faster-whisper, Bilibili and YouTube sources, Agent-hosted summarization, and a local Markdown library.
  3. Before downloading a Whisper model, tell the user its name and that the download can be large. Continue only after the user agrees, then run by2kb models install.
  4. For Hermes, run by2kb agent install hermes, followed by by2kb doctor --json.
  5. Restarting a running Agent can interrupt the current conversation. Ask before restarting it, then verify the gateway and ask the user to send one test video URL.

If pipx reports that by2kb is already installed, try pipx upgrade by2kb. If an old direct-URL installation remains pinned or its virtual environment is broken, explain the problem and ask before uninstalling and reinstalling it. Never delete a pipx environment manually without explicit user approval.

Upgrade without losing personalization

Treat $BY2KB_HOME (normally ~/.by2kb) and the configured knowledge-base folder as user-owned state. An upgrade must preserve config.toml, .env, by2kb.db, downloaded models, custom Skills, and every knowledge artifact.

  1. Inspect by2kb version, pipx list, and by2kb doctor --json first.
  2. Run pipx upgrade by2kb. Do not run by2kb init, by2kb init --force, or rewrite configuration during an ordinary upgrade.
  3. Refresh only the managed Hermes adapter with by2kb agent install hermes --force.
  4. Run by2kb doctor --json again and report any migration or restart requirement.

Read the full file on GitHub · 73 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 73 lines · 45 tokens per session scan A 4e9634358349

Subscribe to this mod's changes

install-by2kb is a skill published in the GitHub repository Charlesmpc/by2kb (5 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 875 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

youtube-fetcher

Retrieve YouTube transcripts and subtitles, summarize or analyze what was said, or save an Obsidian-ready Markdown knowledge-base note with captions, creator metadata, chapters, language, and source provenance. Use for a YouTube URL or video ID when the request needs spoken content or an archival note. A bare YouTube…

JimmySadek/youtube-fetcher-to-markdown · 74 tokens

larksnap-fetch

A bridge for downloading Feishu/Lark documents or ordinary webpages into local files, with options such as Markdown, HTML, or PDF. Feishu, also called Lark, is a workplace collaboration platform.

AmbroseX/larksnap · 111 tokens

bili-note

A tool for turning Bilibili videos and posts into readable Markdown notes. Bilibili is a Chinese video and social-content platform; the tool can work with subtitles, article text, images, code, and selected comments.

Rimagination/bili-note · 86 tokens

reduce

Extract structured knowledge from source material. Comprehensive extraction is the default — every insight that serves the domain gets extracted. For domain-relevant sources, skip rate must be below 10%. Zero extraction from a domain-relevant source is a BUG. Triggers on "/reduce", "/reduce [file]", "extract…

agenticnotetaking/arscontexta · 73 tokens

verify

Combined verification — recite (description quality via cold-read prediction) + validate (schema compliance) + review (health checks). Use as a quality gate after creating notes or as periodic maintenance. Triggers on "/verify", "/verify [note]", "verify note quality", "check note health".

agenticnotetaking/arscontexta · 61 tokens

bilibili-to-doc

A workflow for turning a Bilibili video—a video-hosting site popular in China—into a structured Markdown document using its Chinese subtitles.

programmerloverun/bilibili-to-doc · 93 tokens