Skip to main content

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

  1. You describe a task (e.g., "secure my Django authentication flow")
  2. The router reads skills/_index/skills-index.md — a compact manifest of all 267 code security skills
  3. It filters by category and matches against skill names, tags, descriptions, and triggers
  4. It selects 1–3 relevant skills and loads them
  5. 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

RouterDomainSkills Covered
router-securityMeta-routerDelegates to AI Security, AppSec, and other domain routers
router-backendBackend frameworksDjango, Flask, Express, Spring Boot, Go, Rust, PHP, Ruby, .NET, Scala, Elixir, GraphQL, gRPC
router-frontendClient-side frameworksReact, Angular, Vue, Svelte, Next.js, TypeScript, HTMX, Flutter
router-infrastructureInfrastructureAWS, Kubernetes, Docker, Terraform, CI/CD, Nginx, OAuth2/OIDC, serverless
router-ai-securityAI securityAgentic AI (ASI 01–10), MCP, RAG pipelines, LangChain, LlamaIndex, CrewAI, AutoGen
router-appsecApplication securityOWASP 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.