context-router
Context Router
Routes external context extraction to the three-CLI system.
Trigger Keywords: context, lifelog, research, ltm, recall, lookup, pieces, limitless, pendant, documentation
Trigger Conditions
Activate when:
- Explicit commands:
/context,/limitless,/research,/pieces - Intent hook signals context need (balanced detection)
- User asks about past conversations, technical docs, or code history
Source Categories
| Source | CLI | Triggers | Data Type |
|---|---|---|---|
| Personal | limitless | lifelog, pendant, daily, personal, meeting | Transcripts, chats |
| Research | research | fact-check, docs, academic, verify, sdk | Citations, documentation |
| Local | pieces | ltm, saved, snippets, my code, history | Code, snippets |
Routing Decision Tree
Request Received
│
├── Explicit Command?
│ ├── /context → Parallel (all sources)
│ ├── /limitless → Single (limitless)
│ ├── /research → Single (research)
│ └── /pieces → Single (pieces)
│
├── Hook Signal Present?
│ ├── need_limitless=true → Route to limitless
│ ├── need_research=true → Route to research
│ ├── need_pieces=true → Route to pieces
│ └── Multiple → Parallel mode
│
└── No Signal
└── Skip (no context needed)
Mode Selection
| Mode | Trigger | Process |
|---|---|---|
| Single | Clear single-source intent | Route to one CLI |
| Parallel | /context or multi-domain |
Spawn all relevant CLIs |
| Augmented | With deep-research | Pre-enrich Phase 0 |
CLI Commands
Limitless (Personal)
limitless lifelogs search "query" --limit 10 --format json
limitless workflow daily YYYY-MM-DD --format json
limitless workflow recent --hours 24 --format json
Research (Online)
research docs -t "query" -k "framework" --format json
research fact-check -t "claim" --format json
research pex-grounding -t "medical query" --format json
Pieces (Local)
pieces ask "query" --ltm
pieces search --mode ncs "pattern"
Integration
- Skill:
skill-db/context-orchestrator/SKILL.md - Rules:
rules/context/*.md - Subagents:
skill-db/context-orchestrator/agents/*.md - Commands:
skill-db/context-orchestrator/commands/*.md - Also listed in:
skills/routers/skills-router/SKILL.md(Context Skills category) - Hooks:
hooks/context-intent-detector.ts,hooks/session-context-primer.sh
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