Skip to content
Back to skills

Context Router

ASecurity

Use when choosing which repository instructions, architecture, domain knowledge, files, tests, or deep guidance to load for a task without reading everything.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 6, 2026
ai-agents

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add ihabkhaled/AI-Psychiatry --skill context-router --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Context Router?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Context Router
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ihabkhaled-context-router/badge)](https://www.skillsdirectory.com/skills/ihabkhaled-context-router)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: context-router
description: Use when choosing which repository instructions, architecture, domain knowledge, files, tests, or deep guidance to load for a task without reading everything.
---

# Context Router

## Core principle

Load minimal sufficient context in layers: boot, task index, domain, exact rules and files, then deep architecture only when required.

## Procedure

1. Classify the task type and required decision.
2. Load the tiny bootstrap and task index.
3. Select one relevant domain and its test commands.
4. Load exact rules and sources needed for the active work item.
5. Escalate to deep architecture only for a proven dependency.
6. Record the route and avoid duplicate sources.

## Required output

Task type, context layers loaded, canonical sources, and freshness.

## Limits

Ordinary tasks should rarely use deep layer L4.

## Common mistakes

Do not read every AI or architecture document before locating the relevant source.

## Stop condition

Stop when context is sufficient for reliable action and additional reading has no completion value.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.