skill-rag-router
Skill RAG Router
Intelligent skill discovery and routing system using semantic search and knowledge graph relationships.
Capabilities
- Semantic Skill Search: Uses
ck --semfor meaning-based skill matching - Hybrid Search: Combines semantic + keyword matching via
ck --hybrid - Session Awareness: Integrates with beads/bd for session context
- Memory Integration: Uses claude-mem for cross-session learning
Trigger Conditions
Activate this skill when:
- User explicitly requests skill discovery (
/meta, "find a skill for...") - Task complexity score >= 0.7
- Task involves > 20 files
- Task spans > 2 domains (frontend, backend, security, etc.)
- User asks "what skill can help with..."
Usage
# Explicit invocation
/meta [query]
# Examples
/meta "optimize prompts for RAG pipeline"
/meta "debug authentication flow"
/meta "refactor legacy codebase"
Search Implementation
# Semantic search for skills
ck --sem "[query]" ~/.claude/skills/ --jsonl --top-k 5
# Hybrid search (semantic + keyword)
ck --hybrid "[query]" ~/.claude/skills/ --threshold 0.6
# Index skills
ck --index ~/.claude/skills/ --model bge-small --quiet
Output Format
Returns ranked skill suggestions with:
- Skill name and path
- Confidence score (0-1)
- Relevant snippet from SKILL.md
- Trigger match explanation
Integration Points
- SessionStart: Indexes skills, loads routing cache
- UserPromptSubmit: Analyzes prompts for skill suggestions
- beads/bd: Session-aware task tracking
- claude-mem: Cross-session routing patterns
Scripts
scripts/index-skills.sh: Index all skills with ckscripts/router.sh: Main routing logicscripts/suggest-skills.sh: Intent → skill matching for hooks
More from zpankz/mcp-skillset
network-meta-analysis-appraisal
Systematically appraise network meta-analysis papers using integrated 200-point checklist (PRISMA-NMA, NICE DSU TSD 7, ISPOR-AMCP-NPC, CINeMA) with triple-validation methodology, automated PDF extraction, semantic evidence matching, and concordance analysis. Use when evaluating NMA quality for peer review, guideline development, HTA, or reimbursement decisions.
16software-architecture
Guide for quality focused software architecture. This skill should be used when users want to write code, design architecture, analyze code, in any case that relates to software development.
13cursor-skills
Cursor is an AI-powered code editor and development environment that combines intelligent coding assistance with enterprise-grade features and workflow automation. It extends beyond basic AI code comp...
13textbook-grounding
Orthogonally-integrated Hegelian syntopical analysis for SAQ/VIVA/concept grounding with systematic textbook citations. Implements thesis extraction → antithesis identification → abductive synthesis across multiple authoritative sources. Tensor-integrated with /m command: activates S×T×L synergies (textbook-grounding × pdf-search × qmd = 0.95). Triggers on requests for model SAQ responses, VIVA preparation, concept explanations requiring textbook evidence, or any PEX exam content needing systematic cross-reference validation.
12obsidian-process
This skill should be used when batch processing Obsidian markdown vaults. Handles wikilink extraction, tag normalization, frontmatter CRUD operations, and vault analysis. Use for vault-wide transformations, link auditing, tag standardization, metadata management, and migration workflows. Integrates with obsidian-markdown for syntax validation and obsidian-data-importer for structured imports.
12terminal-ui-design
Create distinctive, production-grade terminal user interfaces with high design quality. Use this skill when the user asks to build CLI tools, TUI applications, or terminal-based interfaces. Generates creative, polished code that avoids generic terminal aesthetics.
10