context-router
БесплатноЗапускает вложенные скриптыНе проверенUniversal query router for all skills' data. Retrieves only relevant data to save tokens.
от Nhqvu2005★ 54 звезды на GitHubОб этом скилле
Context Router — Smart Context Protocol
Purpose
Instead of reading entire data files (hundreds of lines), agents call the Context Router to retrieve only the specific data they need. This dramatically reduces token consumption.
Usage
# Search across ALL skill data files for a keyword:
python .agent/skills/context-router/scripts/context_router.py --query "fintech"
# Search within a specific skill's data:
python .agent/skills/context-router/scripts/context_router.py --skill meta-thinker --query "SCAMPER"
# List all available data sources:
python .agent/skills/context-router/scripts/context_router.py --list
# Get a specific item by ID from a skill:
python .agent/skills/context-router/scripts/context_router.py --skill meta-thinker --source industry_database --id fintech
How It Works
- Agent has a question → calls Context Router with a query.
- Context Router scans the relevant data files (JSON) using keyword matching.
- Returns only matching entries — not the entire file.
- Agent gets focused context → better answers, fewer tokens.
Supported Data Sources
The router automatically discovers all .json files under .agent/skills/*/data/.
When to Use
- Always before reading a raw data file directly.
- When you need specific information from a skill (e.g., "what monetization models fit SaaS?").
- When Leader needs to gather context for a specific domain before delegating.
Integration
All agents should prefer context_router.py --query "..." over reading raw JSON files.
Установить context-router в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл context-router?
Universal query router for all skills' data. Retrieves only relevant data to save tokens.
Как установить скилл context-router?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл context-router запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic