kb-refreshlisted
Install: claude install-skill techwolf-ai/ai-first-toolkit
# 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 |