Router Layer
The router layer is a set of specialized skills that automatically discover and delegate to the right skill for a given request. Instead of manually browsing 267 code security skills, you describe what you need and a router selects the best match.
How It Works
- You describe a task (e.g., "secure my Django authentication flow")
- The router reads
skills/_index/skills-index.md— a compact manifest of all 267 code security skills - It filters by category and matches against skill names, tags, descriptions, and triggers
- It selects 1–3 relevant skills and loads them
- If no match is found, it asks clarifying questions
Routers are implemented as .claude/skills/router-*/SKILL.md files. They work in Claude Code, Cursor, and any tool that supports custom skill files.
Available Routers
| Router | Domain | Skills Covered |
|---|---|---|
| router-security | Meta-router | Delegates to AI Security, AppSec, and other domain routers |
| router-backend | Backend frameworks | Django, Flask, Express, Spring Boot, Go, Rust, PHP, Ruby, .NET, Scala, Elixir, GraphQL, gRPC |
| router-frontend | Client-side frameworks | React, Angular, Vue, Svelte, Next.js, TypeScript, HTMX, Flutter |
| router-infrastructure | Infrastructure | AWS, Kubernetes, Docker, Terraform, CI/CD, Nginx, OAuth2/OIDC, serverless |
| router-ai-security | AI security | Agentic AI (ASI 01–10), MCP, RAG pipelines, LangChain, LlamaIndex, CrewAI, AutoGen |
| router-appsec | Application security | OWASP Top 10, input validation, output encoding, authentication, mobile, WebAssembly, embedded/IoT |
Using Routers in Claude Code
Routers are registered as slash commands in Claude Code. Type the router name to activate it:
/router-backend — Find backend framework security skills
/router-frontend — Find client-side framework security skills
/router-infrastructure — Find infrastructure security skills
/router-ai-security — Find AI security skills
/router-security — General security routing (delegates to specialized routers)
The router reads your request, scans the skills index, and applies the most relevant skill(s) to your conversation.
Using Routers in Other Tools
For tools that support custom instruction files (Cursor, Windsurf, Copilot), you can reference router skills directly. Copy the router SKILL.md content into your tool's instruction format, and include the skills/_index/skills-index.md manifest so the router can discover available skills.