kb-refresh

Solid

Add new sources to your knowledge base or re-scrape existing ones to pick up changes. Supports Notion, Slack, Confluence, and local files. Can be run anytime after /setup-knowledge-base.

AI & Automation 106 stars 5 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
68
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# KB Refresh Add content from new sources or update existing KB entries from their original sources. ## When to Use - Adding a new knowledge source (Notion page, Slack channel, etc.) after initial setup - Re-scraping sources to pick up recent changes - Importing additional documents into the KB ## Prerequisites Check that `kb/` and `kb/.kb-config.yaml` exist. If not, tell the user to run `/setup-knowledge-base` first. ## Step 1: Understand Current KB Read the KB config and index to understand what's already there: ``` kb/.kb-config.yaml kb/index.md ``` Run the index script to see the current state: ```bash python3 scripts/kb-index.py ``` ## Step 2: Discover Sources Ask the user (use AskUserQuestion with multiSelect): **"What sources do you want to add or refresh?"** - Notion pages - Slack channels - Confluence pages - Local files or folders - Other ### Collect Entry Points For each selected source, ask the user for the entry point: | Source | What to ask | MCP tool | |--------|-------------|----------| | Notion | Page URL (will scrape the page and all subpages recursively) | `notion-fetch` with the page URL, then `notion-search` or `notion-get-page-descendants` for child pages | | Slack | Channel name(s) to extract knowledge from | `slack_read_channel` to read recent messages | | Confluence | Space key or page URL | `getConfluencePage` + `getConfluencePageDescendants` for recursive scraping | | Local files | Directory path or file paths | Read tool directly | ...

Details

Author
techwolf-ai
Repository
techwolf-ai/ai-first-toolkit
Created
7 months ago
Last Updated
4 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category