Logo van Install By2kb

Install By2kb

Community
Charlesmpc
install-by2kb

Installeer, configureer, update of diagnoseer by2kb voor een Agent-gebruiker. Standaard gebruikt dit lokale faster-whisper en lokale Markdown; gebruik alleen een cloud-ASR-provider als de gebruiker daar expliciet voor kiest.

Add to TypingMind

Overzicht

UitgeverCharlesmpc
Repositoryby2kb
Skillnaaminstall-by2kb
Sterren
154
Forks
14
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door Charlesmpc op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Install By2kb in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/Charlesmpc/by2kb/tree/main/skills/install-by2kb
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Charlesmpc/by2kb.git /tmp/by2kb
mkdir -p .claude/skills
cp -r /tmp/by2kb/skills/install-by2kb .claude/skills/install-by2kb
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Install By2kb in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Install By2kb automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Install By2kb niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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. Check uv tool list too if uv is available; keep using the existing package manager, rather than creating a second installation. A command missing on Windows may be a PATH issue: inspect Get-Command, uv tool dir --bin, or py -m pipx environment as applicable, and check the gateway's environment.
  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.

For enabled YouTube/yt-dlp routes, check by2kb doctor --json for matching EJS scripts and Deno 2.3+ or Node.js 22+. Reuse a supported existing runtime. Explain and obtain agreement before installing a missing runtime with a trusted package manager; no browser is required. If the gateway PATH differs, configure only [sources.yt_dlp] js_runtime and js_runtime_path, preserving all other keys. Do not respond to a missing JS dependency by requesting login Cookies, enabling remote script downloads, or resetting configuration. Passing JS checks does not guarantee that YouTube will permit a particular video or anonymous session. If YouTube requests authentication, have the user sign in on the agent host and authorize use of a specific local browser profile. A Cookie-export extension is optional. Use a supported browser name in cookies_from_browser, or a private, YouTube-only cookie_file for a custom profile, never both. Do not expose Cookie values or unrelated sessions. Login can expire and is not a guarantee of access; browsers and PO Token services remain opt-in. Verify one selected video after setup.

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, inspect hermes plugins list first. If the by2kb plugin is already installed, keep it and use skill_view("by2kb:install-by2kb") when available. Only for a new legacy/copy-based adapter install, run by2kb agent install hermes. Then run by2kb doctor --json. Catalog submission is pending; do not assume the bare catalog name is already available.
  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. Inspect hermes plugins list and the installation source. For a catalog plugin, use hermes plugins update by2kb; for a Git-pinned plugin, let the user choose a new exact commit through Hermes. Never overwrite either with the CLI installer. Only a legacy/copy-based adapter may be refreshed with by2kb agent install hermes --force. If ownership is unclear, stop and inspect it.
  4. Run by2kb doctor --json again and report any migration or restart requirement.

The Hermes adapter directory is program-owned. Put a personalized runtime Skill at $BY2KB_HOME/skills/video-to-knowledge/SKILL.md, or set BY2KB_HERMES_SKILL to an explicit file; both take precedence over the packaged Skill and survive adapter replacement. Other enrichment Skills belong under $BY2KB_HOME/skills and already take precedence over packaged defaults.

Optional: cloud ASR

Use this path only when the user chooses Doubao ASR or cannot run Whisper locally:

  1. Install pipx install "by2kb[asr-doubao,youtube]".
  2. Run by2kb init in a trusted local terminal and select doubao when prompted.
  3. Do not ask the user to paste TOS or ASR credentials into an IM conversation. The initializer stores secrets in the local by2kb .env file.
  4. Install the Agent adapter and run by2kb doctor --json as above.

Stop and report the exact failed check when a required runtime, credential, permission, model download, or Agent restart needs user action. Do not weaken permissions or switch providers merely to make diagnostics pass.

Veelgestelde vragen

Wat doet de AI-skill Install By2kb?

Installeer, configureer, update of diagnoseer by2kb voor een Agent-gebruiker. Standaard gebruikt dit lokale faster-whisper en lokale Markdown; gebruik alleen een cloud-ASR-provider als de gebruiker daar expliciet voor kiest.

Waarom Install By2kb gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Install By2kb bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Install By2kb in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/Charlesmpc/by2kb/tree/main/skills/install-by2kb. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Install By2kb gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Install By2kb gebruiken?

Zoveel als je wilt. Je kunt Install By2kb gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Install By2kb gratis?

Ja. Deze skill is door Charlesmpc op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇