techwolf-ai/ai-first-toolkit/kb-refresh
Claude Code and agent skill by techwolf-ai/ai-first-toolkit
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install techwolf-ai/ai-first-toolkit/kb-refreshSKILL.md
The same SKILL.md was published earlier as techwolf-ai/ai-first-toolkit/kb-refresh.
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:
Run the index script to see the current state:
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 |
Step 3: Choose Processing Mode
Ask the user (use AskUserQuestion):
"Process one at a time or all in parallel?"
- One at a time (review each before continuing)
- All in parallel (faster, review at the end)
Step 4: Scrape and Extract
For each source, launch a subagent (or process sequentially, per the user's choice):
Step 5: Review
After all sources are processed:
- Run
python3 scripts/kb-index.py --writeto regeneratekb/index.md's "All Files by Category" section from the current KB. - Run
python3 scripts/kb-validate.pyto catch missing frontmatter, bad categories, or brokenrelated:links. - Run
python3 scripts/kb-validate.py --max-age 90(or a shorter window if the source changes faster) to surface entries that have drifted since their last refresh. - Spot-check discoverability with
python3 scripts/kb-search.py "<term the refresh should have covered>"to confirm new entries are searchable. - Present a summary: X entries created, Y entries updated, from Z sources. Flag any warnings, errors, or stale entries.
- Ask the user if they want to add more sources or are done.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/knowledge-base/skills/kb-refresh/SKILL.md
Popularity
- Repository stars
- 86
- Repository forks
- 2
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/techwolf-ai/ai-first-toolkit/kb-refresh)