Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

kb-builder

БесплатноБез исполняемых скриптовНе проверен

Build an Obsidian-compatible knowledge base from public web sources using the TinyFish CLI. Use this skill when a user wants a builder-grade markdown…

tinyfish-ioот tinyfish-io★ 2 343 звезды на GitHub

Об этом скилле

KB Builder

Build a topic-specific markdown knowledge base by using TinyFish to browse public web sources and extract structured evidence.

This skill is for builder knowledge bases, not personal journals and not direct code generation.

The output is a folder you can drop into Obsidian immediately, and update later without starting over.

Core principle

Do not produce a pile of source summaries.

The KB should help the reader understand:

  • the core mental model
  • the main approaches or schools of thought
  • what is foundational vs derivative
  • what actually matters
  • what is unresolved
  • what to read first if they want genuine understanding

If the output only says what each source said, the skill has failed.

Pre-flight check

Run both checks before any TinyFish call:

which tinyfish && tinyfish --version || echo "TINYFISH_CLI_NOT_INSTALLED"
tinyfish auth status

If TinyFish is not installed, stop and tell the user:

npm install -g @tiny-fish/cli

If TinyFish is not authenticated, stop and tell the user:

tinyfish auth login

Do not continue until both checks pass.

Scope

  • Allowed: public web pages, public GitHub repos, public papers, public docs, public datasets, public blog posts
  • Not allowed: private sources, local private files, authenticated dashboards, chat logs, email, Slack, or anything the user cannot access publicly
  • Primitive: use explicit tinyfish agent run commands
  • Output shape: always index.md, sources.md, audit.md, and manifest.json; everything else is dynamic

Input modes

You support two modes:

  1. Topic only
    • Example: Build me a knowledge base on web agent frameworks
  2. Topic + starter URLs
    • Example: Build me a knowledge base on web agent frameworks and start from these URLs: ...
  3. Update an existing KB
    • Example: Update my knowledge base on Kolmogorov-Arnold Networks with these new URLs: ...
  4. Trace mode
    • Example: Build me a knowledge base on browser agents --trace

If the topic is missing, ask for it before proceeding.

If starter URLs are present:

  • use them first
  • deduplicate them
  • keep only public URLs

If the user explicitly says update, refresh, add these sources, or clearly wants to add to an existing KB, switch into update mode.

If the user includes --trace, trace, debug, or explicitly asks for raw outputs:

  • enable trace mode
  • save raw TinyFish outputs under _trace/
  • keep _trace/ out of the main page navigation unless the user asks for it

Output directory

Create a folder named:

kb-{topic-slug}/

Examples:

  • kb-web-agent-frameworks/
  • kb-kolmogorov-arnold-networks/
  • kb-landing-page-design-patterns/

When trace mode is enabled, also create:

kb-{topic-slug}/_trace/

Always-generated files

index.md

This file is always required. It should contain:

  • a short topic overview
  • what the knowledge base covers
  • a list of generated pages using wikilinks
  • 3-7 key takeaways
  • open questions or evidence gaps
  • a mental model section
  • a what matters section
  • a reading order section for the strongest sources or pages

sources.md

This file is always required. It should log every URL visited with:

  • stable source ID
  • timestamp
  • URL
  • source label
  • reason it was opened
  • result status: useful, partial, irrelevant, blocked, or conflicting

Use ISO 8601 timestamps.

Each source entry must use a stable source ID such as S001, S002, S003.

Example:

## [S001] 2026-04-06T08:49:24.014Z | useful

- URL: https://example.com
- Label: Official docs
- Reason opened: discovery pass for {TOPIC}
- Notes: yielded 4 good follow-up links

audit.md

This file is always required. It is the trust layer for the KB.

It must contain four sections:

  • FOUND
  • INFERRED
  • CONFLICTING
  • MISSING

Example:

# Audit

## FOUND
- [FOUND | S003] Pikachu is an Electric-type Mouse Pokemon.

## INFERRED
- [INFERRED | S003,S004] Pikachu's mascot role is reinforced across both official canon and encyclopedia framing.

## CONFLICTING
- [CONFLICTING | S004,S009] Source A says X while source B frames Y.

## MISSING
- [MISSING] No dedicated benchmark source was read in this run.

Rules:

  • FOUND requires at least one direct source ID
  • INFERRED should usually reference at least two source IDs
  • CONFLICTING must name the disagreement explicitly
  • MISSING should be used whenever the KB lacks evidence rather than hand-waving

manifest.json

This file is always required. It stores:

  • topic
  • topic slug
  • build or update mode
  • created timestamp
  • last updated timestamp
  • page list
  • run history
  • simple run bookkeeping like URLs visited and pages generated
  • whether trace mode was enabled

Dynamic files

Do not hardcode a fixed set like papers.md or repos.md for every topic.

Create additional files only when the topic actually support

Полный SKILL.md на GitHub

Установить kb-builder в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.md

FAQ

Что делает скилл kb-builder?

Build an Obsidian-compatible knowledge base from public web sources using the TinyFish CLI. Use this skill when a user wants a builder-grade markdown knowledge base on a technical topic, asks for a structured research vault, or wants a topic compiled from live public sources into interlinked markdown files. Supports two input modes: topic only, or topic plus starter URLs. Supports both first-build and update workflows. Always generates index.md, sources.md, audit.md, and manifest.json. Creates additional files only when the evidence supports them. The output must synthesize the topic into a usable mental model, not just summarize pages. Uses explicit tinyfish agent run commands and public web sources only. Optional `--trace` mode saves raw TinyFish outputs under `_trace/` for debugging.

Как установить скилл kb-builder?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл kb-builder запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить kb-builder с