From kb
Read-only KB discovery with progressive 4-tier loading and --challenge mode for counter-evidence.
How this skill is triggered — by the user, by Claude, or both
Slash command
/kb:findThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Progressive 4-tier KB discovery. **Read-only.**
Progressive 4-tier KB discovery. Read-only.
index.md or config.json — kb_loader handles these; config auto-detects..md files (Tier 2/3/4).[read-only] badge in topic listing) are searchable but not writable. Treat them identically for discovery.Parse query from $0, strip flags. Two modes:
--challenge: find content that contradicts or complicates the query. Score by contradiction potential. Include adjacent topics. Read 1-2 extra notes in Tier 3/4. Skip KB meta-topics unless query is about them.KB_LOADER="${CLAUDE_SKILL_DIR}/scripts/kb_loader.py"
$KB_LOADER --list-topics — tree by @kb-name with [skill] tags.compact) or @kb-name/path. Challenge: also contradicting topics.$KB_LOADER --topic <path> per topic. All calls in one turn.{topic_name, notes[], children[], has_skill}.--topic returns JSON (names/descriptions) for Tier 2 scoring. Empty list → report and stop.
Skip if Tier 1 name+description clearly shows relevance → Tier 3/4. Only scan ambiguous notes.
Skip to Tier 4 if no TOC or note is <100 lines.
offset=16, limit=15.@kb-name/path) → --topic @kb-name/topic.see: followed by @kb/topic) → --topic @kb/topic. These are semantic hints to global KBs.offset to skip prior lines.Return: ## Topic Map (paths), ## Relevant Concept Notes (path + title + content, label concept vs skill), ## Notes (caveats).
Challenge mode output: ## Topic Map, ## Counter-Evidence (path, strength, type, excerpt), ## Summary (1-3 sentences), ## Notes.
npx claudepluginhub farzadshbfn/knowledge-plugin --plugin kbCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.